/* ============================================================
   DMV Enterprise Landing Page — styles.css
   CSS Design Tokens + Base Styles + Background Effects
   ============================================================ */

/* === Section 1: CSS Custom Properties (Design Tokens) === */

:root {
  /* === Colors === */
  --color-primary: #040810;
  --color-bg-end: #0a1020;
  --color-cyan: #00c8ff;
  --color-blue: #1a4fd4;
  --color-purple: #6b3fa0;
  --color-text: #e8ecf4;
  --color-text-secondary: #8a95a8;
  --color-text-muted: #5a6578;
  --color-border: #1a2440;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;

  /* Glow */
  --glow-cyan: 0 0 40px rgba(0, 200, 255, 0.25), 0 0 80px rgba(0, 200, 255, 0.1);

  /* === Typography === */
  --font-headline: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* === Spacing === */
  --section-padding: clamp(60px, 10vw, 140px);
  --container-max: 1200px;
  --container-padding: clamp(16px, 4vw, 40px);

  /* === Navbar === */
  --navbar-height: 72px;

  /* === Transitions === */
  --transition-fast: 0.2s ease;
  --transition-default: 0.3s ease;
  --transition-slow: 0.5s ease;
}


/* === Section 2: CSS Reset and Base Styles === */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-bg-end) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}


/* === Section 3: Container and Section Layout === */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 1;
}

section[id] {
  scroll-margin-top: calc(var(--navbar-height) + 20px);
}


/* === Section 4: Background Effects (Gradient Blobs) === */

.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob-cyan {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.15) 0%, transparent 70%);
  filter: blur(100px);
  border-radius: 50%;
}

.blob-blue {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 79, 212, 0.12) 0%, transparent 70%);
  filter: blur(120px);
  border-radius: 50%;
}

.blob-purple {
  position: absolute;
  bottom: 10%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107, 63, 160, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
}


/* === Section 5: Starfield === */

/* Layer 1: ~40 small stars (1px dots) */
.background-effects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 3% 7%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 8% 42%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 12% 68%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 15% 23%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 19% 85%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 22% 14%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 26% 53%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 29% 91%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 33% 36%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 37% 72%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 41% 5%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 44% 48%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 47% 79%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 51% 17%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 54% 62%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 57% 94%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 60% 31%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 64% 56%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 67% 83%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 71% 11%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 74% 44%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 77% 76%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 27%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 83% 59%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 86% 88%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 89% 15%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 92% 47%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 95% 73%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 98% 34%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 6% 97%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 17% 55%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 24% 3%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 35% 89%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 43% 21%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 52% 67%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 63% 9%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 72% 38%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 81% 95%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 91% 61%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 48% 2%, rgba(255,255,255,0.5), transparent);
  background-size: 250px 250px;
  opacity: 0.5;
  z-index: 0;
}

/* Layer 2: ~25 slightly larger stars (1.5px dots) */
.background-effects::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1.5px 1.5px at 5% 18%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 11% 52%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 16% 81%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 21% 33%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 27% 67%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 32% 12%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 38% 45%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 43% 78%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 49% 24%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 55% 56%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 61% 89%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 66% 8%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 72% 41%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 78% 73%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 83% 19%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 88% 54%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 93% 86%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 97% 37%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 9% 93%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 25% 4%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 36% 62%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 53% 95%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 68% 29%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 85% 71%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 46% 48%, rgba(255,255,255,0.4), transparent);
  background-size: 350px 350px;
  opacity: 0.35;
  z-index: 0;
}


/* === Section 6: Section Title Placeholder Styles === */

.section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
}


/* === Section 7: Accessibility Focus States === */

a:focus-visible,
button:focus-visible,
.faq-btn:focus-visible,
.lang-btn:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}


/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition-default),
              border-color var(--transition-default),
              box-shadow var(--transition-default);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
}

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

.navbar-logo-text {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.navbar-logo-sub {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--color-cyan);
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-text);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* === Navbar Scrolled State (Glassmorphism) === */

.navbar.scrolled {
  background: rgba(4, 8, 16, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}


/* === Language Toggle === */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  min-height: 32px; /* pragmatic minimum — parent navbar (72px) provides full implicit tap area */
  border-radius: 4px;
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.05em;
}

.lang-btn:hover {
  color: var(--color-text-secondary);
}

.lang-btn.active {
  color: var(--color-cyan);
  background: rgba(0, 200, 255, 0.1);
}


/* === Navbar CTA Button === */

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--color-cyan);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: box-shadow var(--transition-default), transform var(--transition-fast);
  white-space: nowrap;
}

.btn-cta-nav:hover {
  color: var(--color-primary);
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}


/* === Hamburger Icon === */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-default), opacity var(--transition-default);
}

/* Hamburger -> X animation when drawer is open */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* === Mobile Responsive (below 768px) === */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: rgba(4, 8, 16, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--navbar-height) + 32px) 32px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-default);
    z-index: 999;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-actions {
    gap: 12px;
  }

  .btn-cta-nav {
    display: none;
  }

  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-default), visibility var(--transition-default);
    z-index: 998;
  }

  .drawer-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
}


/* === Desktop drawer overlay hidden === */

@media (min-width: 769px) {
  .drawer-overlay {
    display: none;
  }
}


/* === Hero Section === */

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 60px;
}


/* ============================================
   HERO SECTION
   ============================================ */

/* --- Hero Grid: 60/40 asymmetric layout (HERO-01) --- */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 48px;
  align-items: center;
}

/* --- Hero Content (left column) --- */

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

/* --- Badge (HERO-02) --- */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
  letter-spacing: 0.02em;
}

/* --- Headline (HERO-03) --- */

.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
}

/* --- Sub-headline (HERO-04) --- */

.hero-subheadline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0;
}

/* --- CTAs container (HERO-05, HERO-06) --- */

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* --- Primary CTA button with glow (HERO-05) --- */

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--color-cyan);
  color: var(--color-primary);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.3), 0 0 60px rgba(0, 200, 255, 0.1);
  transition: box-shadow var(--transition-default), transform var(--transition-fast);
  animation: cta-pulse 2.5s ease-in-out infinite;
}

.btn-cta-hero:hover {
  color: var(--color-primary);
  box-shadow: 0 0 50px rgba(0, 200, 255, 0.5), 0 0 100px rgba(0, 200, 255, 0.2);
  transform: translateY(-2px);
}

@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* --- Secondary CTA link (HERO-06) --- */

.hero-cta-secondary {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-cta-secondary:hover {
  color: var(--color-cyan);
}

/* --- Logo visual with atmospheric glow (HERO-07) --- */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.2) 0%, rgba(0, 200, 255, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(0, 200, 255, 0.15), 0 0 120px rgba(0, 200, 255, 0.05);
}

/* --- Guarantee seal (HERO-08) --- */

.hero-seal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 8px;
}

.hero-seal-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.hero-seal-item svg {
  flex-shrink: 0;
}

/* --- Hero responsive (HERO-09) --- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 0.5fr;
    gap: 32px;
  }

  .hero-logo-img {
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subheadline {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    order: 1;
  }

  .hero-content {
    order: 0;
  }

  .hero-logo-img {
    max-width: 220px;
  }

  .hero-seal {
    justify-content: center;
  }

  .btn-cta-hero {
    width: 100%;
    max-width: 320px;
    padding: 18px 32px;
  }
}

@media (max-width: 375px) {
  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-seal {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}


/* ============================================
   FLOATING WHATSAPP BUTTON (CTA-04, CTA-05)
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 211, 102, 0.3);
  transition: box-shadow var(--transition-default), transform var(--transition-fast);
  animation: whatsapp-pulse 2s ease-in-out infinite;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  flex-shrink: 0;
}

/* --- Pulse animation (ring shadow expanding) --- */

@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 211, 102, 0.3);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 28px rgba(37, 211, 102, 0.4);
  }
}

/* --- Tooltip on hover (CTA-05) --- */

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(4, 8, 16, 0.9);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  border: 1px solid var(--glass-border);
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(4, 8, 16, 0.9);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

/* --- Mobile adjustments --- */

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}


/* ============================================
   MARKET DATA SECTION — "Por que IA?" (MARKET-01 through MARKET-07, ANIM-05)
   ============================================ */

/* --- Section badge (matches hero badge style) --- */

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* --- Section title and subtitle (MARKET-01) --- */

.section-why-ai {
  text-align: center;
}

.section-why-ai .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-ai-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 700px;
}

.why-ai-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* --- Stats grid (MARKET-02, MARKET-07) --- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 56px;
}

/* --- Individual stat card (MARKET-02) --- */

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition-default), box-shadow var(--transition-default), transform var(--transition-default);
}

.stat-card:hover {
  border-color: rgba(0, 200, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.08);
  transform: translateY(-4px);
}

/* --- Stat number: large cyan JetBrains Mono (MARKET-02) --- */

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

/* --- Stat description --- */

.stat-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* --- Stat source: discrete citation (MARKET-02) --- */

.stat-source {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* --- Transition phrase + CTA (MARKET-05, MARKET-06) --- */

.market-transition {
  text-align: center;
  max-width: 700px;
}

.transition-phrase {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.btn-cta-market {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--color-cyan);
  color: var(--color-primary);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.3), 0 0 60px rgba(0, 200, 255, 0.1);
  transition: box-shadow var(--transition-default), transform 0.2s ease;
}

.btn-cta-market:hover {
  color: var(--color-primary);
  box-shadow: 0 0 50px rgba(0, 200, 255, 0.5), 0 0 100px rgba(0, 200, 255, 0.2);
  transform: translateY(-2px);
}

/* --- Responsive: tablet 768px (2-column grid) --- */

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* --- Responsive: mobile (single column stack) --- */

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
  }

  .stat-card {
    padding: 24px 20px;
  }

  .why-ai-subtitle {
    margin-bottom: 32px;
  }

  .market-transition {
    max-width: 100%;
  }

  .btn-cta-market {
    width: 100%;
    max-width: 100%;
    padding: 18px 24px;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .stat-number {
    font-size: 2.2rem;
  }
}

/* ============================================
   PAIN POINTS SECTION — "Isso e familiar?" (PAIN-01 through PAIN-04)
   ============================================ */

/* --- Section background gradient shift (PAIN-01) ---
   A subtle shift from the main page background to create visual separation.
   Uses a ::before pseudo-element with a different radial-gradient overlay. */

.section-pain-points {
  position: relative;
  text-align: center;
}

.section-pain-points::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 50%, rgba(107, 63, 160, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0, 200, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section-pain-points .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Section title --- */

.section-pain-points h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* --- Pain points 2x2 grid (PAIN-02) --- */

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-bottom: 48px;
}

/* --- Individual pain card --- */

.pain-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  transition: border-color var(--transition-default), box-shadow var(--transition-default), transform var(--transition-default);
}

.pain-card:hover {
  border-color: rgba(0, 200, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.06);
  transform: translateY(-4px);
}

/* --- Pain icon --- */

.pain-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 200, 255, 0.08);
  border-radius: 12px;
  color: var(--color-cyan);
}

.pain-icon svg {
  width: 22px;
  height: 22px;
}

/* --- Pain text --- */

.pain-text {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
  padding-top: 10px;
}

/* --- Transition phrase (PAIN-04) --- */

.pain-transition {
  text-align: center;
  max-width: 700px;
}

.pain-transition-text {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
}

/* --- Responsive: mobile stack (PAIN-02) --- */

@media (max-width: 768px) {
  .pain-points-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
  }

  .section-pain-points h2 {
    margin-bottom: 32px;
  }

  .pain-card {
    padding: 20px 18px;
  }
}

@media (max-width: 375px) {
  .pain-text {
    font-size: 0.88rem;
  }
}

/* ============================================
   SERVICES SECTION — "Solucoes sob medida" (SERV-01 through SERV-05)
   ============================================ */

.section-services {
  text-align: center;
}

.section-services .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Section title (SERV-01) --- */

.section-services h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.services-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin: 0 0 48px 0;
}

/* --- Bento grid: asymmetric layout (SERV-02) ---
   4-column grid. Cards 1-2 (service-card-lg) span 2 cols each = full row.
   Cards 3-6 each span 1 col = second row of 4 items.
   This avoids the generic 3x2 grid per user decision. */

.services-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

.service-card-lg {
  grid-column: span 2;
}

/* --- Service card: glassmorphism (SERV-04) --- */

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 20px;
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition-default),
              box-shadow var(--transition-default),
              transform var(--transition-default);
}

/* --- Hover: cyan border + translate-y + glow (SERV-05) --- */

.service-card:hover {
  border-color: rgba(0, 200, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

/* --- Service icon --- */

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 200, 255, 0.08);
  border-radius: 14px;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

/* --- Service title --- */

.service-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}

/* --- Service description --- */

.service-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive: tablet — 2 columns (SERV-02) --- */

@media (max-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card-lg {
    grid-column: span 1;
  }
}

/* --- Responsive: mobile — single column --- */

@media (max-width: 768px) {
  .services-bento {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
  }

  .services-subtitle {
    margin-bottom: 32px;
  }

  .service-card {
    padding: 24px 20px;
  }
}

@media (max-width: 375px) {
  .service-title {
    font-size: 1rem;
  }

  .service-desc {
    font-size: 0.85rem;
  }
}

/* ============================================
   HOW IT WORKS SECTION — "Simples assim" (PROC-01 through PROC-06)
   ============================================ */

/* --- Section wrapper --- */

.section-how-it-works {
  position: relative;
  text-align: center;
}

/* --- Section header --- */

.how-header {
  margin-bottom: 64px;
}

.section-how-it-works h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.how-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- 3-column horizontal steps layout (PROC-01) --- */

.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 56px;
  align-items: start;
}

/* --- Individual step card --- */

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}

/* --- Connector line between steps (PROC-02)
   Uses ::after on each step card except the last.
   The line starts at the center-right of step 1 and ends at center-left of step 2.
   Positioned at the level of the step icon (top ~80px from start of card). --- */

.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 72px;
  right: -16px;
  width: calc(100% - 48px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 200, 255, 0.5) 0%,
    rgba(0, 200, 255, 0.15) 50%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* --- Step number: large cyan JetBrains Mono (PROC-03) --- */

.step-number {
  font-family: var(--font-mono);
  font-size: clamp(48px, 5vw, 56px);
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  opacity: 0.9;
}

/* --- Step icon container --- */

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.15);
  border-radius: 18px;
  color: var(--color-cyan);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* --- Step text content (PROC-04) --- */

.step-content {
  text-align: center;
}

.step-title {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- CTA below steps (PROC-06) --- */

.how-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* --- Responsive: tablet — steps still horizontal but tighter --- */

@media (max-width: 1024px) {
  .step-card {
    padding: 0 20px;
  }

  .step-card:not(:last-child)::after {
    right: -12px;
    width: calc(100% - 36px);
  }
}

/* --- Responsive: mobile — vertical timeline (PROC-05) --- */

@media (max-width: 768px) {
  .how-it-works-steps {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Remove horizontal connector line on mobile */
  .step-card:not(:last-child)::after {
    display: none;
  }

  /* Add vertical connector below each step (except last) for timeline effect */
  .step-card:not(:last-child) {
    padding-bottom: 0;
  }

  .step-card:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(100% + 4px);
    transform: translateX(-50%);
    width: 1px;
    height: 36px;
    background: linear-gradient(
      180deg,
      rgba(0, 200, 255, 0.4) 0%,
      transparent 100%
    );
  }

  .step-card {
    padding: 0 16px;
  }

  .step-number {
    font-size: 42px;
    margin-bottom: 16px;
  }

  .how-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 375px) {
  .step-icon {
    width: 56px;
    height: 56px;
  }

  .step-number {
    font-size: 38px;
  }
}

/* ============================================
   DIFFERENTIALS SECTION — "Por que a DMV?" (DIFF-01 through DIFF-03)
   ============================================ */

/* --- Section wrapper --- */

.section-differentials {
  position: relative;
  text-align: center;
}

/* --- Section header --- */

.diff-header {
  margin-bottom: 56px;
}

.section-differentials h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.diff-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- 2x2 differentials grid (DIFF-01) --- */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Individual differential card: glassmorphism (DIFF-03) --- */

.diff-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  transition: border-color var(--transition-default),
              box-shadow var(--transition-default),
              transform var(--transition-default);
}

.diff-card:hover {
  border-color: rgba(0, 200, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

/* --- Icon container: 48px left-aligned (DIFF-03) --- */

.diff-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.12);
  border-radius: 14px;
  color: var(--color-cyan);
}

/* --- Text body --- */

.diff-body {
  flex: 1;
  min-width: 0;
}

/* --- Differential title: bold (DIFF-03) --- */

.diff-title {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* --- Differential description: ~2 lines --- */

.diff-desc {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.1vw, 0.93rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive: tablet — 2x2 still works, tighter padding --- */

@media (max-width: 1024px) {
  .diff-grid {
    max-width: 720px;
  }

  .diff-card {
    padding: 24px 22px;
  }
}

/* --- Responsive: mobile — single column stack (DIFF-01) --- */

@media (max-width: 768px) {
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 440px;
  }

  .diff-header {
    margin-bottom: 40px;
  }

  .diff-card {
    padding: 22px 18px;
    gap: 16px;
  }
}

@media (max-width: 375px) {
  .diff-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .diff-title {
    font-size: 0.95rem;
  }

  .diff-desc {
    font-size: 0.85rem;
  }
}

/* ===================================================================
   ABOUT SECTION — Phase 06 (ABOUT-01 through ABOUT-04)
   =================================================================== */

.section-about {
  overflow: hidden;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1000px;
  margin: 0 auto;
}

.about-text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0;
}

.about-mission {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.about-mission strong {
  color: var(--color-text);
  font-weight: 600;
}

.about-badge-wrap {
  display: flex;
}

.about-seal-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.about-founders-wrap {
  flex-shrink: 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}

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

.founder-photo-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.15), 0 0 80px rgba(0, 200, 255, 0.07);
}

.founder-photo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
  border: 2px solid rgba(0, 200, 255, 0.2);
}

.founder-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cyan);
  letter-spacing: 0.02em;
  text-align: center;
}

/* About — Responsive */
@media (max-width: 768px) {
  .about-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 32px;
  }

  .about-badge-wrap {
    justify-content: center;
  }

  .about-founders-wrap {
    gap: 16px;
  }

  .founder-photo {
    width: 90px;
    height: 90px;
  }
}

/* ===================================================================
   FAQ SECTION — Phase 06 (FAQ-01 through FAQ-05)
   =================================================================== */

.section-faq {
  position: relative;
  z-index: 1;
}

.faq-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.faq-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
}

.faq-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-secondary);
  margin: 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition-default);
}

.faq-item:hover {
  border-color: rgba(0, 200, 255, 0.2);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  min-height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.15);
  color: var(--color-cyan);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--transition-default), background var(--transition-default);
  user-select: none;
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: rgba(0, 200, 255, 0.15);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer.open {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer-inner p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* FAQ — Responsive */
@media (max-width: 768px) {
  .faq-btn {
    padding: 16px 18px;
  }

  .faq-answer-inner {
    padding: 0 18px 16px;
  }

  .faq-question {
    font-size: 0.95rem;
  }
}

/* ============================================================
   FINAL CTA SECTION (CTA-01 through CTA-03)
   ============================================================ */

.section-cta-final {
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* --- Dramatic cyan background blob (CTA-02) --- */

.cta-final-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.22) 0%, rgba(0, 200, 255, 0.08) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* --- Large headline (CTA-01) --- */

.cta-final-headline {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 720px;
  margin: 0;
}

.cta-final-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text-secondary);
  max-width: 500px;
  line-height: 1.6;
  margin: 0;
}

/* --- Oversized WhatsApp button with max glow (CTA-01) --- */
/* NOTE: larger than btn-cta-hero (16px/32px); cta-pulse keyframes already defined */

.btn-cta-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 52px;
  background: var(--color-cyan);
  color: var(--color-primary);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  border-radius: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-width: 320px;
  box-shadow:
    0 0 40px rgba(0, 200, 255, 0.5),
    0 0 80px rgba(0, 200, 255, 0.25),
    0 0 160px rgba(0, 200, 255, 0.1);
  transition: box-shadow var(--transition-default), transform var(--transition-fast);
  animation: cta-pulse 2.5s ease-in-out infinite;
}

.btn-cta-final:hover {
  color: var(--color-primary);
  box-shadow:
    0 0 60px rgba(0, 200, 255, 0.65),
    0 0 120px rgba(0, 200, 255, 0.35),
    0 0 200px rgba(0, 200, 255, 0.15);
  transform: translateY(-3px) scale(1.02);
}

/* --- Reinforcement badges (CTA-03) --- */

.cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.cta-badge-item svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-final-blob {
    width: 500px;
    height: 500px;
  }
  .btn-cta-final {
    padding: 18px 36px;
    min-width: 0;
    width: 100%;
    max-width: 380px;
    font-size: 1.1rem;
  }
  .cta-badges {
    gap: 16px;
  }
}

@media (max-width: 375px) {
  .cta-final-headline {
    font-size: 1.75rem;
  }
  .cta-badge-item {
    font-size: 0.85rem;
  }
}


/* ============================================================
   FOOTER (FOOT-01, FOOT-02)
   ============================================================ */

.footer {
  padding: 56px 0 0;
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

/* --- 3-column desktop grid (FOOT-01) --- */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo-link {
  display: inline-block;
  width: fit-content;
}

.footer-logo-text {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.footer-logo-sub {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--color-cyan);
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.footer-tagline-brand {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  letter-spacing: 0.02em;
  max-width: 220px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--color-cyan);
}

.footer-whatsapp {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-wa-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 50%;
  transition: background var(--transition-default), box-shadow var(--transition-default), transform var(--transition-fast);
}

.footer-wa-link:hover {
  background: rgba(37, 211, 102, 0.2);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
  transform: scale(1.08);
}

/* --- Bottom bar: copyright (FOOT-02) --- */

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Responsive: tablet --- */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .footer-whatsapp {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
  }
}

/* --- Responsive: mobile — single column (FOOT-01) --- */

@media (max-width: 768px) {
  .footer {
    padding: 48px 0 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    text-align: center;
    gap: 32px;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-logo-link {
    margin: 0 auto;
  }
  .footer-tagline-brand {
    max-width: 280px;
    text-align: center;
  }
  .footer-nav {
    grid-column: unset;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer-whatsapp {
    grid-column: unset;
    grid-row: unset;
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .footer-copy {
    font-size: 0.78rem;
  }
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS (ANIM-01)
   ============================================================ */

/* --- Initial hidden state --- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

/* --- Revealed state: triggered by JS adding .revealed class --- */

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* --- Stagger delays: 100ms per sibling index (nth-child) --- */

.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 200ms; }
.reveal:nth-child(4) { transition-delay: 300ms; }
.reveal:nth-child(5) { transition-delay: 400ms; }
.reveal:nth-child(6) { transition-delay: 500ms; }

/* --- Respect prefers-reduced-motion (PERF-01) --- */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal.revealed {
    transition: none;
  }
}


/* ============================================================
   RESPONSIVE AUDIT FIXES — Phase 7 (RESP-01 through RESP-04)
   ============================================================ */

/* --- Ensure nav links have adequate tap area on mobile (RESP-03) --- */

@media (max-width: 768px) {
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* --- 375px breakpoint: layout legibility (RESP-04) --- */

@media (max-width: 375px) {
  /* Hero visual: constrain logo size on very small screens */
  .hero-logo-img {
    max-width: 200px;
    margin: 0 auto;
  }

  /* CTA final: reduce horizontal padding on very small screens */
  .cta-final-inner {
    padding: 0 16px;
  }
}
