/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.nav-link--dashboard {
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.82rem;
}
.nav-link--dashboard:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ---- HERO BUTTONS ---- */
.hero-btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero-btn-primary:hover { opacity: 0.85; }
.hero-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.hero-btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --fg: #e8e8ec;
  --fg-muted: #8a8a9a;
  --accent: #00e87b;
  --accent-dim: rgba(0, 232, 123, 0.12);
  --accent-glow: rgba(0, 232, 123, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --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);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  max-width: 800px;
  margin-bottom: 28px;
}

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

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

.hero-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

/* ---- PROBLEM ---- */
.problem {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 24px;
}

.problem-text p {
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.problem-text .highlight {
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-display);
}

.problem-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card.active {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
}

.stat-card.active .stat-number {
  color: var(--accent);
}

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

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

.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 60px;
  text-align: center;
}

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

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

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

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* ---- MARKET ---- */
.market {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.market-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.market h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.market-sub {
  color: var(--fg-muted);
  max-width: 680px;
  margin-bottom: 48px;
}

.market-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: var(--font-display);
  font-weight: 500;
}

.tile-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

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

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

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

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

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

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

  .market-tiles {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero {
    min-height: 70vh;
    padding: 60px 20px 40px;
  }

  .tile {
    padding: 24px 20px;
  }

  .tile-value {
    font-size: 1.6rem;
  }

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

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

  .stat-card {
    padding: 20px 24px;
  }

  .step {
    padding: 28px 24px;
  }
}