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

:root {
  --bg: #07090F;
  --bg-2: #0B0F1A;
  --bg-3: #111827;
  --fg: #E2E8F0;
  --fg-muted: #6B7280;
  --accent: #6366F1;
  --accent-2: #F59E0B;
  --accent-dim: rgba(99, 102, 241, 0.12);
  --accent-2-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(255,255,255,0.06);
  --radius: 10px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(7,9,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark { color: var(--accent); font-size: 1.2rem; }
.logo-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--fg-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7,9,15,0.95) 40%, rgba(7,9,15,0.5) 100%),
              linear-gradient(to bottom, rgba(7,9,15,0.3) 0%, rgba(7,9,15,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 2rem 80px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.metric { display: flex; flex-direction: column; gap: 0.25rem; }
.metric-val { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: #fff; }
.metric-label { font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.metric-sep { width: 1px; height: 40px; background: var(--border); }

/* SECTIONS */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1.0625rem; color: var(--fg-muted); max-width: 560px; line-height: 1.7; }

/* OUTCOMES */
.outcomes { padding: 7rem 0; background: var(--bg-2); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}
.outcome-card {
  background: var(--bg-2);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outcome-icon { display: flex; }
.outcome-stat { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: #fff; line-height: 1; }
.outcome-title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: #fff; }
.outcome-desc { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.6; }
.outcomes-footnote { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--fg-muted); opacity: 0.7; }

/* STACK */
.stack { padding: 7rem 0; }
.stack-modules { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.module {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.module:last-child { border-bottom: none; }
.module-num { font-family: var(--font-head); font-size: 0.75rem; color: var(--fg-muted); font-weight: 500; }
.module-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.module-desc { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.6; }
.module-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(99,102,241,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.module-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.visual-label { font-size: 0.75rem; color: var(--fg-muted); }

/* Visual: bars */
.visual-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.vbar { width: 12px; background: var(--bg-3); border-radius: 3px; min-height: 8px; }
.vbar.active { background: var(--accent); }

/* Visual: typing dots */
.visual-typing { display: flex; gap: 6px; align-items: center; }
.typing-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.typing-dot:nth-child(1) { animation: typing 1.2s infinite; }
.typing-dot:nth-child(2) { animation: typing 1.2s 0.2s infinite; }
.typing-dot:nth-child(3) { animation: typing 1.2s 0.4s infinite; }
@keyframes typing { 0%,100% { background: var(--bg-3); } 50% { background: var(--accent); } }

/* Visual: chart */
.visual-chart { position: relative; height: 60px; width: 100%; }
.chart-line { position: absolute; bottom: 20px; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--accent), var(--accent)); opacity: 0.3; }
.chart-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 4px; }
.cd { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-3); }
.cd.active { background: var(--accent); box-shadow: 0 0 8px rgba(99,102,241,0.5); }

/* Visual: wave */
.visual-wave { display: flex; align-items: center; gap: 5px; height: 40px; }
.wave-bar { width: 6px; border-radius: 3px; background: var(--bg-3); animation: wave 1.5s ease-in-out infinite; }
.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 55px; animation-delay: 0.4s; background: var(--accent-2); }
.wave-bar:nth-child(6) { height: 38px; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 25px; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 15px; animation-delay: 0.7s; }
@keyframes wave { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* Visual: docs */
.visual-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.doc { height: 36px; background: var(--bg-3); border-radius: 4px; }
.doc.active { background: rgba(99,102,241,0.2); border: 1px solid rgba(99,102,241,0.4); }

/* PROOF */
.proof { padding: 7rem 0; background: var(--bg-2); }
.proof-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.proof-quote {
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.7;
  margin: 1.5rem 0 1.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}
.proof-name { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: #fff; }
.proof-role { font-size: 0.875rem; color: var(--fg-muted); margin-top: 0.25rem; }
.proof-result { margin-top: 1.5rem; font-family: var(--font-head); font-size: 1rem; color: var(--fg-muted); }
.proof-result span { color: var(--accent); font-weight: 700; font-size: 1.25rem; }
.logos-label { font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin-bottom: 3rem; }
.logo-item { display: flex; align-items: center; }
.proof-stats { display: flex; flex-direction: column; gap: 1.5rem; }
.pstat { display: flex; flex-direction: column; gap: 0.25rem; }
.pstat-val { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; }
.pstat-label { font-size: 0.8125rem; color: var(--fg-muted); }

/* CLOSING */
.closing { padding: 8rem 0; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.closing-sub { font-size: 1.0625rem; color: var(--fg-muted); max-width: 520px; line-height: 1.7; margin-bottom: 2rem; }
.cta-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(99,102,241,0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--accent-dim);
}

/* FOOTER */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.footer-tagline { font-size: 0.875rem; color: var(--fg-muted); }
.footer-links a { color: var(--fg-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-headline { font-size: 2.25rem; }
  .hero-metrics { flex-wrap: wrap; gap: 1.5rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .module { grid-template-columns: 1fr; gap: 1rem; }
  .module-visual { display: none; }
  .proof-split { grid-template-columns: 1fr; gap: 3rem; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .nav-links { display: none; }
}