/* =======================================
   StreamForge Landing Page
   ======================================= */

:root {
  --bg: #09090F;
  --surface: #111118;
  --surface2: #1a1a24;
  --border: rgba(255,255,255,0.08);
  --fg: #F0F0F8;
  --fg-muted: #8888A0;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --purple: #A855F7;
  --green: #22D3EE;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::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-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 800px;
}
.headline-accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* Terminal */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 680px;
  margin-bottom: 48px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.terminal-bar {
  background: var(--surface2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-r { background: #FF5F57; }
.t-y { background: #FEBC2E; }
.t-g { background: #28C840; }
.t-title { font-size: 12px; color: var(--fg-muted); margin-left: 8px; font-family: monospace; }
.terminal-body { padding: 20px; }
.t-line { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 13px; color: var(--fg-muted); margin-bottom: 8px; display: flex; gap: 8px; line-height: 1.5; }
.t-prefix { color: var(--blue); min-width: 70px; }
.highlight { background: rgba(59,130,246,0.08); border-radius: 6px; padding: 6px 8px; }
.success { color: var(--cyan); }
.t-cursor { margin-top: 4px; }
.cursor { color: var(--cyan); }

/* Stats row */
.hero-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--fg); }
.stat-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* Section shared */
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 700px;
}

/* How It Works */
.howitworks {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 32px 0 0; }
.step-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--fg-muted); margin-bottom: 16px; letter-spacing: 0.06em; }
.step-icon { margin-bottom: 20px; }
.step h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }
.step-connector { width: 60px; height: 1px; background: var(--border); margin-top: 40px; position: relative; }
.step-connector::after { content: '→'; position: absolute; right: -2px; top: -12px; color: var(--fg-muted); font-size: 14px; }

/* Features */
.features {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features .section-headline { max-width: 500px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px;
  position: relative;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(59,130,246,0.4); }
.feature-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,0.1);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.feature-tag.live { color: var(--cyan); background: rgba(34,211,238,0.1); }
.feature-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* Manifesto */
.manifesto {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-inner { max-width: 800px; }
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--blue);
}
.manifesto-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 48px;
}
.manifesto-body em { color: var(--fg); font-style: normal; }
.manifesto-divider { height: 1px; background: var(--border); margin-bottom: 48px; }
.manifesto-contrast { display: flex; gap: 24px; }
.contrast-item {
  flex: 1;
  padding: 24px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
}
.contrast-item span { display: block; }
.contrast-item.wrong { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); }
.contrast-item.wrong .contrast-label { color: #EF4444; }
.contrast-item.right { background: rgba(34,211,238,0.06); border: 1px solid rgba(34,211,238,0.15); }
.contrast-item.right .contrast-label { color: var(--cyan); }
.contrast-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }

/* Closer */
.closer {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.closer-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closer-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.closer-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 40px; }
.closer-promise { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; text-align: left; max-width: 400px; margin: 0 auto 48px; }
.promise-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg); }
.closer-fine { font-size: 13px; color: var(--fg-muted); }

/* Footer */
.footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo { font-family: var(--font-head); font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.footer-tagline { font-size: 14px; color: var(--fg-muted); margin-bottom: 16px; }
.footer-copy { font-size: 12px; color: rgba(136,136,160,0.4); }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-headline { font-size: 42px; }
  .hero-terminal { max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto-contrast { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .howitworks, .features, .manifesto, .closer { padding: 60px 20px; }
}