:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-dim: #8888a0;
  --fg-muted: #55556a;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --red: #ff4466;
  --yellow: #ffcc00;
  --blue: #4488ff;
  --border: #22223a;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.lede {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 480px;
  line-height: 1.7;
}

/* TERMINAL */
.terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--accent); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 16px;
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-item.live {
  background: rgba(0,255,136,0.04);
  border-radius: 6px;
}

.feed-item.dim {
  opacity: 0.5;
}

.timestamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  white-space: nowrap;
  padding-top: 2px;
  min-width: 60px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  min-width: 42px;
  text-align: center;
}

.badge.up {
  background: rgba(0,255,136,0.12);
  color: var(--accent);
}

.badge.down {
  background: rgba(255,68,102,0.12);
  color: var(--red);
}

.badge.neutral {
  background: rgba(68,136,255,0.12);
  color: var(--blue);
}

.feed-item .text {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 40px auto 0;
}

/* FEATURES */
.features {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 64px;
}

.features-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 18px;
  color: var(--fg-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(0,255,136,0.2);
  transform: translateY(-2px);
}

.feature-card.accent {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0,255,136,0.04) 0%, var(--bg-surface) 100%);
}

.feature-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.feature-card p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* SIGNAL */
.signal {
  padding: 120px 48px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signal-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.signal-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.signal-text p {
  font-size: 16px;
  color: var(--fg-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}

.signal-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* CLOSING */
.closing {
  padding: 160px 48px;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closing-content {
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* FOOTER */
.site-footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--fg);
}

.footer-sep {
  color: var(--fg-muted);
  margin: 0 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 60px 24px 40px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right {
    order: -1;
  }

  .features {
    padding: 80px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .signal {
    padding: 80px 24px;
  }

  .signal-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .closing {
    padding: 100px 24px;
  }

  .site-footer {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-sep {
    display: none;
  }

  .feature-card {
    padding: 28px;
  }

  .stat {
    padding: 20px 24px;
  }
}