/* ============================================================
   Chat Meu Negócio — Design System
   Primary: #2563EB | CTA: #F97316 | BG: #F8FAFC | Text: #1E293B
   Fonts: Space Grotesk (headings) + DM Sans (body)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1E293B;
  background: #F8FAFC;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ---------- Tokens ---------- */
:root {
  --blue:       #2563EB;
  --blue-dark:  #1D4ED8;
  --blue-light: #3B82F6;
  --blue-muted: rgba(37,99,235,.12);
  --orange:     #F97316;
  --orange-dark:#EA6C0A;
  --green:      #22C55E;
  --bg:         #F8FAFC;
  --bg-2:       #F1F5F9;
  --text:       #1E293B;
  --text-muted: #64748B;
  --border:     #E2E8F0;
  --white:      #FFFFFF;
  --dark:       #0F172A;
  --dark-2:     #1E293B;
  --dark-3:     #334155;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.06);
  --shadow:     0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg:  0 12px 40px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.25);

  --nav-h:      68px;
  --container:  1200px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px)  { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 48px; } }

/* ---------- Utility ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .9375rem;
  border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 24px;
  box-shadow: 0 4px 18px rgba(249,115,22,.35);
}

.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(249,115,22,.45);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(249,115,22,.3);
}

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,.18);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.btn--lg {
  font-size: 1rem;
  padding: 16px 28px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s ease;
}

.nav.scrolled {
  background: rgba(15,23,42,.97);
}

.nav__inner {
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (min-width: 768px)  { .nav__inner { padding-inline: 32px; } }
@media (min-width: 1024px) { .nav__inner { padding-inline: 48px; } }

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
}

.logo-accent {
  color: var(--orange);
}

/* Links */
.nav__links {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 860px) { .nav__links { display: flex; } }

.nav__link {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
}

.nav__cta {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  color: var(--white);
  background: var(--blue);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, transform .15s ease;
}

.nav__cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.nav__cta:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: background .15s;
}

.nav__hamburger:hover { background: rgba(255,255,255,.08); }
.nav__hamburger:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (min-width: 860px) { .nav__hamburger { display: none; } }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(15,23,42,.98);
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .15s;
}

.nav__mobile-link:hover { color: var(--white); }

.nav__mobile-cta {
  display: inline-flex;
  justify-content: center;
  margin-top: 16px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius);
  transition: background .15s;
}

.nav__mobile-cta:hover { background: var(--orange-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  overflow: hidden;
}

/* Background elements */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,.6) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero__glow--2 {
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,.4) 0%, transparent 70%);
  bottom: 100px;
  right: -60px;
}

/* Hero inner */
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.35);
  color: #93C5FD;
  font-size: .8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge__dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.2); }
}

.hero__heading {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 720px;
  margin-inline: auto;
  text-wrap: balance;
}

.hero__highlight {
  color: var(--orange);
}

.hero__br { display: none; }
@media (min-width: 640px) { .hero__br { display: inline; } }

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media (min-width: 540px) {
  .hero__trust {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}

.trust-sep {
  display: none;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.18);
}

@media (min-width: 540px) { .trust-sep { display: block; } }

/* Chat Demo */
.hero__demo {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.chat-demo {
  background: #1A2744;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-blue), 0 2px 0 rgba(255,255,255,.06) inset;
}

.chat-demo__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.chat-demo__dots {
  display: flex;
  gap: 6px;
}

.chat-demo__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}

.chat-demo__dots span:first-child { background: #FF5F57; }
.chat-demo__dots span:nth-child(2) { background: #FFBD2E; }
.chat-demo__dots span:last-child { background: #27C93F; }

.chat-demo__label {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  margin: 0 auto;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .04em;
}

.chat-demo__body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg {
  font-size: .875rem;
  line-height: 1.55;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  max-width: 78%;
}

.chat-msg--ai {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-msg__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.6);
}

.chat-msg__content {
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  flex: 1;
}

.chat-result {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-result__item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.chat-result__item--highlight {
  border-color: rgba(37,99,235,.5);
  background: rgba(37,99,235,.12);
  position: relative;
}

.chat-result__name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.chat-result__meta {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}

.chat-demo__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 500;
  color: #4ADE80;
  align-self: flex-start;
  margin-top: 4px;
}

/* ============================================================
   ANALOGY
   ============================================================ */
.analogy {
  padding: 96px 0;
  background: var(--white);
}

.compare {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .compare {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
}

.compare__card {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.compare__card--new {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(37,99,235,.04) 0%, rgba(59,130,246,.02) 100%);
  box-shadow: 0 0 0 1px rgba(37,99,235,.2), var(--shadow);
}

.compare__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .04em;
}

.compare__icon {
  width: 52px;
  height: 52px;
  background: var(--bg-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.compare__icon--new {
  background: var(--blue-muted);
  color: var(--blue);
}

.compare__platform {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.compare__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .9375rem;
  color: var(--text-muted);
}

.compare__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

.compare__status {
  font-size: .8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
}

.compare__status--done {
  background: var(--bg-2);
  color: var(--text-muted);
}

.compare__status--new {
  background: var(--orange);
  color: var(--white);
}

.compare__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  color: var(--text-muted);
}

@media (max-width: 639px) {
  .compare__arrow {
    flex-direction: row;
    padding: 0;
  }

  .compare__arrow svg {
    transform: rotate(90deg);
  }
}

.compare__arrow span {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 639px) {
  .compare__arrow span {
    writing-mode: horizontal-tb;
  }
}

/* ============================================================
   BEHAVIOR
   ============================================================ */
.behavior {
  padding: 96px 0;
  background: var(--bg);
}

.behavior__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card__label {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.queries {
  text-align: center;
}

.queries__label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.queries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.query-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .875rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}

.query-chip:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-muted);
}

.queries__question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: var(--text);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 96px 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  counter-reset: steps;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
}

.step {
  display: flex;
  gap: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  transition: background .15s;
}

.step:hover { background: var(--white); }

@media (min-width: 768px) {
  .step:nth-child(1) { border-radius: var(--radius-lg) 0 0 0; }
  .step:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .step:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
  .step:nth-child(4) { border-radius: 0 0 var(--radius-lg) 0; }
}

@media (max-width: 767px) {
  .step:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .step:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

.step__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  opacity: .18;
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  text-align: center;
}

.step__title {
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 8px;
}

.step__desc {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   FOR WHO
   ============================================================ */
.for-who {
  padding: 96px 0;
  background: var(--bg);
}

.checks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

@media (min-width: 640px) {
  .checks-grid { grid-template-columns: 1fr 1fr; }
}

.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}

.check-item:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-muted), var(--shadow-sm);
}

.check-item__icon {
  width: 36px;
  height: 36px;
  background: rgba(34,197,94,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.check-item__text {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.55;
  padding-top: 6px;
}

/* Sectors */
.sectors {
  margin-top: 8px;
}

.sectors__label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sectors__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .875rem;
  color: var(--text);
  font-weight: 500;
}

/* ============================================================
   AUTHORITY
   ============================================================ */
.authority {
  padding: 96px 0;
  background: var(--dark);
  color: var(--white);
}

.authority__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .authority__inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.authority .section-label { color: #93C5FD; }
.authority .section-label::before { background: #93C5FD; }

.authority__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--white);
  margin-bottom: 20px;
}

.authority__text {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 16px;
}

.authority__quote {
  margin-top: 32px;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}

.authority__quote p {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.authority__quote cite {
  font-size: .875rem;
  font-style: normal;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

.authority__stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 500px) {
  .authority__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .authority__stats {
    flex-direction: column;
    gap: 16px;
  }
}

.authority__stat {
  flex: 1;
  min-width: 140px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.authority__stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.authority__stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 96px 0;
  background: var(--white);
}

.faq .section-heading { margin-bottom: 48px; }

.faq__list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  gap: 16px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color .15s;
}

.faq__question:hover { color: var(--blue); }

.faq__question:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.faq__icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .2s ease, color .15s;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq__answer {
  padding-bottom: 22px;
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  animation: fadeSlide .2s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   URGENCY
   ============================================================ */
.urgency {
  padding: 96px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1a2744 100%);
  position: relative;
  overflow: hidden;
}

.urgency::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.urgency__inner {
  position: relative;
  max-width: 680px;
  text-align: center;
  margin-inline: auto;
}

.urgency__icon {
  width: 64px;
  height: 64px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93C5FD;
  margin: 0 auto 24px;
}

.urgency__heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--white);
  margin-bottom: 20px;
}

.urgency__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 96px 0 80px;
  background: var(--bg);
}

.cta-final__inner {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}

.cta-final__heading {
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  color: var(--text);
  margin-bottom: 16px;
}

.cta-final__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 44px;
}

/* Form */
.cta-form {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 479px) {
  .cta-form { padding: 28px 20px; }
}

.cta-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.field-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  width: 100%;
  min-height: 52px;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  -webkit-appearance: none;
}

.field-input::placeholder { color: #94A3B8; }

.field-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  background: var(--white);
}

.field-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,.1);
}

.field-error {
  font-size: .8125rem;
  color: #EF4444;
  display: none;
}

.field-error.visible { display: block; }

.cta-form__note {
  text-align: center;
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text--sm { font-size: .9375rem; }
.logo-mark--sm { width: 24px; height: 24px; }

.footer__tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.35);
  line-height: 1.55;
}

.footer__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

@media (max-width: 639px) { .footer__copy { text-align: left; } }

.footer__copy p {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}

.footer__link {
  color: rgba(255,255,255,.5);
  transition: color .15s;
}

.footer__link:hover { color: var(--white); }

/* ============================================================
   LOADING STATE (form submit)
   ============================================================ */
.btn--loading {
  opacity: .8;
  pointer-events: none;
}

.btn--loading svg.spinner {
  animation: spin .6s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
