/* CuriousCats v2 — spec-aligned styles */

/* Design Tokens */
:root {
  --bg:          #0e0b14;
  --surface:     #13101d;
  --border:      #1e1a2a;
  --purple:      #a092e2;
  --purple-dim:  rgba(160, 146, 226, 0.15);
  --white:       #ffffff;
  --white-60:    rgba(255,255,255,0.60);
  --white-30:    rgba(255,255,255,0.30);
  --red:         #e2534a;
  --text-body:   rgba(255,255,255,0.75);
  --radius-card: 14px;
  --radius-pill: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14,11,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
}
.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}
.nav-app-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  /* margin-right: 20px; */
}
.nav-app-icon {
  display: flex;
  align-items: center;
  color: var(--white-60);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-app-icon:hover { color: var(--white); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--white-60);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.desktop-only { display: inline-flex; }
.mobile-only { display: none !important; }
.btn-block-mobile { width: 100%; justify-content: center; }
.btn-nav {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: var(--purple);
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.85; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}
/* Drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 200;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-drawer.open { right: 0; }
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
}
.nav-drawer-links a { font-size: 18px; color: var(--white-60); text-decoration: none; }
.nav-drawer-cta {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--purple);
  border-radius: var(--radius-pill);
  padding: 14px;
  text-decoration: none;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.nav-overlay.open { display: block; }
.nav-drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--white-60);
  font-size: 24px;
  cursor: pointer;
}

/* ── Shared buttons ──────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--purple);
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); transform: translateY(-1px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cc-hero-ctas-mobile { display: none; }

/* Google widget centering in modal */
.g_id_signin { margin-bottom: 20px; }
.g_id_signin > div { margin: 0 auto; }

/* ── Section shared ──────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.section-subline {
  font-size: 16px;
  color: var(--white-60);
  line-height: 1.65;
  max-width: 540px;
}

/* ── F1 Hero ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 24px;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.04;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-subline {
  font-size: 18px;
  color: var(--white-60);
  line-height: 1.3;
  max-width: 480px;
  margin-bottom: 40px;
}

/* Hero reveal animations */
.hero-eyebrow, .hero-headline, .hero-subline, .hero .cta-row {
  opacity: 0;
  transform: translateY(24px);
}
.hero-eyebrow.revealed  { animation: fadeUp 0.6s ease-out 0ms   forwards; }
.hero-headline.revealed { animation: fadeUp 0.6s ease-out 100ms forwards; }
.hero-subline.revealed  { animation: fadeUp 0.6s ease-out 200ms forwards; }
.hero .cta-row.revealed { animation: fadeUp 0.6s ease-out 300ms forwards; }

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
}
.hero-visual.revealed {
  animation: phoneReveal 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.15s forwards;
}
@keyframes phoneReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.45));
}

/* ── F2 Pipeline ─────────────────────────────── */
.pipeline-section { padding: 100px 24px; }
.pipeline-header { text-align: center; margin-bottom: 64px; }
.pipeline-header .section-subline { margin: 0 auto; text-align: center; }

/* 9-col horizontal grid: node · conn · node · conn · node · conn · node · conn · node */
.pipeline-diagram {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: center;
  margin-bottom: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pipeline-node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pipeline-node.revealed { opacity: 1; transform: translateY(0); }
.pipeline-node.input-node {
  border-color: rgba(160,146,226,0.5);
  box-shadow: 0 0 24px rgba(160,146,226,0.12);
}
.pipeline-node.input-node.pulse { animation: nodePulse 0.3s ease-out; }
@keyframes nodePulse {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(0) scale(1.025); }
  100% { transform: translateY(0) scale(1); }
}

.node-chip {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-dim);
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 12px;
}
.node-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  color: var(--white);
  display: block;
}
.system-node .node-icon { opacity: 0.55; }
.node-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.node-subtitle { font-size: 12px; color: var(--white-60); line-height: 1.5; }

/* Connector */
.connector-cell {
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.connector-cell.revealed { opacity: 1; }

.connector-track {
  position: relative;
  width: 100%;
  height: 1px;
}
.connector-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    currentColor 4px,
    currentColor 8px
  );
}
.connector-track.purple::before { color: rgba(160,146,226,0.55); }
.connector-track.white::before  { color: rgba(255,255,255,0.18); }

.connector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  animation: flowDot 1.8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
}
.connector-dot.white-dot { background: rgba(255,255,255,0.45); }
.connector-dot.active    { opacity: 1; }

@keyframes flowDot {
  from { left: 0%; }
  to   { left: calc(100% - 6px); }
}

/* Handoff label on the 3→4 connector */
.handoff-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--white-30);
  font-style: italic;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.handoff-label.revealed { opacity: 1; }

/* Stats below diagram */
.pipeline-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pipeline-stat { text-align: center; }
.pipeline-stat-num { font-size: 26px; font-weight: 600; color: var(--white); display: block; }
.pipeline-stat-label { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; display: block; line-height: 1.4; }

/* ── Pipeline ────────────────────────────────── */
.pipe-header {
  text-align: center;
  padding: 0 24px 52px;
  max-width: 700px;
  margin: 0 auto;
}

.np-diagram {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.np-svg {
  position: absolute;
  top: 0; left: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.np-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* Cloud shape (row 3, col 1) */
.np-cloud-wrap {
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.np-cloud-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.np-cloud-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
}
.np-source {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  color: var(--white-60);
}

.np-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px 10px;
  border-radius: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  position: relative;
  z-index: 1;
}
.np-card.np-revealed { opacity: 1; transform: translateY(0); }

.np-input  { background: var(--surface); border: 1px solid var(--border); }
.np-agent  {
  background: var(--surface);
  border: 1px solid rgba(160,146,226,0.45);
  animation: agentPulse 3.5s ease-in-out infinite;
}
@keyframes agentPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(160,146,226,0); }
  50%       { box-shadow: 0 0 20px rgba(160,146,226,0.2); }
}
.np-output {
  background: rgba(160,146,226,0.1);
  border: 1px solid var(--purple);
  height: 100%;
  justify-content: center;
}

.np-icon {
  width: 20px;
  height: 20px;
  color: var(--white-60);
  flex-shrink: 0;
}
.np-agent .np-icon  { color: var(--purple); }
.np-output .np-icon { color: var(--purple); }

.np-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

/* ── Pipeline pitch ─────────────────────────── */
.pipe-pitch {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  text-align: center;
}
.pipe-pitch-text {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: var(--white-60);
  font-family: 'Inter', sans-serif;
}
.pipe-pitch-text em {
  font-style: italic;
  color: var(--purple);
  font-family: 'Instrument Serif', serif;
}

/* ── F3 Before / After ───────────────────────── */
.before-after-section { }

.ba-section-header {
  padding: 100px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.ba-slide {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-image-pane {
  /* background: var(--surface); */
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.ba-image-pane img {
    /* max-width: 400px;
    max-height: 400px; */
    object-fit: cover;
}

.ba-image-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.15);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

/* ── Single image */
.ba-img-link {
  display: block;
  /* width: 100%;
  height: 100%; */
  text-decoration: none;
}
.ba-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Carousel */
.ba-carousel {
  /* position: absolute; */
  inset: 0;
  overflow: hidden;
  
}
.ba-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.ba-carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}
.ba-carousel-img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.ba-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}
.ba-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: #4b2d4b;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ba-dot-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  height: 100%;
  background: #ee05ee;
  border-radius: 2px;
}
.ba-dot.active .ba-dot-fill {
  animation: dotFill 4s linear forwards;
}
.ba-dot.done .ba-dot-fill { width: 100%; }
@keyframes dotFill {
  from { width: 0%; }
  to   { width: 100%; }
}

.ba-content-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 72px;
  position: relative;
  max-width: 600px;
}

.ba-num-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white-30);
  margin-bottom: 12px;
}
.ba-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
}
.ba-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ba-section-title--before {
  color: rgba(255,255,255,0.35);
}
.ba-section-title--after {
  color: var(--purple);
}
.ba-before {
  font-size: 15px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin-bottom: 0;
}
.ba-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.ba-after {
  font-size: 15px;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 0;
}
.ba-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin-top: 28px;
  padding-left: 16px;
  border-left: 2px solid var(--purple);
  line-height: 1.5;
}
.ba-attribution {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--white-30);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ── F4 Numbers ──────────────────────────────── */
.numbers-section { padding: 80px 24px; background: var(--bg); }
.numbers-grid {
  display: flex;
  max-width: 860px;
  margin: 0 auto 28px;
}
.number-item {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.number-item:last-child { border-right: none; }
.number-val {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 52px);
  color: var(--white);
  line-height: 1;
  display: block;
}
.number-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  line-height: 1.4;
}
.numbers-footnote {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
}

/* ── F5 Spotlights ───────────────────────────── */
.spotlights-section { padding: 100px 24px; }
.spotlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.spotlight-card {
  background: linear-gradient(135deg, #13101d 0%, #1a1428 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s, box-shadow 0.2s;
}
.spotlight-card.revealed { opacity: 1; transform: translateY(0); }
.spotlight-card:hover {
  border-color: rgba(160,146,226,0.3);
  box-shadow: 0 4px 32px rgba(160,146,226,0.08);
}
.spotlight-icon { width: 32px; height: 32px; color: var(--purple); }
.spotlight-title { font-size: 22px; font-weight: 600; color: var(--white); }
.spotlight-body { font-size: 14px; color: var(--white-60); line-height: 1.7; flex: 1; }
.spotlight-tags { font-size: 11px; color: rgba(255,255,255,0.32); letter-spacing: 0.03em; }
.spotlight-cta {
  font-size: 13px;
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.spotlight-cta:hover { gap: 8px; }

/* ── F6 Download CTA ─────────────────────────── */
.download-section {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(160,146,226,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.download-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 6vw, 52px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}
.download-subline {
  font-size: 17px;
  color: var(--white-60);
  margin-bottom: 40px;
  position: relative;
}
.download-section .cta-row { justify-content: center; position: relative; }

/* ── Country strip ───────────────────────────── */
.cc-countries {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  /* gap: 6px 12px; */
  margin-top: 20px;
  /* justify-content: center; */
}
.cc-countries-center {
  justify-content: center;
  margin-top: 28px;
  position: relative;
}
.cc-countries-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-right: 4px;
}
.cc-country {
  font-size: 13px;
  color: var(--white-60);
  /* background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); */
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ── Footer ──────────────────────────────────── */
.footer { padding: 60px 24px 32px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-logo { font-family: 'Instrument Serif', serif; font-size: 20px; color: var(--white); margin-bottom: 8px; }
.footer-tagline { font-size: 14px; color: var(--white-30); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--white-60); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bar {
  max-width: 1200px;
  margin: 24px auto 0;
  font-size: 13px;
  color: var(--white-30);
  text-align: center;
}

/* ── Auth Modal ──────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  width: min(440px, 92vw);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--white-60);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.modal-title { font-family: 'Instrument Serif', serif; font-size: 26px; color: var(--white); margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: var(--white-60); margin-bottom: 28px; }
.modal-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 13px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}
.modal-google-btn:hover { background: rgba(255,255,255,0.12); }
.modal-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.modal-divider hr { flex: 1; border: none; border-top: 1px solid var(--border); }
.modal-divider span { font-size: 12px; color: var(--white-30); }
.modal-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--white);
  outline: none;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}
.modal-input::placeholder { color: rgba(255,255,255,0.28); }
.modal-input:focus { border-color: rgba(160,146,226,0.5); }
.modal-submit {
  width: 100%;
  background: var(--purple);
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: 'Inter', sans-serif;
}
.modal-submit:hover { opacity: 0.88; }
.modal-error { font-size: 13px; color: var(--red); margin-top: -8px; margin-bottom: 10px; min-height: 18px; }
.modal-back-btn {
  background: none;
  border: none;
  color: var(--purple);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  display: block;
}
.form-hidden { display: none !important; }

/* Toast */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 14px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 999;
  white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Light / Dark alternating sections ──────── */

/* Hero — LIGHT */
.hero {
  background: linear-gradient(135deg, #F9F8F5 0%, #FFFFFF 60%);
}
.hero .hero-eyebrow { color: #6c5fc7; }
.hero .hero-headline { color: #0d0b18; }
.hero .hero-subline { color: rgba(13,11,24,0.58); }
.hero .btn-ghost {
  color: #0d0b18;
  border-color: rgba(13,11,24,0.22);
}
.hero .btn-ghost:hover { border-color: rgba(13,11,24,0.55); }
.hero .cc-countries-label { color: rgba(13,11,24,0.38); }
.hero .cc-country { color: rgba(13,11,24,0.65); }
/* .hero .phone-glow removed {
  background: radial-gradient(ellipse at center, rgba(108,95,199,0.1) 0%, transparent 70%);
}

/* Pipeline — dark (inherits body --bg, no override needed) */
.pipeline-section { background: var(--bg); }

/* Before/After — ALTERNATING light/dark per slide */
/* Section header + even slides (1,3,5,7,9) = LIGHT */
.before-after-section { background: none; }
.before-after-section .ba-section-header       { background: #F5F3EF; }

.before-after-section > .ba-slide:nth-child(even) { background: #F5F3EF; }
.before-after-section > .ba-slide:nth-child(even) .ba-section-label    { color: #6c5fc7; }
.before-after-section > .ba-slide:nth-child(even) .section-headline    { color: #0d0b18; }
.before-after-section > .ba-slide:nth-child(even) .ba-image-pane       { border-right-color: rgba(13,11,24,0.08); }
.before-after-section > .ba-slide:nth-child(even) .ba-image-slot       { background: rgba(13,11,24,0.04); border-color: rgba(13,11,24,0.1); color: rgba(13,11,24,0.3); }
.before-after-section > .ba-slide:nth-child(even) .ba-num-label        { color: rgba(13,11,24,0.28); }
.before-after-section > .ba-slide:nth-child(even) .ba-heading          { color: #0d0b18; }
.before-after-section > .ba-slide:nth-child(even) .ba-section-title--before { color: rgba(13,11,24,0.38); }
.before-after-section > .ba-slide:nth-child(even) .ba-section-title--after  { color: #6c5fc7; }
.before-after-section > .ba-slide:nth-child(even) .ba-before           { color: rgba(13,11,24,0.52); }
.before-after-section > .ba-slide:nth-child(even) .ba-divider          { background: rgba(13,11,24,0.1); }
.before-after-section > .ba-slide:nth-child(even) .ba-after            { color: #0d0b18; }
.before-after-section > .ba-slide:nth-child(even) .ba-quote            { color: rgba(13,11,24,0.55); border-left-color: #6c5fc7; }
.before-after-section > .ba-slide:nth-child(even) .ba-attribution      { color: rgba(13,11,24,0.32); }
.before-after-section > .ba-slide:nth-child(even)                      { border-bottom-color: rgba(13,11,24,0.08); }

/* Odd slides (2,4,6,8,10) = DARK */
.before-after-section > .ba-slide:nth-child(odd) { background: #0d0b18; }
.before-after-section > .ba-slide:nth-child(odd) .ba-image-pane        { background: rgba(255,255,255,0.02); border-right-color: var(--border); }
.before-after-section > .ba-slide:nth-child(odd) .ba-image-slot        { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--white-30); }
.before-after-section > .ba-slide:nth-child(odd) .ba-num-label         { color: var(--white-30); }
.before-after-section > .ba-slide:nth-child(odd) .ba-heading           { color: var(--white); }
.before-after-section > .ba-slide:nth-child(odd) .ba-section-title--before { color: rgba(255,255,255,0.35); }
.before-after-section > .ba-slide:nth-child(odd) .ba-section-title--after  { color: var(--purple); }
.before-after-section > .ba-slide:nth-child(odd) .ba-before            { color: var(--white-60); }
.before-after-section > .ba-slide:nth-child(odd) .ba-divider           { background: var(--border); }
.before-after-section > .ba-slide:nth-child(odd) .ba-after             { color: var(--white); }
.before-after-section > .ba-slide:nth-child(odd) .ba-quote             { color: rgba(255,255,255,0.45); border-left-color: var(--purple); }
.before-after-section > .ba-slide:nth-child(odd) .ba-attribution       { color: var(--white-30); }
.before-after-section > .ba-slide:nth-child(odd)                       { border-bottom-color: var(--border); }

/* BA section header text (light bg) */
.before-after-section .section-label  { color: #6c5fc7; }
.before-after-section .section-headline { color: #0d0b18; }

/* Download CTA — dark (inherits body --bg) */
.download-section { background: var(--bg); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 20px 0; gap: 20px; }
  .hero-subline { margin: 0 auto 20px; }
  .hero .cta-row { justify-content: center; }
  .hero-visual { order: -1; }

  /* Vertical pipeline */
  .pipeline-diagram {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
  }
  .connector-cell {
    width: 2px;
    height: 40px;
    margin: 0 auto;
    justify-content: center;
  }
  .connector-track { width: 1px; height: 40px; }
  .connector-track::before {
    background: repeating-linear-gradient(
      180deg,
      transparent,
      transparent 4px,
      currentColor 4px,
      currentColor 8px
    );
  }
  .connector-dot {
    animation: flowDotV 1.8s linear infinite;
    left: 50% !important;
    transform: translateX(-50%);
    top: 0;
  }
  @keyframes flowDotV {
    from { top: 0%; }
    to   { top: calc(100% - 6px); }
  }
  .handoff-label { bottom: auto; top: 50%; right: -108px; left: auto; transform: translateY(-50%); }

  .spotlights-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links, .btn-nav { display: none; }
  .cc-hero-ctas-desktop { display: none; }
  .cc-hero-ctas-mobile { display: flex; opacity: 1 !important; transform: none !important; }
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .btn-block-mobile { width: 100%; justify-content: center; }

  .pipeline-section { padding: 72px 20px; }
  .hero { padding-top: 60px; }
  .ba-section-header { padding: 72px 20px 36px; }

  .ba-slide { grid-template-columns: 1fr; grid-template-rows: 45vh 65vh; height: auto; }
  .ba-image-pane { border-right: none; border-bottom: 1px solid var(--border); }
  .before-after-section > .ba-slide:nth-child(even) .ba-image-pane { border-bottom-color: rgba(13,11,24,0.08); }
  .np-diagram { max-width: 100%; gap: 14px; }
  .ba-content-pane { padding: 28px 24px; justify-content: flex-start; }

  .numbers-grid { flex-wrap: wrap; }
  .number-item { flex: 0 0 50%; }
  .number-item:nth-child(odd)  { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .number-item:nth-child(even) { border-right: none; border-bottom: 1px solid var(--border); }
  .number-item:nth-last-child(-n+2) { border-bottom: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cc-countries { justify-content: center; }
}

/* ── FAQ Section ──────────────────────────────────── */
.faq-section {
  padding: 100px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-inner .section-label { margin-bottom: 8px; }
.faq-inner .section-headline { margin-bottom: 48px; }

.faq-list {
  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 {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary, #f0eeff);
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary, rgba(240,238,255,0.65));
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section { padding: 72px 20px; }
  .faq-question { font-size: 0.9375rem; padding: 18px 0; }
}
