/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #08090c;
  --bg-2:        #0d0f14;
  --bg-3:        #111318;
  --amber:       #f59e0b;
  --amber-dim:   #b5942a;
  --amber-glow: rgba(245,158,11,0.15);
  --amber-border: rgba(245,158,11,0.25);
  --text:        #e8e8d0;
  --text-dim:    #6a6a5e;
  --text-muted:  #3a3a30;
  --border:      rgba(232,232,208,0.08);
  --radius:      6px;
  --font-body:   'Outfit', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.15; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(8,9,12,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 28px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--amber); letter-spacing: 0.06em; text-transform: uppercase; }
.nav-status { display: flex; align-items: center; gap: 20px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.nav-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); display: inline-block; box-shadow: 0 0 8px var(--amber); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-label { font-family: var(--font-mono); font-size: 11px; color: var(--amber); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.hero-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--amber); }
.hero h1 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-desc { font-size: 17px; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; max-width: 420px; }
.hero-specs { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 12px; flex-wrap: wrap; }
.hero-specs span { color: var(--text-dim); }
.hero-specs strong { color: var(--text); }

/* Terminal */
.terminal-wrap { position: relative; }
.terminal { background: var(--bg-2); border: 1px solid rgba(245,158,11,0.12); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(245,158,11,0.06); }
.terminal-header { background: var(--bg-3); padding: 11px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-red   { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.terminal-body { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; }
.terminal-scroll { max-height: 360px; overflow-y: auto; }
.terminal-scroll::-webkit-scrollbar { width: 4px; }
.terminal-scroll::-webkit-scrollbar-track { background: transparent; }
.terminal-scroll::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 2px; }

.terminal-row { padding: 2px 16px; display: flex; gap: 12px; }
.t-num  { color: var(--text-muted); user-select: none; min-width: 28px; text-align: right; }
.t-prompt { color: var(--amber); }
.t-cmd    { color: var(--text); }
.t-out    { color: #8a8a7a; }
.t-label  { color: var(--amber-dim); }
.t-dim    { color: var(--text-muted); }
.t-bold   { color: var(--text); }
.t-ok     { color: #28c840; }
.t-red    { color: #ff6b6b; }

.divider   { border-top: 1px solid var(--border); }
.hi-lite   { background: rgba(245,158,11,0.04); border-left: 2px solid var(--amber); padding: 8px 16px 8px 14px; margin: 4px 0; }

/* Pipeline */
.pipeline { padding: 80px 0; border-top: 1px solid var(--border); }
.section-label { font-family: var(--font-mono); font-size: 11px; color: var(--amber); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--amber); }
.section-label-center { font-family: var(--font-mono); font-size: 11px; color: var(--amber); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.section-label-center::before, .section-label-center::after { content: ''; display: block; width: 24px; height: 1px; background: var(--amber); }
.section-title { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin-bottom: 12px; color: #fff; }
.section-title-center { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin-bottom: 12px; color: #fff; text-align: center; }
.section-desc { font-size: 16px; color: var(--text-dim); max-width: 560px; line-height: 1.7; margin-bottom: 52px; }
.section-desc-center { font-size: 16px; color: var(--text-dim); max-width: 540px; line-height: 1.7; margin: 0 auto 52px; text-align: center; }

.pipeline-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.pipeline-steps::before { content: ''; position: absolute; top: 28px; left: calc(10% + 20px); right: calc(10% + 20px); height: 1px; background: linear-gradient(90deg, transparent, var(--amber-border), var(--amber), var(--amber-border), transparent); }

.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; z-index: 1; font-family: var(--font-mono); font-size: 11px; color: var(--amber); font-weight: 600; transition: border-color 0.3s, box-shadow 0.3s; }
.step.active .step-icon { border-color: var(--amber); box-shadow: 0 0 20px rgba(245,158,11,0.2); }
.step-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 11px; color: var(--text-dim); line-height: 1.5; }

/* Difference */
.difference { padding: 80px 0; border-top: 1px solid var(--border); }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vs-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.vs-card.better { border-color: var(--amber-border); background: linear-gradient(160deg, var(--bg-2), rgba(245,158,11,0.03)); }
.vs-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 10px; }
.vs-card.better .vs-label { color: var(--amber); }
.vs-name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.vs-tagline { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; line-height: 1.55; }
.vs-features { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.vs-features li { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.vs-features li::before { content: '›'; color: var(--amber); font-weight: 700; flex-shrink: 0; }
.vs-card.better .vs-features li { color: var(--text); }

/* Manifesto */
.manifesto { padding: 100px 0 80px; border-top: 1px solid var(--border); }
.manifesto-inner { text-align: center; }
.manifesto h2 { font-size: clamp(26px, 3.5vw, 46px); font-weight: 800; line-height: 1.18; max-width: 660px; margin: 0 auto 18px; color: #fff; }
.manifesto p { font-size: 16px; color: var(--text-dim); max-width: 500px; margin: 0 auto 16px; line-height: 1.75; }
.manifesto p:last-of-type { margin-bottom: 40px; }
.manifesto-stat { display: inline-flex; align-items: baseline; gap: 10px; }
.stat-num { font-size: 60px; font-weight: 800; color: var(--amber); line-height: 1; font-family: var(--font-mono); }
.stat-label { font-size: 14px; color: var(--text-dim); text-align: left; line-height: 1.5; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pipeline-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pipeline-steps::before { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero-specs { flex-direction: column; gap: 8px; }
  .nav-status span:not(:first-child) { display: none; }
}
