:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ef;
  --fg-muted: #8888a0;
  --accent: #00e87b;
  --accent-dim: #00c466;
  --red: #ff4d4d;
  --yellow: #ffd000;
  --border: #2a2a3a;
  --font-main: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 32px;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.highlight {
  color: var(--accent);
}

.highlight-red {
  color: var(--red);
}

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

.hero-stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 8px;
  max-width: 160px;
}

/* ===== PROBLEM ===== */
.problem {
  background: var(--bg-surface);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.problem-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.problem-left p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.loss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.loss-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.loss-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.loss-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.loss-arrow {
  font-size: 1.4rem;
  color: var(--fg-muted);
  margin: 12px 0;
}

.loss-result-bad {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.loss-result-good {
  background: rgba(0, 232, 123, 0.08);
  border: 1px solid rgba(0, 232, 123, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.features h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

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

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

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

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}

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

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== NICHES ===== */
.niches {
  background: var(--bg-surface);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.niches h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

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

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

.niche-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.niche-emoji {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.niche-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.niche-loss {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 500;
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.closing-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 56px;
}

.closing-math {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.math-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.math-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.math-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
}

.math-symbol {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--fg-muted);
}

.math-result .math-value {
  color: var(--red);
  font-size: 1.8rem;
}

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

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .hero-stat-row {
    gap: 32px;
  }

  .closing-math {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .math-symbol {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .niche-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 20px 40px;
  }
}