:root {
  --bg: #0B0F1A;
  --bg-card: #111827;
  --fg: #F0F4F8;
  --fg-muted: #8A9BB5;
  --fg-subtle: #4A5B70;
  --accent-amber: #F5A623;
  --accent-amber-dim: rgba(245, 166, 35, 0.12);
  --accent-blue: #8BB8F8;
  --accent-blue-dim: rgba(139, 184, 248, 0.12);
  --accent-mint: #5EE8A3;
  --accent-mint-dim: rgba(94, 232, 163, 0.12);
  --border: rgba(255,255,255,0.07);
  --border-amber: rgba(245,166,35,0.25);
  --border-blue: rgba(139,184,248,0.25);
  --border-mint: rgba(94,232,163,0.25);
  --glow-amber: rgba(245,166,35,0.15);
  --glow-blue: rgba(139,184,248,0.15);
  --glow-mint: rgba(94,232,163,0.15);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

/* ─── HERO ─── */

.hero {
  padding: 100px 48px 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139,184,248,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 440px;
}

/* Pipeline visualization */
.pipeline-vis {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 60px rgba(139,184,248,0.04), 0 24px 48px rgba(0,0,0,0.4);
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.pipeline-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.pipeline-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-mint);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 6px var(--accent-mint);
  animation: pulse-dot 2s ease-in-out infinite;
}

.pipeline-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pipeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.pipeline-row:hover {
  border-color: var(--border-amber);
  background: rgba(255,255,255,0.02);
}

.row-amber { border-color: var(--border-amber); background: var(--accent-amber-dim); }
.row-blue { border-color: var(--border-blue); background: var(--accent-blue-dim); }
.row-mint { border-color: var(--border-mint); background: var(--accent-mint-dim); }

.row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-score {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  min-width: 32px;
  text-align: center;
}

.score-high { color: var(--accent-amber); }
.score-mid { color: var(--accent-blue); }
.score-low { color: var(--fg-muted); }

.row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.row-meta {
  font-size: 11px;
  color: var(--fg-muted);
}

.row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.row-stage {
  font-size: 11px;
  font-weight: 500;
  color: var(--fg);
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
}

.row-time {
  font-size: 10px;
  color: var(--fg-subtle);
}

.pipeline-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--fg-subtle);
  text-align: center;
  font-style: italic;
}

/* ─── FEATURES ─── */

.features {
  padding: 96px 48px;
  border-bottom: 1px solid var(--border);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-amber:hover { box-shadow: 0 8px 32px var(--glow-amber); }
.feature-blue:hover { box-shadow: 0 8px 32px var(--glow-blue); }
.feature-mint:hover { box-shadow: 0 8px 32px var(--glow-mint); }

.feature-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.feature-amber .feature-accent { background: var(--accent-amber); box-shadow: 0 0 20px var(--accent-amber); }
.feature-blue .feature-accent { background: var(--accent-blue); box-shadow: 0 0 20px var(--accent-blue); }
.feature-mint .feature-accent { background: var(--accent-mint); box-shadow: 0 0 20px var(--accent-mint); }

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-list li {
  font-size: 12px;
  color: var(--fg-subtle);
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg-subtle);
}

.feature-amber .feature-list li::before { background: var(--accent-amber); }
.feature-blue .feature-list li::before { background: var(--accent-blue); }
.feature-mint .feature-list li::before { background: var(--accent-mint); }

/* ─── PHILOSOPHY ─── */

.philosophy {
  padding: 96px 48px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(17,24,39,0.5) 100%);
}

.philosophy-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.deco-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
}

.deco-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 12px var(--accent-amber);
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.philosophy-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.philosophy-sub:last-child { margin-bottom: 0; }

/* ─── CLOSING ─── */

.closing {
  padding: 96px 48px 80px;
  border-bottom: 1px solid var(--border);
}

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

.closing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.stat {
  text-align: center;
  padding: 0 24px;
}

.stat + .stat {
  border-left: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.vision-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* ─── FOOTER ─── */

.footer {
  padding: 32px 48px;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-subtle);
  margin-top: 4px;
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-subtle);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
  .hero { padding: 60px 24px 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .philosophy { padding: 60px 24px; }
  .closing { padding: 60px 24px 48px; }
  .closing-stats { grid-template-columns: 1fr; padding: 32px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .hero-lede { font-size: 15px; }
}