/* =========================================================
   RESET + BASE
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,.12), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(59,130,246,.08), transparent 45%),
    #0a0a0f;
  color: #e5e7eb;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial;
  line-height: 1.8;
}

/* =========================================================
   HEADER — glass + glow
========================================================= */
header {
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}

header a {
  font-size: 1.1rem;
  letter-spacing: .5px;
  position: relative;
}

header a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transition: width .3s ease;
}

header a:hover::after {
  width: 100%;
}

/* =========================================================
   SECTIONS — separação visual forte
========================================================= */
section {
  position: relative;
  padding: 6rem 0;
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(255,255,255,.015),
      transparent
    );
  pointer-events: none;
}

.border-top {
  border-color: rgba(255,255,255,.08) !important;
}

/* =========================================================
   HERO — impacto máximo
========================================================= */
section:first-of-type {
  padding-top: 8rem;
  padding-bottom: 7rem;
}

section:first-of-type span {
  letter-spacing: .35em;
  font-weight: 600;
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(96,165,250,.6);
}

section:first-of-type h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.2;
}

section:first-of-type p {
  max-width: 760px;
  font-size: 1.05rem;
  color: #cbd5f5;
}

/* =========================================================
   TÍTULOS — visual tech
========================================================= */
h1, h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

h2 {
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 55%;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #3b82f6, transparent);
  border-radius: 10px;
}

/* =========================================================
   PARÁGRAFOS + LISTAS
========================================================= */
p {
  color: #c9c9d1;
}

ul {
  padding-left: 1.3rem;
}

ul li {
  margin-bottom: .6rem;
  position: relative;
}

ul li::marker {
  color: #3b82f6;
}

/* =========================================================
   BLOCOS DE COMPARAÇÃO (manual x automatizado)
========================================================= */
section:nth-of-type(2),
section:nth-of-type(3) {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.02),
    rgba(255,255,255,.01)
  );
}

section:nth-of-type(2) .container,
section:nth-of-type(3) .container {
  background: rgba(22,22,29,.75);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

/* =========================================================
   TEMPOS — destaque agressivo
========================================================= */
strong.text-danger,
strong.text-success {
  font-size: 1.15rem;
  padding: .25rem .6rem;
  border-radius: 8px;
}

strong.text-danger {
  background: rgba(239,68,68,.15);
  box-shadow: 0 0 18px rgba(239,68,68,.35);
}

strong.text-success {
  background: rgba(34,197,94,.15);
  box-shadow: 0 0 18px rgba(34,197,94,.35);
}

/* =========================================================
   CTA EXECUTÁVEL — botão absurdo
========================================================= */
.btn-outline-primary {
  --glow: rgba(59,130,246,.6);

  border-radius: 999px;
  padding: .9rem 2.2rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: #fff;
  border: 1px solid rgba(59,130,246,.8);
  background: linear-gradient(
    135deg,
    rgba(59,130,246,.25),
    rgba(59,130,246,.05)
  );
  box-shadow:
    0 0 0 var(--glow),
    inset 0 0 0 rgba(255,255,255,0);
  transition: all .3s ease;
}

.btn-outline-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 35px var(--glow),
    0 20px 60px rgba(0,0,0,.6);
  background: linear-gradient(
    135deg,
    rgba(59,130,246,.45),
    rgba(59,130,246,.2)
  );
}

/* =========================================================
   IMPACTO — seção conceitual
========================================================= */
section:nth-of-type(4) {
  background:
    radial-gradient(circle at 50% 0%, rgba(59,130,246,.15), transparent 55%),
    #0b0b10;
}

section:nth-of-type(4) p {
  font-size: 1.05rem;
}

/* =========================================================
   EXECUÇÃO — instruções
========================================================= */
section:last-of-type ul {
  background: rgba(15,15,20,.8);
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 1.8rem 2rem;
}

/* =========================================================
   FOOTER — clean + tech
========================================================= */
footer {
  background: linear-gradient(180deg, #0a0a0f, #050507);
}

footer span {
  color: #9ca3af;
  letter-spacing: .3px;
}

/* =========================================================
   ANIMAÇÕES SUAVES
========================================================= */
section,
header,
footer {
  animation: fadeUp .7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVO
========================================================= */
@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }

  section:nth-of-type(2) .container,
  section:nth-of-type(3) .container {
    padding: 2rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }

  section:first-of-type {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  h1, h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  .btn-outline-primary {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }

  strong.text-danger,
  strong.text-success {
    font-size: 1rem;
  }
}
