:root {
  --bg: #0a0f1a;
  --bg-alt: #0d1220;
  --surface: #141c2e;
  --surface2: #1a2540;
  --border: #1e2d3d;
  --text: #e8eaf0;
  --text-dim: #7a8499;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.15);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-head);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.nav-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245,158,11,0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.eyebrow-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.hero-headline {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-codes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.code-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 5px 12px;
  border-radius: 4px;
}

/* DEMO CARD */
.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.05);
}
.demo-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-header-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.demo-header-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(245,158,11,0.5);
}
.demo-title {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-left: 8px;
}
.demo-body {
  padding: 24px;
}
.dtc-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.dtc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 28px;
}
.dtc-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.dtc-placeholder {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
}
.dtc-cursor {
  width: 2px;
  height: 18px;
  background: var(--accent);
  opacity: 0.6;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0; }
}
.dtc-submit {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.results-header {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.part-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.part-row {
  display: grid;
  grid-template-columns: 24px 1fr 140px;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  transition: border-color 0.2s;
}
.part-row:first-child {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.04);
}
.part-row-dim {
  opacity: 0.45;
}
.part-rank {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}
.part-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}
.part-desc {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  display: block;
}
.part-confidence {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.confidence-bar {
  width: 80px;
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}
.confidence-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s;
}
.w73 { width: 73%; }
.w18 { width: 18%; }
.w7 { width: 7%; }
.w2 { width: 2%; }
.confidence-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* PRODUCT DEMO STRIP */
.product-demo {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px;
}
.demo-strip {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.demo-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-val {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: -1px;
}
.stat-desc {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 200px;
}
.demo-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* SECTION SHARED */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

/* FEATURES */
.features {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(245,158,11,0.3);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* CODE EXPLAINER */
.code-explainer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}
.explainer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.explainer-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.explainer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 6px;
  padding: 10px 16px;
  margin-top: 8px;
}
.badge-text {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-mono);
}
.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.comparison-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comparison-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.comparison-tag {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.comparison-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.col-header {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.col-header.old { color: var(--text-dim); background: var(--bg-alt); }
.col-header.new { color: var(--accent); background: var(--accent-dim); }
.col-list { padding: 16px 0; }
.old-item {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}
.new-item {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.4;
}
.new-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  min-width: 40px;
}

/* COVERAGE */
.coverage {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.coverage-inner {
  text-align: center;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.coverage-type {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.coverage-type:hover {
  border-color: rgba(245,158,11,0.3);
}
.coverage-icon-wrap {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coverage-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.coverage-sub {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* CLOSING */
.closing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 100px 40px;
  text-align: center;
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.closing-badge span:last-child {
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
}
.closing-headline {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 48px;
}
.closing-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}
.closing-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.closing-num {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: -1px;
}
.closing-lab {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text);
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.footer-links {
  font-size: 13px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .explainer-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .closing-stats { gap: 32px; }
  .demo-strip { flex-wrap: wrap; gap: 32px; }
}
@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .features { padding: 60px 20px; }
  .code-explainer { padding: 60px 20px; }
  .coverage { padding: 60px 20px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .closing { padding: 60px 20px; }
  .closing-stats { flex-wrap: wrap; gap: 24px; }
  .product-demo { padding: 32px 20px; }
}
