:root {
  --bg: #0a0a0f;
  --bg-surface: #111118;
  --bg-elevated: #18181f;
  --fg: #e8e8ec;
  --fg-dim: #8888a0;
  --fg-muted: #555568;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --accent-glow: rgba(245, 158, 11, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(245, 158, 11, 0.3);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1120px;
}

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

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

/* Section Label */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.accent { color: var(--accent); }
.dim { opacity: 0.5; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-accent);
  background: var(--accent-dim);
  margin-bottom: 2.5rem;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-dim);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  font-family: var(--font-mono);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* PROBLEM */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.3s;
}

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

.problem-icon {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.problem-card p {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* FEATURES */
.features {
  padding: 6rem 2rem;
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 4rem;
  letter-spacing: -0.01em;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-text h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-text p {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.code-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}

.code-block code {
  white-space: pre;
}

.code-dim { color: var(--fg-muted); }
.code-comment { color: var(--fg-muted); font-style: italic; }
.code-accent { color: var(--accent); font-weight: 500; }

/* TIERS */
.tiers {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.tiers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tiers h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.tiers-sub {
  color: var(--fg-dim);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 3rem;
  line-height: 1.65;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tier-card {
  padding: 2.25rem;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  transition: border-color 0.3s;
}

.tier-card:hover {
  border-color: rgba(255,255,255,0.12);
}

.tier-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, var(--accent-dim) 0%, var(--bg) 40%);
}

.tier-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--bg);
  background: var(--accent);
  padding: 0.3rem 0.75rem;
  font-weight: 500;
}

.tier-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tier-desc {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.tier-detail {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* CLOSING */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.closing-text {
  color: var(--fg-dim);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}

.footer-dot {
  width: 3px;
  height: 3px;
  background: var(--fg-muted);
  border-radius: 50%;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 4rem 1.25rem 3rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .problem-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .problem, .features, .tiers {
    padding: 4rem 1.25rem;
  }
  
  .closing {
    padding: 5rem 1.25rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-glow {
    width: 300px;
    height: 300px;
    top: -10%;
    right: -20%;
  }
}