:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e6e3;
  --fg-muted: #9b978f;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-bright: #fbbf24;
  --danger: #ef4444;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  max-width: 780px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--fg) 0%, var(--fg-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  display: flex;
  justify-content: center;
}

.problem-inner {
  max-width: 680px;
}

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.problem-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 36px;
}

.problem-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(239, 68, 68, 0.06);
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-callout p {
  color: var(--fg);
  font-size: 1.05rem;
}

/* ===== LOOP ===== */
.loop {
  padding: 100px 24px;
  text-align: center;
}

.loop h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.loop-subtitle {
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 64px;
}

.loop-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  flex: 0 1 160px;
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

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

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

.step-arrow {
  color: var(--accent);
  font-size: 1.4rem;
  align-self: center;
  opacity: 0.5;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 56px;
}

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

.feature-card {
  padding: 36px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

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

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px 32px;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  .loop-steps {
    flex-direction: column;
    align-items: center;
  }
  .step {
    flex: 0 1 auto;
    width: 100%;
    max-width: 320px;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 16px 40px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}