:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-input: #1d1d1d;
  --border: #2a2a2a;
  --text: #f5f5f2;
  --text-dim: #a8a8a2;
  --yellow: #ffd90f;
  --yellow-dark: #e6c200;
  --red: #ff3b30;
  --font-head: 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

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

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar { border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.logo { font-family: var(--font-head); font-size: 15px; letter-spacing: 1px; }
.yellow { color: var(--yellow); }
.topbar-note { font-size: 13px; color: var(--text-dim); font-weight: 600; }

/* Hero */
.hero { padding: 24px 0 32px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow);
  border: 1px solid var(--yellow);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hl {
  background: var(--yellow);
  color: #0a0a0a;
  padding: 0 8px;
  display: inline-block;
  transform: rotate(-1deg);
}

/* 3D rotating highlight block */
.hl-rotator { display: inline-block; perspective: 900px; }
.hl-faces {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  animation: hlSpin 12s cubic-bezier(0.68, -0.1, 0.32, 1.1) infinite;
}
.hl-faces .hl { display: block; white-space: nowrap; backface-visibility: hidden; transform: none; }
.hl-faces .hl:not(.face1) { position: absolute; inset: 0; text-align: center; }
.face1 { transform: translateZ(0.56em); }
.face2 { transform: rotateX(90deg) translateZ(0.56em); }
.face3 { transform: rotateX(180deg) translateZ(0.56em); }
.face4 { transform: rotateX(270deg) translateZ(0.56em); }
@keyframes hlSpin {
  0%, 18%   { transform: rotateX(0deg); }
  25%, 43%  { transform: rotateX(-90deg); }
  50%, 68%  { transform: rotateX(-180deg); }
  75%, 93%  { transform: rotateX(-270deg); }
  100%      { transform: rotateX(-360deg); }
}

/* Wizard step transition */
.calc-body.step-in { animation: stepIn 0.28s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.vis { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hl-faces { animation: none; }
  .hl-faces .hl:not(.face1) { display: none; }
  .calc-body.step-in { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary { animation: none !important; }
}
.subhead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Calculator card */
.calc {
  margin-bottom: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 0 0 4px rgba(255, 217, 15, 0.08), 0 24px 60px rgba(0,0,0,0.6);
}
.progress { height: 6px; background: var(--bg-input); }
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--yellow);
  transition: width 0.3s ease;
}
.calc-body { padding: 32px 28px; min-height: 320px; display: flex; flex-direction: column; }

.step-count {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow);
  margin-bottom: 10px;
}
.step-q {
  font-family: var(--font-head);
  font-size: clamp(20px, 3.5vw, 28px);
  line-height: 1.2;
  margin-bottom: 6px;
}
.step-help { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; }

select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
  width: 100%;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  outline: none;
  appearance: none;
}
select:focus, input:focus { border-color: var(--yellow); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23ffd90f' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.money-wrap { position: relative; }
.money-wrap::before {
  content: '$';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 800;
  color: var(--yellow);
}
.money-wrap input { padding-left: 34px; }

.choices { display: grid; gap: 10px; }
.choice-btn {
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.12s, transform 0.12s;
}
.choice-btn:hover { border-color: var(--yellow); transform: translateY(-1px); }

.btn-row { margin-top: auto; display: flex; gap: 12px; align-items: center; padding-top: 24px; }
.btn-primary {
  flex: 1;
  background: var(--yellow);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 17px 20px;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-primary { animation: ctaPulse 2.4s ease-out infinite; }
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 217, 15, 0.45); }
  60%  { box-shadow: 0 0 0 12px rgba(255, 217, 15, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 217, 15, 0); }
}
.btn-back {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px;
}
.btn-back:hover { color: var(--text); }
.err { color: var(--red); font-size: 14px; font-weight: 600; margin-top: 10px; display: none; }

/* Teaser + gate */
.teaser-label { font-size: 14px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.teaser-range {
  font-family: var(--font-head);
  font-size: clamp(30px, 6vw, 46px);
  color: var(--yellow);
  margin: 10px 0 6px;
  line-height: 1.1;
}
.teaser-basis { font-size: 14px; color: var(--text-dim); margin-bottom: 22px; }
.gate-pitch {
  background: var(--bg-input);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  margin-bottom: 20px;
}
.gate-form { display: grid; gap: 12px; }

/* Result breakdown */
.result-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.result-line strong { font-weight: 800; }
.result-line.total { border-bottom: none; font-family: var(--font-head); font-size: 20px; color: var(--yellow); padding-top: 18px; }

/* Trust strip */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-item strong { font-family: var(--font-head); font-size: 26px; color: var(--yellow); }
.trust-item span { font-size: 13px; color: var(--text-dim); max-width: 160px; }

/* Method section */
.method { padding: 56px 0; border-top: 1px solid var(--border); text-align: center; }
.method h2 { font-family: var(--font-head); font-size: clamp(24px, 4vw, 36px); text-transform: uppercase; margin-bottom: 16px; }
.method p { color: var(--text-dim); max-width: 620px; margin: 0 auto 14px; font-size: 16px; }
.method strong { color: var(--text); }
.disclaimer { font-size: 13px !important; opacity: 0.7; }

.footer { border-top: 1px solid var(--border); padding: 24px 0; text-align: center; }
.footer p { font-size: 13px; color: var(--text-dim); }

@media (max-width: 480px) {
  .calc-body { padding: 24px 18px; }
  .trust-strip { gap: 20px; }
  .topbar-note { display: none; }
  .logo { font-size: 11px; }
}
