:root {
  --bg: #0a0a0f;
  --bg-elev: #12131a;
  --bg-elev-2: #1a1c26;
  --ink: #f4f4f7;
  --ink-dim: #a4a4b0;
  --ink-mute: #6f6f7c;
  --line: #26272f;
  --line-warm: #3a3b45;
  --accent: #ff3a2f;
  --accent-2: #ffb400;
  --accent-glow: rgba(255, 58, 47, 0.15);
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: radial-gradient(ellipse at top, #1a0d0e 0%, var(--bg) 40%, var(--bg) 100%);
}

/* ============ TOPBAR ============ */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  background: var(--accent);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  line-height: 1;
}
.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.topbar-tag {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* ============ MAIN ============ */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 120px;
}

.stage { display: none; animation: fadeIn 400ms cubic-bezier(.2,.9,.3,1); }
.stage.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ INTRO ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}
.eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 4px;
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 16px;
}
.mega {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.accent { color: var(--accent); }
.lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-bottom: 36px;
  max-width: 520px;
}
.cta {
  background: var(--accent);
  color: white;
  border: none;
  padding: 20px 36px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 200ms, box-shadow 200ms;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--accent-glow);
}
.micro-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 13px;
}
.micro-stats b {
  color: var(--ink);
  font-size: 24px;
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

/* Hero image */
.intro-visual { display: flex; justify-content: center; align-items: center; }
.hero-image {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: hero-fade-in 900ms ease-out;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(0,0,0,0.35));
  pointer-events: none;
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

/* ============ QUIZ ============ */
.progress {
  margin-bottom: 48px;
}
.progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  width: 20%;
  transition: width 500ms cubic-bezier(.2,.9,.3,1);
}
.progress-text {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.question h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.question .sub {
  color: var(--ink-dim);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 640px;
}

.options {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  max-width: 720px;
}
.option {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 180ms;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  width: 100%;
}
.option:hover {
  border-color: var(--line-warm);
  background: var(--bg-elev-2);
  transform: translateX(4px);
}
.option.selected {
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(255,58,47,0.08), transparent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.option .radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-warm);
  flex-shrink: 0;
  position: relative;
  transition: border-color 180ms;
}
.option.selected .radio {
  border-color: var(--accent);
}
.option.selected .radio::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.option .opt-body {
  flex: 1;
}
.option .opt-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 3px;
}
.option .opt-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.4;
}

/* Weight grid */
.weight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  max-width: 720px;
}
.weight-btn {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 8px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  transition: all 180ms;
}
.weight-btn:hover { border-color: var(--line-warm); background: var(--bg-elev-2); }
.weight-btn.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}
.weight-btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.6;
  margin-top: 2px;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 180ms;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-primary:disabled {
  background: var(--bg-elev-2);
  color: var(--ink-mute);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-secondary {
  background: transparent;
  color: var(--ink-dim);
  border: 1px solid var(--line);
}
.btn-secondary:hover { color: var(--ink); border-color: var(--line-warm); }

/* ============ RESULTS ============ */
.results-header {
  text-align: center;
  margin-bottom: 48px;
}
.results-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.results-sub {
  color: var(--ink-dim);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
}
.results-banner {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.35);
  border-left: 3px solid var(--gold, #ffb400);
  border-radius: 8px;
  color: var(--ink-bright, #f5f5f5);
  font-size: 15px;
  line-height: 1.5;
}
.results-banner b { color: var(--gold, #ffb400); }
.results-banner a { color: var(--red, #ff3a2f); text-decoration: none; font-weight: 600; }
.results-banner a:hover { text-decoration: underline; }
#results-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.result-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms, box-shadow 200ms;
  position: relative;
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-warm);
}
.result-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1.5px;
  font-size: 12px;
  z-index: 2;
}
.result-rank.rank-1 { background: var(--accent); }
.result-rank.rank-2 { background: var(--accent-2); color: #000; }
.result-rank.rank-3 { background: var(--line-warm); }
.result-image {
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #2a2c36, var(--bg-elev-2));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.result-image img { width: 85%; height: 85%; object-fit: contain; }
.result-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.result-vendor {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  color: var(--ink-mute);
  font-size: 12px;
  margin-bottom: 8px;
}
.result-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}
.result-price {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}
.result-why {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  flex: 1;
}
.result-why b { color: var(--ink); }
.result-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.attr-chip {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.result-buy {
  background: var(--ink);
  color: var(--bg);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: background 180ms;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.result-buy:hover { background: white; }
.result-card.top .result-buy {
  background: var(--accent);
  color: white;
}
.result-card.top .result-buy:hover { background: #ff5347; }

.results-alt { margin-bottom: 56px; }
.results-alt h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink-dim);
}
#results-alt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.alt-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: all 180ms;
}
.alt-card:hover { border-color: var(--line-warm); background: var(--bg-elev-2); }
.alt-image {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2c36, #12131a);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alt-image img { width: 90%; height: 90%; object-fit: contain; }
.alt-body { flex: 1; min-width: 0; }
.alt-vendor {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.alt-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.alt-price { font-size: 15px; font-weight: 700; color: var(--accent); }

.results-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.pro-tip {
  background: linear-gradient(135deg, rgba(255,58,47,0.08), rgba(255,180,0,0.05));
  border: 1px solid rgba(255,58,47,0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  line-height: 1.55;
}
.pro-tip-icon { font-size: 28px; flex-shrink: 0; }
.pro-tip a { color: var(--accent); text-decoration: none; font-weight: 600; }
.pro-tip a:hover { text-decoration: underline; }

/* ============ FOOTER ============ */
.foot {
  border-top: 1px solid var(--line);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-mute);
  font-size: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-visual { order: -1; }
  .hero-image { max-width: 100%; }
  #results-cards { grid-template-columns: 1fr; }
  #results-alt-cards { grid-template-columns: 1fr; }
  .micro-stats { flex-wrap: wrap; gap: 20px; }
  .topbar-tag { display: none; }
  .wrap { padding: 32px 20px 80px; }
  .topbar-inner { padding: 14px 20px; }
  .foot { flex-direction: column; gap: 6px; text-align: center; }
  .email-capture-inner { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ EMAIL CAPTURE ============ */
.email-capture {
  background: linear-gradient(135deg, rgba(255,58,47,0.08), rgba(255,180,0,0.04));
  border: 1px solid rgba(255,58,47,0.25);
  border-radius: 14px;
  padding: 36px 32px;
  margin: 48px 0 32px;
}
.email-capture-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.email-copy .eyebrow { color: var(--red, #ff3a2f); margin-bottom: 8px; }
.email-copy h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  line-height: 1.05;
}
.email-copy p { color: var(--ink-mute); font-size: 15px; line-height: 1.5; margin: 0; }
.email-copy b { color: var(--ink); }
.email-form { display: flex; flex-direction: column; gap: 12px; }
.email-form input[type="email"] {
  padding: 16px 18px;
  font-size: 16px;
  font-family: inherit;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms;
}
.email-form input[type="email"]:focus {
  border-color: var(--red, #ff3a2f);
  background: rgba(0,0,0,0.5);
}
.email-form input[type="email"]::placeholder { color: var(--ink-mute); opacity: 0.7; }
.email-form .btn-primary { padding: 16px 24px; font-size: 15px; }
.email-fineprint { font-size: 12px; color: var(--ink-mute); opacity: 0.7; text-align: center; margin-top: 2px; }
.email-success {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 4px;
}
.email-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1d7a3d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
.email-success b { color: var(--ink); }
.email-success div:last-child { color: var(--ink-mute); font-size: 15px; line-height: 1.5; }
