@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #181824;
  --fg: #e8e8f0;
  --fg-muted: #8888a0;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.12);
  --accent-glow: rgba(0, 255, 136, 0.25);
  --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;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 10% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 32px;
  width: fit-content;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 28px;
}

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

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

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

.stat p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 10%;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 600px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.pipeline-step {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s;
}

.pipeline-step:hover {
  background: rgba(0, 255, 136, 0.04);
}

.pipeline-step:first-child { border-radius: 12px 0 0 12px; }
.pipeline-step:last-child { border-radius: 0 12px 12px 0; }

.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

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

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

/* ===== DIFFERENTIATORS ===== */
.differentiators {
  padding: 120px 10%;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}

.diff-card {
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elevated);
  transition: border-color 0.3s;
}

.diff-card:hover {
  border-color: rgba(0, 255, 136, 0.2);
}

.diff-card .icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
}

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

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

/* ===== COMPARISON ===== */
.comparison {
  padding: 120px 10%;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
  max-width: 900px;
}

.compare-col {
  padding: 40px;
  border-radius: 16px;
}

.compare-col.old {
  background: rgba(255, 60, 60, 0.04);
  border: 1px solid rgba(255, 60, 60, 0.12);
}

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

.compare-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.compare-col.old h3 { color: #ff6060; }
.compare-col.new h3 { color: var(--accent); }

.compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-col li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding-left: 24px;
  position: relative;
}

.compare-col.old li::before {
  content: '\00d7';
  position: absolute;
  left: 0;
  color: #ff6060;
  font-weight: 700;
}

.compare-col.new li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== CLOSING ===== */
.closing {
  padding: 160px 10%;
  text-align: center;
}

.closing h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing h2 .highlight { color: var(--accent); }

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

/* ===== FOOTER ===== */
.footer {
  padding: 40px 10%;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline-step:first-child { border-radius: 12px 0 0 0; }
  .pipeline-step:nth-child(2) { border-radius: 0 12px 0 0; }
  .pipeline-step:nth-child(3) { border-radius: 0 0 0 12px; }
  .pipeline-step:last-child { border-radius: 0 0 12px 0; }
  .diff-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 6% 60px; }
  .how-it-works, .differentiators, .comparison, .closing { padding: 80px 6%; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-step { border-radius: 0 !important; }
  .pipeline-step:first-child { border-radius: 12px 12px 0 0 !important; }
  .pipeline-step:last-child { border-radius: 0 0 12px 12px !important; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
}