:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a25;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.15);
  --accent-glow: rgba(0, 255, 136, 0.3);
  --danger: #ff4466;
  --danger-dim: rgba(255, 68, 102, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,255,136,0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 4px;
  max-width: 140px;
}

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

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

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

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.problem p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.problem-highlight {
  color: var(--fg) !important;
  font-weight: 500;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

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

.time-block {
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
}

.time-block.creating {
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.2);
  width: 40%;
}

.time-block.ops {
  background: var(--danger-dim);
  border: 1px solid rgba(255,68,102,0.2);
  width: 100%;
}

.time-pct {
  font-size: 1.8rem;
  font-weight: 700;
}

.time-block.creating .time-pct { color: var(--accent); }
.time-block.ops .time-pct { color: var(--danger); }

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

/* ---- PIPELINE ---- */
.pipeline {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pipeline h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pipeline-sub {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 64px;
}

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

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

.step:hover {
  border-color: rgba(0,255,136,0.3);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.step h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ---- DIFFERENCE ---- */
.difference {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.difference h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

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

.comp-col {
  border-radius: 16px;
  padding: 32px;
}

.comp-old {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.comp-new {
  background: var(--accent-dim);
  border: 1px solid rgba(0,255,136,0.25);
}

.comp-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--fg-muted);
}

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

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

.comp-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.comp-new li {
  color: var(--fg);
  border-bottom-color: rgba(0,255,136,0.12);
}

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

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(0,255,136,0.04) 0%, transparent 70%),
    var(--bg);
}

.closing h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

/* ---- FOOTER ---- */
.site-footer {
  padding: 40px 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-weight: 600;
  font-size: 1.1rem;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

  .time-block.creating { width: 60%; }

  .pipeline-steps {
    grid-template-columns: 1fr;
  }

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

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