/* ============================================================
   GEODESIA G-1 — FIDDLER-INSPIRED DESIGN SYSTEM
   "Enterprise Control Plane" Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* ── Core palette ── */
  --dark:       #0c0e13;      /* deep hero bg */
  --dark-2:     #111318;
  --dark-card:  #181c24;
  --dark-border: rgba(255,255,255,0.08);
  --dark-border-hover: rgba(255,255,255,0.18);

  --beige:      #f0ede8;      /* light content bg */
  --beige-2:    #e8e4dd;
  --beige-card: #ffffff;

  --ink:        #0f1117;      /* dark text on light bg */
  --ink-2:      #3a3d45;
  --ink-muted:  #72757f;

  --light:      #f8f6f3;      /* lightest bg */

  /* ── Accents ── */
  --blue:       #106ed7;      /* primary CTA */
  --blue-light: #3b8fe8;
  --blue-pale:  rgba(16,110,215,0.12);

  --teal:       #2dd4bf;
  --green:      #22c55e;
  --amber:      #f59e0b;
  --orange:     #eb8664;      /* fiddler-style warm accent */
  --red:        #ef4444;

  /* ── Light mode text ── */
  --on-light-1: #0f1117;
  --on-light-2: #3a3d45;
  --on-light-3: #72757f;

  /* ── Dark mode text ── */
  --on-dark-1: #f0f2f7;
  --on-dark-2: #9ba3b8;
  --on-dark-3: #5c6378;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
  --shadow-dark: 0 8px 32px rgba(0,0,0,0.5);

  /* ── Layout ── */
  --max-w:      1280px;
  --max-w-text: 760px;
  --pad-x:      clamp(1.25rem, 4vw, 2.5rem);

  /* ── Radius ── */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  24px;
  --r-xl:  40px;
  --r-pill:100px;

  /* ── Spacing scale ── */
  --s-xs:  0.5rem;
  --s-sm:  1rem;
  --s-md:  2rem;
  --s-lg:  4rem;
  --s-xl:  6rem;
  --s-xxl: 10rem;

  /* ── Typography ── */
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ── Transitions ── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  300ms;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font-body); scroll-behavior: smooth; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body { background: var(--dark); color: var(--on-dark-1); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────── */
.heading-display { font-family: var(--font-head); font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.04em; }
.heading-1 { font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.heading-2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.heading-3 { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.body-lg { font-size: 1.15rem; line-height: 1.65; }
.body-md { font-size: 1rem; line-height: 1.6; }
.body-sm { font-size: 0.875rem; line-height: 1.55; }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Layout ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: var(--s-xl) 0; }
.section--sm { padding: var(--s-lg) 0; }
.section--xl { padding: var(--s-xxl) 0; }

/* ── Colors helpers ──────────────────────────────────── */
.bg-dark   { background: var(--dark); color: var(--on-dark-1); }
.bg-dark-2 { background: var(--dark-2); color: var(--on-dark-1); }
.bg-beige  { background: var(--beige); color: var(--on-light-1); }
.bg-light  { background: var(--light); color: var(--on-light-1); }
.bg-white  { background: #fff; color: var(--on-light-1); }

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav.on-dark { background: transparent; }
.nav.on-dark.scrolled {
  background: rgba(12,14,19,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--dark-border);
}
.nav.on-light {
  background: rgba(248,246,243,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: #fff;
  letter-spacing: -0.01em;
  transition: opacity var(--dur);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img { 
  height: 34px; 
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-dark-2);
  transition: color var(--dur);
}
.nav-links a:hover { color: var(--on-dark-1); }
.nav.on-light .nav-links a { color: var(--on-light-2); }
.nav.on-light .nav-links a:hover { color: var(--on-light-1); }
.nav.on-light .nav-logo { color: var(--on-light-1); }
.nav.on-light .nav-logo img { filter: brightness(0); } /* Ensure dark logo on light background */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

/* Primary – blue pill */
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,110,215,0.35); }

/* Secondary – ghost on dark */
.btn-ghost-dark {
  background: transparent;
  color: var(--on-dark-1);
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.04); }

/* Secondary – ghost on light */
.btn-ghost-light {
  background: transparent;
  color: var(--on-light-1);
  border-color: rgba(0,0,0,0.18);
}
.btn-ghost-light:hover { border-color: var(--blue); color: var(--blue); }

/* Nav CTA dark background */
.btn-nav-solid {
  background: var(--on-dark-1);
  color: var(--dark);
  padding: 0.55rem 1.1rem;
  font-size: 0.825rem;
}
.btn-nav-solid:hover { background: #d8dbe8; }

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* ── Hero section ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--dark);
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,14,19,0.15) 0%,
    rgba(12,14,19,0.3) 40%,
    rgba(12,14,19,0.92) 80%,
    var(--dark) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 var(--s-xl);
}

.hero-content h1 { max-width: 820px; margin-bottom: 1.25rem; }
.hero-content .hero-sub {
  font-size: 1.15rem;
  color: var(--on-dark-2);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; align-items: center; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Customer strip inside hero */
.hero-customer-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-customer-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  white-space: nowrap;
}
.customer-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.customer-logo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  font-family: var(--font-head);
  white-space: nowrap;
}

/* ── Trust / Logo bar  (light bg) ────────────────────── */
.logo-bar {
  background: var(--beige);
  border-bottom: 1px solid var(--beige-2);
  padding: 1.75rem 0;
}
.logo-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 1rem 3rem;
  flex-wrap: wrap;
}
.logo-bar-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-light-3);
  white-space: nowrap;
}
.logo-bar-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.logo-bar-logo {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-light-3);
  font-family: var(--font-head);
}

/* ── Section header ──────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section-label--dark { color: var(--teal); }
.section-label--light { color: var(--blue); }
.section-label--orange { color: var(--orange); }

/* ── Tab feature section (dark) ──────────────────────── */
.tab-feature {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.tab-feature-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  min-height: 520px;
}

.tab-panel {
  padding: var(--s-xl) 0 var(--s-xl) 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--dark-border);
  padding-right: var(--s-md);
}

.tab-panel h2 { margin-bottom: var(--s-md); font-size: clamp(1.6rem, 2.5vw, 2.2rem); }

.tab-item {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: none;
  text-align: left;
  width: 100%;
}
.tab-item:hover { background: rgba(255,255,255,0.04); border-color: var(--dark-border); }
.tab-item.active {
  background: rgba(16,110,215,0.1);
  border-color: rgba(16,110,215,0.3);
}

.tab-item-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--on-dark-2);
  margin-bottom: 0.25rem;
  transition: color var(--dur);
}
.tab-item.active .tab-item-title { color: var(--on-dark-1); }
.tab-item-desc {
  font-size: 0.875rem;
  color: var(--on-dark-3);
  line-height: 1.55;
  display: none;
}
.tab-item.active .tab-item-desc { display: block; }

.tab-visual {
  padding: var(--s-xl) 0 var(--s-xl) var(--s-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-pane { display: none; width: 100%; }
.tab-pane.active { display: flex; flex-direction: column; gap: 1rem; }

/* Architecture diagram (dark card) */
.arch-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.arch-flow {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.arch-node {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  transition: border-color var(--dur);
}
.arch-node:hover { border-color: var(--dark-border-hover); }

.arch-node-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.arch-node-icon--blue   { background: rgba(16,110,215,0.2); }
.arch-node-icon--teal   { background: rgba(45,212,191,0.15); }
.arch-node-icon--green  { background: rgba(34,197,94,0.12); }
.arch-node-icon--orange { background: rgba(235,134,100,0.15); }
.arch-node-icon--slate  { background: rgba(255,255,255,0.06); }

.arch-node-text { flex: 1; }
.arch-node-name { font-size: 0.83rem; font-weight: 700; color: var(--on-dark-1); margin-bottom: 1px; }
.arch-node-sub  { font-size: 0.73rem; color: var(--on-dark-3); }

.arch-node-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.arch-node-tag--blue   { background: rgba(16,110,215,0.2); color: #5ba3f5; }
.arch-node-tag--green  { background: rgba(34,197,94,0.15); color: #4ade80; }
.arch-node-tag--teal   { background: rgba(45,212,191,0.15); color: var(--teal); }
.arch-node-tag--orange { background: rgba(235,134,100,0.15); color: var(--orange); }

.arch-arrow {
  width: 1.5px;
  height: 14px;
  background: var(--dark-border);
  margin: 0 auto;
  position: relative;
}
.arch-arrow::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--dark-border);
}

/* ── Light section cards ─────────────────────────────── */
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.card {
  background: var(--beige-card);
  border: 1px solid var(--beige-2);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-dark {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.card-dark:hover { border-color: var(--dark-border-hover); box-shadow: var(--shadow-dark); }

.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.card-icon--blue  { background: var(--blue-pale); }
.card-icon--teal  { background: rgba(45,212,191,0.1); }
.card-icon--green { background: rgba(34,197,94,0.08); }
.card-icon--orange{ background: rgba(235,134,100,0.1); }

.card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.625rem; color: var(--on-light-1); }
.card p { font-size: 0.9rem; color: var(--on-light-2); line-height: 1.6; }

.card-dark h3  { color: var(--on-dark-1); }
.card-dark p   { color: var(--on-dark-2); }

/* Stat pill inside card */
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-top: 1rem;
}
.stat-pill--green { background: rgba(34,197,94,0.1); color: var(--green); }
.stat-pill--blue  { background: rgba(16,110,215,0.1); color: var(--blue); }
.stat-pill--teal  { background: rgba(45,212,191,0.1); color: var(--teal); }

/* ── Big stat section ────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  padding: var(--s-lg) var(--s-md);
  border-right: 1px solid var(--beige-2);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-num--blue   { color: var(--blue); }
.stat-num--teal   { color: var(--teal); }
.stat-num--green  { color: var(--green); }
.stat-label { font-size: 0.9rem; color: var(--on-light-2); font-weight: 500; }

/* ── Cascade / problem diagram ───────────────────────── */
.cascade {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--beige-card);
  border: 1px solid var(--beige-2);
  border-radius: var(--r-xl);
  padding: 2.5rem 3rem;
  overflow-x: auto;
}
.cascade-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  flex: 1;
  min-width: 90px;
}
.cascade-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  border: 2px solid;
  transition: box-shadow var(--dur);
}
.cascade-circle--danger { border-color: var(--red); box-shadow: 0 0 18px rgba(239,68,68,0.25); }
.cascade-circle--warn   { border-color: var(--amber); box-shadow: 0 0 18px rgba(245,158,11,0.2); }
.cascade-circle--ok     { border-color: var(--green); box-shadow: 0 0 18px rgba(34,197,94,0.25); }
.cascade-node-label { font-size: 0.75rem; font-weight: 600; color: var(--on-light-2); text-align: center; max-width: 80px; }
.cascade-arrow { flex: 1; display: flex; align-items: center; padding-bottom: 1.2rem; min-width: 24px; }
.cascade-line { flex: 1; height: 2px; background: #e2e0dc; position: relative; }
.cascade-line--danger { background: rgba(239,68,68,0.3); }
.cascade-line::after { content: ''; position: absolute; right: -1px; top: 50%; transform: translateY(-50%); border: 4px solid transparent; border-left-color: #e2e0dc; }
.cascade-line--danger::after { border-left-color: rgba(239,68,68,0.5); }

/* ── Compliance tags ─────────────────────────────────── */
.reg-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.reg-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--on-light-2);
  background: var(--beige-card);
  border: 1px solid var(--beige-2);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
}
.reg-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── Comparison table ────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1rem;
  border-bottom: 2px solid var(--beige-2);
  color: var(--on-light-2);
}
.compare-table th.col-us { color: var(--blue); background: rgba(16,110,215,0.04); border-bottom-color: var(--blue); }
.compare-table th:first-child { text-align: left; }
.compare-table td {
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  color: var(--on-light-2);
  border-bottom: 1px solid var(--beige-2);
  text-align: center;
  vertical-align: middle;
}
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--on-light-1); }
.compare-table td.col-us { background: rgba(16,110,215,0.03); font-weight: 700; color: var(--green); }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: var(--green); }
.cross { color: var(--red); opacity: 0.5; }
.partial { color: var(--amber); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--beige-2); }
.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-light-1);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur);
}
.faq-btn:hover { color: var(--blue); }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-btn { color: var(--blue); }
.faq-body { overflow: hidden; max-height: 0; transition: max-height var(--dur) var(--ease); }
.faq-item.open .faq-body { max-height: 500px; }
.faq-body-inner { padding-bottom: 1.5rem; font-size: 0.95rem; color: var(--on-light-2); line-height: 1.7; }

/* ── CTA banner ──────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  border-radius: var(--r-xl);
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: var(--s-lg) 0;
}
.cta-banner-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(16,110,215,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { position: relative; z-index: 2; margin-bottom: 1rem; }
.cta-banner p { position: relative; z-index: 2; color: var(--on-dark-2); max-width: 52ch; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-banner-actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.875rem; flex-wrap: wrap; }
.cta-trust { position: relative; z-index: 2; margin-top: 1.5rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.cta-trust-item { font-size: 0.78rem; color: var(--on-dark-3); display: flex; align-items: center; gap: 0.35rem; }
.cta-trust-item::before { content: '✓'; color: var(--green); }

/* ── Code block ──────────────────────────────────────── */
.code-block {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  overflow-x: auto;
}
.code-cmt  { color: var(--on-dark-3); }
.code-key  { color: #5ba3f5; }
.code-val  { color: var(--teal); }
.code-str  { color: #4ade80; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: var(--s-lg) 0 var(--s-md);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-lg);
  margin-bottom: var(--s-lg);
}
.footer-brand p { font-size: 0.83rem; color: var(--on-dark-3); margin-top: 1rem; max-width: 26ch; line-height: 1.6; }
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.83rem; color: var(--on-dark-2); transition: color var(--dur); }
.footer-col a:hover { color: var(--on-dark-1); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-md);
  border-top: 1px solid var(--dark-border);
  font-size: 0.75rem;
  color: var(--on-dark-3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Reveal animation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.revealed { opacity: 1; transform: none; }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

/* ── Chip / badge ────────────────────────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
}
.badge-pill--blue  { background: var(--blue-pale); color: var(--blue-light); }
.badge-pill--green { background: rgba(34,197,94,0.1); color: var(--green); }
.badge-pill--teal  { background: rgba(45,212,191,0.1); color: var(--teal); }
.badge-pill--orange { background: rgba(235,134,100,0.12); color: var(--orange); }

/* ── Two-col hero layout ─────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
  align-items: center;
}
.two-col--60-40 { grid-template-columns: 3fr 2fr; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .tab-feature-inner { grid-template-columns: 1fr; }
  .tab-visual { padding: 0 0 var(--s-lg); }
  .tab-panel { border-right: none; border-bottom: 1px solid var(--dark-border); padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--beige-2); }
  .two-col, .two-col--60-40 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .cta-banner { padding: 3rem 1.5rem; border-radius: var(--r-lg); }
  .cascade { padding: 1.5rem; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 0.65rem 0.5rem; font-size: 0.78rem; }
}
