:root {
  --bg: #0c1220;
  --surface: #131929;
  --surface2: #1a2336;
  --fg: #e8edf5;
  --fg-muted: #7a8ba3;
  --accent: #06d6a0;
  --accent-dim: rgba(6, 214, 160, 0.12);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,214,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  background: var(--accent-dim);
  padding: 5px 12px;
  border-radius: 20px;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}
.lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.65;
}

/* PIPELINE VIZ */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pipeline-viz {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 32px;
}
.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}
.node-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.node-source .node-label, .node-target .node-label {
  color: var(--fg-muted);
}
.node-core .node-label {
  color: var(--accent);
}
.node-core {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(6,214,160,0.25);
  border-radius: 10px;
}
.pulse-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg-muted);
  position: relative;
}
.node-source .pulse-ring { background: #8b5cf6; }
.node-target .pulse-ring { background: #06d6a0; }
.core-glow {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(6,214,160,0.6);
}
.connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
}
.flow-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: flow 1.8s ease-in-out infinite;
}
.flow-dot:nth-child(2) { animation-delay: 0.3s; }
.flow-dot:nth-child(3) { animation-delay: 0.6s; }
@keyframes flow {
  0% { opacity: 0.1; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.1; transform: scale(0.8); }
}
.pipeline-viz-2 .node-source .pulse-ring { background: #f59e0b; }
.pipeline-viz-2 .node-target .pulse-ring { background: #ec4899; }

/* STATS */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1100px;
  margin: 56px auto 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.stat {
  flex: 1;
  padding: 24px 32px;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* FEATURES */
.features {
  padding: 100px 48px;
  background: var(--surface);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 56px;
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(6,214,160,0.2); }
.feature-icon {
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* HOW IT WORKS */
.howitworks {
  padding: 100px 48px;
}
.howitworks-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.howitworks h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 64px;
  text-align: center;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1.5px solid rgba(6,214,160,0.3);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-content p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}
.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 24px;
  flex-shrink: 0;
}

/* CLOSING */
.closing {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(6,214,160,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.closing-statement {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

/* FOOTER */
footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 60px 24px 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { order: 1; }
  .hero-visual { order: 2; }
  h1 { font-size: 38px; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 80%; height: 1px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector { display: none; }
  .features, .howitworks, .closing { padding: 60px 24px; }
  footer { padding: 24px; }
}