:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ec;
  --fg-muted: #8a8a9a;
  --fg-dim: #5a5a6a;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --red: #ef4444;
  --amber: #f59e0b;
  --green: #22c55e;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  -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: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

/* Signal cards */
.hero-signals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 600px;
}

.signal-card {
  display: grid;
  grid-template-columns: 10px auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
}

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

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.signal-dot.red { background: var(--red); box-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }
.signal-dot.amber { background: var(--amber); box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
.signal-dot.green { background: var(--green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }

.signal-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  white-space: nowrap;
}

.signal-detail {
  font-size: 0.9rem;
  color: var(--fg);
}

.signal-time {
  font-size: 0.8rem;
  color: var(--fg-dim);
  white-space: nowrap;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.problem-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}

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

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

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 3.5rem;
}

.features-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 550px;
}

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

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-block:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

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

/* ===== COMPARISON ===== */
.comparison {
  padding: 6rem 2rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-inner {
  max-width: 800px;
  margin: 0 auto;
}

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

.comparison-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comp-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row.comp-header {
  background: var(--bg-card);
}

.comp-cell {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  border-right: 1px solid var(--border);
}

.comp-cell:last-child {
  border-right: none;
}

.comp-cell.label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--fg-dim);
  background: var(--bg-card);
}

.comp-cell.highlight {
  color: var(--fg);
  background: var(--accent-glow);
}

.comp-header .comp-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fg);
}

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

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

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

.closing h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

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

.closing-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem !important;
  font-weight: 600;
  color: var(--accent) !important;
  margin-top: 2rem !important;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.footer-divider {
  color: var(--fg-dim);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
    min-height: auto;
    gap: 3rem;
  }

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

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

  .comp-row {
    grid-template-columns: 100px 1fr 1fr;
  }

  .comp-cell {
    padding: 0.75rem;
    font-size: 0.8rem;
  }

  .signal-card {
    grid-template-columns: 10px 1fr;
    gap: 0.5rem;
  }

  .signal-label {
    grid-column: 2;
  }

  .signal-detail {
    grid-column: 2;
  }

  .signal-time {
    grid-column: 2;
  }

  .closing {
    padding: 5rem 1.5rem;
  }
}

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

  .comp-cell.label {
    border-right: none;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
  }

  .comp-cell {
    border-right: none;
  }
}
