/* ═══════════════════════════════════════════════════════════════════════
   AI Test Platform — Marketing Site Design System
   Premium enterprise SaaS: deep navy + blue→cyan gradients, glassmorphism.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --navy-950: #060b1c;
  --navy-900: #0a1228;
  --navy-800: #101c3d;
  --navy-700: #1a2b56;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --ink-900: #0f172a;
  --ink-600: #475569;
  --ink-400: #94a3b8;
  --surface: #ffffff;
  --surface-2: #f6f9fe;
  --line: #e2e8f0;
  --grad-brand: linear-gradient(100deg, #2563eb 0%, #06b6d4 100%);
  --grad-text: linear-gradient(95deg, #60a5fa 0%, #22d3ee 60%, #a5f3fc 100%);
  --shadow-lg: 0 24px 60px -16px rgba(15, 40, 100, 0.25);
  --shadow-md: 0 10px 30px -10px rgba(15, 40, 100, 0.18);
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1200px, 92vw); margin-inline: auto; }

/* ── Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-600); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.on-dark .eyebrow { color: var(--cyan-300); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.55); }
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(6, 182, 212, 0.55); }
.btn-ghost { border: 1px solid rgba(148, 197, 255, 0.4); color: #dbeafe; background: rgba(255,255,255,0.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline { border: 1.5px solid var(--blue-600); color: var(--blue-600); }
.btn-outline:hover { background: #eff6ff; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ── Navigation ─────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; }
.nav-inner {
  position: relative;
  display: flex; align-items: center; gap: 22px; height: 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  padding: 0 16px 0 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06),
              0 18px 48px -20px rgba(23, 74, 180, 0.42);
  transition: box-shadow 0.25s ease;
}
.nav-inner::after { /* gradient accent line along the bottom edge */
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #22d3ee 60%, rgba(34, 211, 238, 0.2) 100%);
}
.nav.scrolled .nav-inner {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08),
              0 22px 56px -20px rgba(23, 74, 180, 0.52);
}
.nav-logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--ink-900); margin-right: 8px; }
.logo-img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 2px; align-items: center; flex: 1; }
.nav-links a {
  padding: 8px 13px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  color: var(--ink-600); transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink-900); background: #f1f5f9; }
.nav-links a.active { color: var(--blue-600); background: #eff6ff; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav .btn { padding: 10px 20px; font-size: 0.88rem; border-radius: 11px; }
.nav .btn-ghost { border: none; background: transparent; color: var(--ink-600); font-weight: 600; backdrop-filter: none; }
.nav .btn-ghost:hover { color: var(--ink-900); background: #f1f5f9; }
.nav .btn-primary { box-shadow: 0 6px 18px -8px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.nav-burger { display: none; color: var(--ink-900); font-size: 1.4rem; }

/* ── Nav dropdown menus ─────────────────────────────────────────────── */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; white-space: nowrap; color: var(--ink-600);
  transition: color 0.15s, background 0.15s;
}
.nav-drop-btn svg { transition: transform 0.18s ease; }
.nav-drop:hover .nav-drop-btn, .nav-drop.open .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn { color: var(--ink-900); background: #f1f5f9; }
.nav-drop-btn.active { color: var(--blue-600); background: #eff6ff; }
.nav-drop:hover .nav-drop-btn svg, .nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 270px;
  transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06), 0 24px 48px -20px rgba(15, 40, 100, 0.35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a { display: block; padding: 10px 12px; border-radius: 10px; transition: background 0.15s; }
.nav-drop-menu a b { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink-900); }
.nav-drop-menu a span { display: block; font-size: 0.78rem; color: var(--ink-400); line-height: 1.45; }
.nav-drop-menu a:hover { background: var(--surface-2); }
.nav-drop-menu a:hover b { color: var(--blue-600); }
.nav .container { width: 100%; }  /* header tile spans the full viewport width */

/* Compact steps so the nav always fits between full desktop and burger mode */
@media (max-width: 1420px) {
  .nav-inner { gap: 16px; }
  .nav-links a, .nav-drop-btn { padding: 8px 9px; font-size: 0.88rem; }
  .nav .btn { padding: 9px 14px; font-size: 0.85rem; }
}
@media (max-width: 1300px) {
  .nav-cta .btn-ghost { display: none; }  /* Book a Demo always survives */
  .nav-links { gap: 0; }
  .nav-links a, .nav-drop-btn { padding: 8px 7px; font-size: 0.85rem; }
}
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 2vw; right: 2vw;
    background: #fff; padding: 14px; gap: 2px; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 24px 60px -24px rgba(15, 40, 100, 0.4);
  }
  .nav.open .nav-links .nav-drop { width: 100%; }
  .nav.open .nav-links .nav-drop-btn { width: 100%; }
  .nav.open .nav-links .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    box-shadow: none; border: none; padding: 0 0 4px 10px; min-width: 0;
  }
  .nav.open .nav-links .nav-drop-menu::before { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 700px at 75% -10%, #12306b 0%, transparent 55%),
              radial-gradient(900px 600px at -10% 110%, #083344 0%, transparent 50%),
              var(--navy-950);
  padding: 168px 0 110px;
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(103,232,249,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(103,232,249,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 30%, #000 0%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero p.lead { color: #b7c7e4; margin: 22px 0 34px; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.35); background: rgba(34, 211, 238, 0.08);
  font-size: 0.82rem; font-weight: 600; color: var(--cyan-300); margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 10px var(--cyan-400); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }

/* floating glass stat chips over the hub */
.glass-chip {
  position: absolute; padding: 12px 16px; border-radius: 14px;
  background: rgba(16, 28, 61, 0.6); border: 1px solid rgba(148, 197, 255, 0.22);
  backdrop-filter: blur(14px); box-shadow: 0 14px 40px -12px rgba(0,0,0,0.5);
  animation: floaty 7s ease-in-out infinite;
}
.glass-chip strong { display: block; font-family: var(--font-display); font-size: 1.25rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass-chip span { font-size: 0.72rem; color: #9fb4d8; letter-spacing: 0.04em; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-dark { background: var(--navy-950); color: #fff; }
.section-tint { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; }
.on-dark .lead, .section-dark .lead { color: #a8bad9; }

/* ── Trust bar ──────────────────────────────────────────────────────── */
.trust { border-top: 1px solid rgba(103,232,249,0.12); background: var(--navy-900); color: #fff; padding: 44px 0 52px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-stat span { color: #93a8cc; font-size: 0.9rem; }
.trust-kicker { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7186ab; margin-bottom: 30px; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #bfdbfe; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--ink-600); font-size: 0.95rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eff6ff, #ecfeff); border: 1px solid #dbeafe; color: var(--blue-600);
}
.card-icon svg { width: 22px; height: 22px; }

.card-dark {
  background: rgba(16, 28, 61, 0.55); border: 1px solid rgba(148, 197, 255, 0.16);
  border-radius: var(--radius-lg); padding: 30px 28px; backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.card-dark:hover { transform: translateY(-5px); border-color: rgba(103, 232, 249, 0.45); }
.card-dark h3 { color: #fff; margin: 16px 0 8px; }
.card-dark p { color: #a8bad9; font-size: 0.95rem; }

/* ── Comparison (Why Different) ─────────────────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius-lg); padding: 36px 34px; }
.compare-old { background: var(--surface); border: 1px solid var(--line); }
.compare-new {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); color: #fff;
  border: 1px solid rgba(103, 232, 249, 0.3); position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.compare-new::before { content: ""; position: absolute; inset: -40% 55% 55% -20%; background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 70%); }
.compare-col h3 { font-size: 1.3rem; margin-bottom: 22px; position: relative; }
.compare-col ul { list-style: none; display: grid; gap: 14px; position: relative; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.compare-old li { color: var(--ink-600); }
.compare-new li { color: #d5e4ff; }
.mark { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; margin-top: 1px; }
.mark-x { background: #fee2e2; color: #dc2626; }
.mark-v { background: rgba(34, 211, 238, 0.18); color: var(--cyan-300); border: 1px solid rgba(34,211,238,0.4); }

/* ── Tabs (capabilities) ────────────────────────────────────────────── */
.tabs-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.tab-btn {
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  color: var(--ink-600); border: 1px solid var(--line); background: var(--surface);
  transition: all 0.18s ease;
}
.tab-btn:hover { border-color: #93c5fd; color: var(--blue-600); }
.tab-btn.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -6px rgba(37,99,235,0.5); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; animation: fadeUp 0.4s ease; }
@media (max-width: 900px) { .tab-panel.active { grid-template-columns: 1fr; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.tab-panel h3 { font-size: 1.55rem; margin-bottom: 14px; }
.tab-panel .tag { display: inline-block; padding: 5px 13px; border-radius: 999px; background: #eff6ff; color: var(--blue-600); font-size: 0.78rem; font-weight: 700; margin-bottom: 16px; }
.feature-list { list-style: none; display: grid; gap: 11px; margin: 22px 0; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-600); font-size: 0.96rem; }
.outcome-strip { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.outcome-strip div strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--blue-600); }
.outcome-strip div span { font-size: 0.8rem; color: var(--ink-400); }

/* screenshot frame (stylized product mock) */
.shot-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: var(--navy-900);
}
.shot-frame .shot-bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--navy-800); }
.shot-frame .shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #33415f; }
.shot-body { padding: 20px; display: grid; gap: 12px; }

/* mini mock widgets used inside shot frames */
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi { background: rgba(255,255,255,0.05); border: 1px solid rgba(148,197,255,0.14); border-radius: 10px; padding: 12px; }
.mock-kpi b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #7dd3fc; }
.mock-kpi small { color: #7186ab; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mock-bar { height: 9px; border-radius: 6px; background: rgba(255,255,255,0.07); overflow: hidden; display: flex; }
.mock-bar i { height: 100%; }
.mock-line { height: 8px; border-radius: 5px; background: rgba(255,255,255,0.07); }
.mock-line.w60 { width: 60%; } .mock-line.w80 { width: 80%; } .mock-line.w45 { width: 45%; }

/* ── ROI calculator ─────────────────────────────────────────────────── */
.roi-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(103,232,249,0.2);
}
@media (max-width: 900px) { .roi-wrap { grid-template-columns: 1fr; } }
.roi-inputs { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 44px 40px; }
.roi-inputs h3 { font-size: 1.4rem; margin-bottom: 8px; }
.roi-inputs p { color: #93a8cc; font-size: 0.9rem; margin-bottom: 28px; }
.roi-field { margin-bottom: 24px; }
.roi-field label { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 600; color: #c9d8f2; margin-bottom: 10px; }
.roi-field label output { color: var(--cyan-300); font-family: var(--font-display); }
input[type="range"] {
  width: 100%; appearance: none; height: 6px; border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan-400) var(--fill, 40%), rgba(255,255,255,0.14) var(--fill, 40%));
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--cyan-400); box-shadow: 0 0 12px rgba(34,211,238,0.6); cursor: grab;
}
.roi-results { background: var(--surface); padding: 44px 40px; display: grid; align-content: center; gap: 20px; }
.roi-results .roi-headline { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-stat { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; background: var(--surface-2); }
.roi-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--blue-600); }
.roi-stat span { font-size: 0.82rem; color: var(--ink-600); }
.roi-note { font-size: 0.75rem; color: var(--ink-400); }

/* ── Industry / story cards ─────────────────────────────────────────── */
.story-card { position: relative; overflow: hidden; }
.story-card .metric { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card .who, .story-card .who, .card-dark .who { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 14px; }
.card-dark .who { color: var(--cyan-300); }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: radial-gradient(800px 400px at 50% -20%, #164e8d 0%, transparent 60%), var(--navy-950);
  padding: 110px 0;
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 18px; }
.cta-band .lead { max-width: 620px; margin: 0 auto 38px; }
.cta-band .hero-ctas { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer { background: var(--navy-950); color: #8ba0c6; padding: 70px 0 40px; border-top: 1px solid rgba(103,232,249,0.1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { color: #e2ecff; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer a { font-size: 0.92rem; transition: color 0.15s; }
footer a:hover { color: var(--cyan-300); }
.footer-base { border-top: 1px solid rgba(148,197,255,0.12); padding-top: 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; }

/* ── Page hero (inner pages) ────────────────────────────────────────── */
.page-hero {
  background: radial-gradient(900px 480px at 70% -30%, #12306b 0%, transparent 60%), var(--navy-950);
  color: #fff; padding: 158px 0 78px;
}
.page-hero .lead { color: #a8bad9; max-width: 640px; margin-top: 18px; }

/* ── Layered platform diagram ───────────────────────────────────────── */
.layer-stack { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.layer {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center;
  border-radius: var(--radius-md); padding: 22px 28px;
  background: rgba(16, 28, 61, 0.55); border: 1px solid rgba(148, 197, 255, 0.18);
  transition: border-color 0.2s, transform 0.2s;
}
.layer:hover { border-color: rgba(103,232,249,0.5); transform: translateX(6px); }
.layer .layer-name { font-family: var(--font-display); font-weight: 700; color: #fff; display: flex; align-items: center; gap: 12px; }
.layer .layer-name i { width: 10px; height: 10px; border-radius: 3px; background: var(--grad-brand); box-shadow: 0 0 10px rgba(34,211,238,0.7); }
.layer p { color: #a8bad9; font-size: 0.93rem; }
@media (max-width: 700px) { .layer { grid-template-columns: 1fr; gap: 8px; } }

/* ── Reveal on scroll (JS-gated: content is never hidden without JS) ── */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .glass-chip, .hero-badge .dot { animation: none; }
}

/* ── Operational backbone rows (environments / data / releases) ─────── */
.op-row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.op-row + .op-row { margin-top: 76px; }
.op-row.rev > .shot-frame { order: -1; }
@media (max-width: 900px) {
  .op-row { grid-template-columns: 1fr; }
  .op-row.rev > .shot-frame { order: 0; }
}

/* ── Release Command Center (hero product mock) ─────────────────────── */
.cmd-frame { border-color: rgba(103, 232, 249, 0.28); }
.cmd-frame .shot-bar { align-items: center; }
.shot-title { margin-left: 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: #7186ab; }
.cmd-body { padding: 24px; display: grid; gap: 16px; }
.cmd-main { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.cmd-gauge { position: relative; width: 132px; flex-shrink: 0; }
.cmd-gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cmd-gauge-num b { font-family: var(--font-display); font-size: 1.75rem; color: #fff; line-height: 1; }
.cmd-gauge-num small { font-size: 0.56rem; letter-spacing: 0.09em; text-transform: uppercase; color: #7186ab; margin-top: 5px; line-height: 1.5; }
.cmd-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.cmd-pill.ok { background: rgba(52, 211, 153, 0.14); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.4); }
.cmd-status p { font-size: 0.78rem; color: #7186ab; margin-top: 9px; max-width: 250px; }
.cmd-findings { list-style: none; display: grid; gap: 8px; }
.cmd-findings li { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: #c9d8f2; background: rgba(255,255,255,0.04); border: 1px solid rgba(148,197,255,0.12); border-radius: 10px; padding: 9px 13px; }
.fm { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-style: normal; font-size: 0.66rem; font-weight: 800; }
.fm-ok { background: rgba(52, 211, 153, 0.16); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.4); }
.fm-warn { background: rgba(251, 191, 36, 0.14); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.cmd-action { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: linear-gradient(100deg, rgba(37,99,235,0.18), rgba(6,182,212,0.14)); border: 1px solid rgba(103,232,249,0.3); border-radius: 12px; padding: 12px 16px; font-size: 0.85rem; color: #9fb4d8; }
.cmd-action b { font-family: var(--font-display); font-size: 1rem; color: #fff; }
.cmd-action em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: #7186ab; margin-left: auto; }
.mock-note { text-align: center; font-size: 0.72rem; letter-spacing: 0.05em; color: #64748b; margin-top: 12px; }

/* ── Outcome pillars (dark cards with mini feature lists) ───────────── */
.pillar-list { list-style: none; display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(148,197,255,0.14); }
.pillar-list li { position: relative; padding-left: 20px; font-size: 0.86rem; color: #a8bad9; }
.pillar-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; font-size: 0.72rem; font-weight: 800; color: var(--cyan-300); }

/* ── Dominant AI capability cards ───────────────────────────────────── */
.feature-list.compact { gap: 9px; margin: 18px 0 0; }
.feature-list.compact li { font-size: 0.9rem; }
.card-flag { position: relative; border-color: #93c5fd; box-shadow: var(--shadow-md); }
.flag-tag { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; background: #eff6ff; border: 1px solid #bfdbfe; color: var(--blue-600); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── AI hub SVG animation ───────────────────────────────────────────── */
.hub-link { stroke-dasharray: 6 10; animation: dashflow 2.8s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -64; } }
.hub-core { animation: corepulse 3.5s ease-in-out infinite; transform-origin: center; }
@keyframes corepulse { 50% { opacity: 0.75; } }
.hub-orbit { animation: spin 26s linear infinite; transform-origin: center; }
.hub-orbit.rev { animation-direction: reverse; animation-duration: 38s; }
@keyframes spin { to { transform: rotate(360deg); } }
