/* === ROOT === */
:root {
  --bg: #070b14;
  --bg-alt: #0d1421;
  --surface: #111c30;
  --border: #1a2740;
  --fg: #e2e8f0;
  --fg-muted: #8899aa;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --red: #ff5f5f;
  --green: #4ade80;
  --warn: #fbbf24;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-wordmark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* === TERMINAL === */
.hero-terminal-wrap {
  position: relative;
}
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 166, 35, 0.08);
}
.terminal-bar {
  background: var(--bg-alt);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  margin-left: 8px;
}
.terminal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 280px;
}
.t-line {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg);
}
.t-dim { color: var(--fg-muted); }
.t-success { color: var(--green); }
.t-warn { color: var(--warn); }

/* === HERO STATS === */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 13px; color: var(--fg-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* === TERMINAL SECTION === */
.terminal-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
}
.terminal-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-headline {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.section-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.stack-comparison { display: flex; flex-direction: column; gap: 24px; }
.stack-before, .stack-after { padding: 20px; border-radius: 10px; }
.stack-before { background: var(--surface); border: 1px solid var(--border); }
.stack-after { background: var(--accent-dim); border: 1px solid rgba(245, 166, 35, 0.2); }
.stack-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--fg-muted); margin-bottom: 12px; }
.stack-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { font-size: 12px; padding: 4px 10px; border-radius: 20px; font-family: var(--font-mono); }
.pill-cross { background: rgba(255, 95, 95, 0.12); color: var(--red); }
.pill-axiom { background: rgba(245, 166, 35, 0.15); color: var(--accent); }
.stack-note { font-size: 12px; color: var(--fg-muted); font-style: italic; }
.stack-arrow { display: flex; justify-content: flex-start; }

/* === FEATURES === */
.features {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-inner {}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-alt);
  padding: 40px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-icon { margin-bottom: 20px; }
.feature-title {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.feature-body { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.quote-text {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 20px;
  font-style: italic;
}
.quote-sub { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }
.manifesto-stats { display: flex; flex-direction: column; gap: 40px; }
.m-stat {}
.m-stat-num { font-family: var(--font-mono); font-size: 40px; font-weight: 700; color: var(--accent); display: block; margin-bottom: 6px; }
.m-stat-desc { font-size: 14px; color: var(--fg-muted); }

/* === CLOSING === */
.closing {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.closing-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.closing-product { font-family: var(--font-mono); font-size: 20px; font-weight: 700; }
.closing-tagline { font-size: 13px; color: var(--fg-muted); font-family: var(--font-mono); }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-muted);
}
.footer-copy { font-size: 13px; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid, .terminal-inner, .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 80px; min-height: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .closing { text-align: left; }
  .closing-body { margin-left: 0; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .stack-arrow { transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .nav-tagline { display: none; }
  .terminal-body { font-size: 11px; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .stat-divider { display: none; }
}