:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00d4aa;
  --accent-dim: #00d4aa22;
  --accent-glow: #00d4aa44;
  --border: #2a2a3a;
  --terminal-bg: #080810;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 6rem;
  position: relative;
}

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

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

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

.terminal-bar {
  padding: 0.8rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 2;
}

.term-input { color: var(--fg-muted); }
.prompt { color: var(--accent); margin-right: 0.5rem; }
.term-output { color: var(--fg-muted); margin-top: 0.8rem; font-style: italic; }
.term-result { color: var(--accent); }

/* Problem Section */
.problem {
  padding: 8rem 6rem;
  border-top: 1px solid var(--border);
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  margin-bottom: 3rem;
}

.problem .strike {
  text-decoration: line-through;
  color: var(--fg-muted);
  text-decoration-color: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.problem-text {
  color: var(--fg-muted);
  max-width: 700px;
  font-size: 1.05rem;
}

/* How Section */
.how {
  padding: 8rem 6rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 4rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 700px;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Specs Section */
.specs {
  padding: 8rem 6rem;
  border-top: 1px solid var(--border);
}

.specs h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 3rem;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.room-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s;
}

.room-card:hover {
  border-color: var(--accent-dim);
}

.room-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.room-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.specs-note {
  color: var(--fg-muted);
  font-size: 0.9rem;
  max-width: 700px;
  border-left: 2px solid var(--accent-dim);
  padding-left: 1.5rem;
}

/* Closing */
.closing {
  padding: 8rem 6rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.closing-vision {
  color: var(--fg);
  font-style: italic;
}

/* Footer */
footer {
  padding: 3rem 6rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    min-height: auto;
    padding-top: 6rem;
  }

  .hero::before { display: none; }

  .stat-grid { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }

  .problem,
  .how,
  .specs,
  .closing { padding: 4rem 2rem; }

  footer { padding: 2rem; flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 600px) {
  .room-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 1rem; }
}