:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6e3;
  --fg-muted: #8a8892;
  --accent: #f97316;
  --accent-glow: rgba(249, 115, 22, 0.15);
  --accent-bright: #fb923c;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --border: #2a2a3a;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains 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-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 60px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(249,115,22,0.08), transparent),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(249,115,22,0.04), transparent),
    var(--bg);
}

.hero-grid {
  max-width: 720px;
  text-align: center;
  margin-bottom: 48px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--accent-glow);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Terminal */
.hero-terminal {
  max-width: 640px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

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

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 2;
}

.terminal-line { color: var(--fg-muted); }
.terminal-line .prompt { color: var(--accent); font-weight: 600; }
.terminal-line .cmd { color: var(--fg); }
.terminal-line .status { color: var(--yellow); }
.terminal-line.success { color: var(--green); }
.terminal-line .check { margin-right: 6px; }

/* ---- PROBLEM ---- */
.problem {
  padding: 120px 24px;
  background: var(--bg-elevated);
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
  text-align: center;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.comparison-card.old {
  background: var(--bg);
}

.comparison-card.new {
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.comparison-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-card li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.comparison-card.old li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 600;
}

.comparison-card.new li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.cost { color: var(--red); font-weight: 600; }
.benefit { color: var(--green); font-weight: 600; }

/* ---- HOW ---- */
.how {
  padding: 120px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.step {
  padding: 32px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.step:hover {
  border-color: var(--accent);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- GAMES ---- */
.games {
  padding: 120px 24px;
  background: var(--bg-elevated);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.game-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.game-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.game-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.game-card p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.game-note {
  text-align: center;
  margin-top: 32px;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(249,115,22,0.06), transparent),
    var(--bg);
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding: 60px 20px 40px;
    min-height: auto;
  }
  .terminal-body {
    font-size: 12px;
    padding: 14px;
  }
  .problem, .how, .games, .closing {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}