:root {
  --bg-deep: #050814;
  --bg-night: #0a1024;
  --bg-card: #0f1730;
  --ink: #e9edf8;
  --ink-dim: #9aa4c4;
  --ink-mute: #646e90;
  --line: rgba(255,255,255,0.08);
  --line-bright: rgba(255,255,255,0.16);
  --electric: #2f7bff;
  --cyan: #4ee0ff;
  --acid: #c8ff5a;
  --amber: #ffbd4e;
  --red: #ff6b6b;
  --whatsapp: #25d366;
  --grad-primary: linear-gradient(135deg, #2f7bff 0%, #4ee0ff 100%);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}
body {
  background-color: var(--bg-deep);
  background-image: radial-gradient(rgba(255,255,255,0.026) 1px, transparent 1.3px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(47,123,255,0.14), transparent 45%),
    radial-gradient(circle at 85% 78%, rgba(78,224,255,0.09), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,8,20,0.9);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-back {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--cyan); }
.nav-back svg { width: 14px; height: 14px; }

.shell {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 132px 32px 100px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: start;
}

.aside { position: sticky; top: 124px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid rgba(78,224,255,0.3);
  border-radius: 50px;
  background: rgba(78,224,255,0.06);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.aside h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.aside h1 em { font-style: italic; color: var(--cyan); }
.aside > p {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 34px;
}
.get-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.get-item { display: flex; gap: 14px; align-items: flex-start; }
.get-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px;
  background: rgba(78,224,255,0.1);
  border: 1px solid var(--line-bright);
  display: grid; place-items: center;
  color: var(--cyan);
}
.get-ico svg { width: 17px; height: 17px; }
.get-text strong { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.get-text span { color: var(--ink-dim); font-size: 13px; line-height: 1.5; }

.aside-trust { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 1; }
.trust-num em { color: var(--cyan); font-style: normal; }
.trust-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }

.other-tools { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.other-tools h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.other-tools a { display: flex; align-items: center; gap: 8px; color: var(--ink-dim); text-decoration: none; font-size: 13px; margin-bottom: 9px; transition: color 0.2s; }
.other-tools a:hover { color: var(--cyan); }
.other-tools a svg { width: 12px; height: 12px; opacity: 0.6; }

.main { min-width: 0; }

.progress-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.progress-bar { flex: 1; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--grad-primary); border-radius: 5px; transition: width 0.4s cubic-bezier(0.65,0,0.35,1); }
.progress-text { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); white-space: nowrap; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 42px 40px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6);
}

.q-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--cyan); text-transform: uppercase; margin-bottom: 14px; }
.q-text { font-family: var(--font-display); font-weight: 400; font-size: 29px; line-height: 1.22; letter-spacing: -0.01em; margin-bottom: 8px; }
.q-hint { color: var(--ink-mute); font-size: 14px; margin-bottom: 28px; }

.options { display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
}
.option:hover { border-color: var(--line-bright); background: rgba(78,224,255,0.04); transform: translateX(3px); }
.option.selected { border-color: var(--cyan); background: rgba(78,224,255,0.08); }
.option .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-bright); flex-shrink: 0; position: relative; transition: border-color 0.2s; }
.option.selected .radio { border-color: var(--cyan); }
.option.selected .radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--cyan); }
.option .opt-label { flex: 1; }
.option .opt-sub { display: block; font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

.card-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 14px; }
.btn-back { background: transparent; border: none; color: var(--ink-dim); font-family: var(--font-mono); font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.btn-back:hover { color: var(--ink); }
.btn-back:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-back svg { width: 14px; height: 14px; }
.btn-next { background: var(--cyan); color: var(--bg-deep); border: none; border-radius: 50px; padding: 13px 28px; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s; }
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(78,224,255,0.6); }
.btn-next:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-next svg { width: 15px; height: 15px; }

.result { display: none; }
.result.show { display: block; }
.quiz.hide { display: none; }

.score-hero { text-align: center; padding: 12px 0 36px; }
.gauge { position: relative; width: 230px; height: 230px; margin: 0 auto 8px; }
.gauge svg { transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--line); stroke-width: 14; }
.gauge-fill { fill: none; stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.65,0,0.35,1); }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-num { font-family: var(--font-display); font-weight: 300; font-size: 70px; line-height: 1; }
.gauge-outof { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-top: 4px; letter-spacing: 0.1em; }
.score-band { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-top: 14px; }

.result-summary { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.4; text-align: center; color: var(--ink); margin: 0 auto 34px; }
.result-summary em { font-style: italic; color: var(--cyan); }

.savings-box { background: linear-gradient(135deg, rgba(47,123,255,0.14), rgba(78,224,255,0.06)); border: 1px solid rgba(78,224,255,0.28); border-radius: 16px; padding: 28px; text-align: center; margin-bottom: 32px; }
.savings-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 10px; }
.savings-value { font-family: var(--font-display); font-weight: 300; font-size: 42px; line-height: 1; color: var(--ink); }
.savings-value em { color: var(--cyan); font-style: normal; }
.savings-sub { font-size: 13px; color: var(--ink-mute); margin-top: 10px; }

.recs-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.rec { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.rec-priority { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 50px; flex-shrink: 0; margin-top: 2px; }
.rec-priority.high { background: rgba(255,107,107,0.15); color: var(--red); border: 1px solid rgba(255,107,107,0.3); }
.rec-priority.med { background: rgba(255,189,78,0.15); color: var(--amber); border: 1px solid rgba(255,189,78,0.3); }
.rec-priority.low { background: rgba(200,255,90,0.12); color: var(--acid); border: 1px solid rgba(200,255,90,0.3); }
.rec-body strong { display: block; font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.rec-body span { color: var(--ink-dim); font-size: 13px; line-height: 1.5; }

.result-cta { margin-top: 36px; padding: 32px; background: var(--bg-night); border: 1px solid var(--line-bright); border-radius: 16px; text-align: center; }
.result-cta h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin-bottom: 10px; }
.result-cta h3 em { font-style: italic; color: var(--cyan); }
.result-cta p { color: var(--ink-dim); font-size: 15px; margin-bottom: 24px; max-width: 440px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-buttons a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 50px; text-decoration: none; font-family: var(--font-body); font-size: 14px; font-weight: 600; transition: transform 0.2s; }
.cta-buttons a:hover { transform: translateY(-2px); }
.cta-buttons .wa { background: var(--whatsapp); color: white; }
.cta-buttons .call { background: transparent; color: var(--ink); border: 1px solid var(--line-bright); }
.cta-buttons svg { width: 16px; height: 16px; }

.restart { display: block; margin: 28px auto 0; background: none; border: none; color: var(--ink-mute); font-family: var(--font-mono); font-size: 12px; cursor: pointer; text-decoration: underline; transition: color 0.2s; }
.restart:hover { color: var(--ink-dim); }

.disclaimer { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); margin-top: 24px; line-height: 1.6; }

/* ===== LEAD GATE ===== */
.lead-gate { display: none; }
.lead-badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--acid);
  padding: 5px 13px; border: 1px solid rgba(200,255,90,0.3);
  background: rgba(200,255,90,0.08); border-radius: 40px; margin-bottom: 18px;
}
.lead-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px;
}
.lead-title em { font-style: italic; color: var(--cyan); }
.lead-sub { color: var(--ink-dim); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 7px; }
.lead-field span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-mute);
}
.lead-field input {
  padding: 13px 15px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-bright); border-radius: 10px;
  color: var(--ink); font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.lead-field input:focus { border-color: var(--cyan); background: rgba(78,224,255,0.05); }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-error { color: var(--red); font-size: 13px; min-height: 18px; margin: 4px 0 8px; }
.lead-submit {
  width: 100%; padding: 15px 24px; margin-top: 6px;
  background: var(--cyan); color: var(--bg-deep); border: none; border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.lead-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(78,224,255,0.6); }
.lead-submit:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.lead-submit svg { width: 16px; height: 16px; }
.lead-fine { text-align: center; color: var(--ink-mute); font-size: 12px; margin-top: 14px; }

.email-conf {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 12px; margin-bottom: 26px;
  font-size: 14px; font-weight: 500;
}
.email-conf.is-ok { background: rgba(200,255,90,0.08); border: 1px solid rgba(200,255,90,0.25); color: var(--ink); }
.email-conf.is-warn { background: rgba(255,189,78,0.08); border: 1px solid rgba(255,189,78,0.25); color: var(--ink); }
.email-conf .ok { color: var(--acid); font-weight: 700; }
.email-conf .warn { color: var(--amber); font-weight: 700; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; gap: 36px; padding: 116px 22px 80px; }
  .aside { position: static; }
  .aside h1 { font-size: clamp(34px, 8vw, 46px); }
  .aside-trust { max-width: 420px; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .nav-logo img { height: 36px; }
  .card { padding: 30px 22px; }
  .lead-row { grid-template-columns: 1fr; }
  .lead-title { font-size: 25px; }
  .q-text { font-size: 24px; }
  .gauge { width: 200px; height: 200px; }
  .gauge-num { font-size: 60px; }
  .savings-value { font-size: 32px; }
  .cta-buttons a { width: 100%; justify-content: center; }
}
