:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6e3;
  --fg-dim: #8a8894;
  --fg-muted: #5a586a;
  --accent: #f97316;
  --accent-glow: rgba(249, 115, 22, 0.15);
  --accent-soft: #fb923c;
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .hero-badge, .features-label, .problem-label, .how-label, .footer-brand {
  font-family: 'Space Grotesk', sans-serif;
}

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

.hero-gradient {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}

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

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

.lede {
  font-size: 1.15rem;
  color: var(--fg-dim);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--fg-dim);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-ghost:hover { color: var(--fg); border-color: rgba(255,255,255,0.15); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 8px;
  line-height: 1.4;
}

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

/* PROBLEM */
.problem {
  padding: 120px 24px;
  background: var(--bg-elevated);
}

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

.problem-label, .features-label, .how-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

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

.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: var(--radius);
  padding: 32px;
}

.problem-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

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

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

/* FEATURES */
.features {
  padding: 120px 24px;
}

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

.features-label {
  margin-bottom: 56px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* Terminal Visual */
.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-muted);
  opacity: 0.4;
}

.terminal-body {
  padding: 20px;
  font-family: 'DM Sans', monospace;
  font-size: 0.85rem;
}

.t-line {
  margin-bottom: 8px;
  color: var(--fg-dim);
}

.t-dim {
  color: var(--fg-muted);
  margin-right: 12px;
}

.t-line.t-accent {
  color: var(--green);
}

/* Match Visual */
.match-viz {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.match-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--fg);
}

.match-item.faded {
  opacity: 0.45;
}

.match-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
  min-width: 40px;
}

/* Pipeline Visual */
.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pipe-stage {
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.pipe-stage.glow {
  border-color: rgba(249, 115, 22, 0.4);
  background: var(--accent-glow);
  color: var(--accent-soft);
}

.pipe-count {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
  margin-left: 6px;
  color: var(--fg-dim);
}

.pipe-arrow {
  width: 20px;
  height: 1px;
  background: var(--fg-muted);
  flex-shrink: 0;
}

/* HOW (COMPARISON) */
.how {
  padding: 120px 24px;
  background: var(--bg-elevated);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

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

.how-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.how-col {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.how-col.old {
  background: var(--bg-card);
  opacity: 0.65;
}

.how-col.new {
  background: var(--accent-glow);
  border-color: rgba(249, 115, 22, 0.25);
}

.how-col-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: var(--fg-dim);
}

.how-col.new .how-col-header {
  color: var(--accent-soft);
}

.how-col ul {
  list-style: none;
}

.how-col ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--fg-dim);
}

.how-col.new ul li {
  color: var(--fg);
}

.how-col ul li:last-child {
  border-bottom: none;
}

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

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

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

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

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

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

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

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

/* MOBILE */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 80px 20px 60px; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse { direction: ltr; }
  .how-comparison { grid-template-columns: 1fr; }
  .pipeline { flex-direction: column; align-items: stretch; }
  .pipe-arrow { width: 100%; height: 1px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .problem, .features, .how { padding: 80px 20px; }
  .closing { padding: 80px 20px; }
}