:root {
  --bg: #0a0e17;
  --bg-surface: #111827;
  --bg-card: #161f33;
  --fg: #e2e8f0;
  --fg-muted: #94a3b8;
  --fg-dim: #64748b;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.15);
  --accent-strong: #0ea5e9;
  --border: #1e293b;
  --highlight-bg: rgba(56, 189, 248, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --max-w: 1100px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

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

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
}

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

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #e2e8f0 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  line-height: 1.4;
  margin-top: 4px;
}

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

.hero-gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

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

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

.problem-label,
.how-label,
.compare-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.problem h2,
.how h2,
.compare h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 48px;
}

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

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

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

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

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

/* ====== HOW ====== */
.how {
  padding: 100px 24px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.how-step:first-child {
  border-top: 1px solid var(--border);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  min-width: 72px;
  opacity: 0.6;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ====== COMPARE ====== */
.compare {
  padding: 100px 24px;
  background: var(--bg-surface);
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 500;
}

.compare-table thead th.highlight {
  color: var(--accent);
}

.compare-table td.highlight {
  color: var(--accent);
  font-weight: 500;
  background: var(--highlight-bg);
}

.compare-table td.row-label {
  color: var(--fg-muted);
  font-weight: 500;
}

.compare-table td {
  color: var(--fg-muted);
}

/* ====== CLOSING ====== */
.closing {
  padding: 120px 24px;
}

.closing-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--fg);
}

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

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

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
}

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

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 20px 60px;
  }

  .hero-stat-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-stat-divider {
    display: none;
  }

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

  .how-step {
    flex-direction: column;
    gap: 12px;
  }

  .step-num {
    font-size: 1.8rem;
    min-width: auto;
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }

  .closing {
    padding: 80px 20px;
  }

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

  .problem,
  .how,
  .compare {
    padding: 60px 20px;
  }
}
/* ====== CTA BUTTON (landing page) ====== */
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #0a0e17;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}
.cta-btn:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}
