/* ============================================================
   FINANCEL QUIZ — CSS v2.0 PREMIUM TECH
   ============================================================
   Dark-premium, glassmorphism, particles, gradients,
   micro-animations, mobile-first
   ============================================================ */

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.quiz-page {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: #020617;
  color: #e2e8f0;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ─── Canvas Particles (via JS) ────────────────────────── */
#quizParticles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── Aurora BG ────────────────────────────────────────── */
.quiz-aurora {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 5%, rgba(250,204,21,.07), transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 85%, rgba(56,189,248,.06), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(17,25,45,.6), transparent);
}
.quiz-aurora::before,
.quiz-aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.quiz-aurora::before {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(250,204,21,.15), transparent 70%);
  top: -50px; left: -80px;
}
.quiz-aurora::after {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(56,189,248,.12), transparent 70%);
  bottom: -40px; right: -60px;
  animation-delay: -6s;
  animation-direction: alternate-reverse;
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

/* ─── Grid Lines BG ───────────────────────────────────── */
.quiz-grid-bg {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(250,204,21,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,204,21,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
}

/* ─── Container ────────────────────────────────────────── */
.quiz-container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ─── Header / Branding ───────────────────────────────── */
.quiz-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 20px;
}
.quiz-header-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(250,204,21,.15), rgba(56,189,248,.1));
  border: 1px solid rgba(250,204,21,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.quiz-header-logo img { height: 22px; width: auto; }
.quiz-brand-text {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #facc15, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Progress Bar ─────────────────────────────────────── */
.quiz-progress { margin-bottom: 24px; }
.quiz-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.quiz-progress-step {
  font-size: .72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .3px;
}
.quiz-progress-pct {
  font-size: .68rem;
  font-weight: 700;
  background: linear-gradient(90deg, #facc15, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quiz-progress-track {
  height: 5px;
  background: rgba(17,25,45,.9);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(250,204,21,.06);
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #facc15, #38bdf8);
  border-radius: 3px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  width: 0%;
  position: relative;
}
.quiz-progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: -1px; bottom: -1px;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4));
  border-radius: 0 3px 3px 0;
  animation: progressGlow 1.5s ease-in-out infinite;
}
@keyframes progressGlow {
  0%, 100% { opacity: .3; }
  50% { opacity: 1; }
}

/* ─── Card base ────────────────────────────────────────── */
.quiz-card {
  background: rgba(10,15,31,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(250,204,21,.08);
  border-radius: 20px;
  padding: 36px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.quiz-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(250,204,21,.06), transparent 70%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SCREEN: Welcome
   ═══════════════════════════════════════════════════════════ */
.quiz-welcome { text-align: center; justify-content: center; gap: 20px; }

.quiz-welcome-hero-icon {
  width: 72px; height: 72px;
  margin: 0 auto 8px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(250,204,21,.12), rgba(56,189,248,.08));
  border: 1px solid rgba(250,204,21,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: heroFloat 3s ease-in-out infinite;
  position: relative;
}
.quiz-welcome-hero-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  border: 1px solid rgba(250,204,21,.06);
  animation: heroPulse 3s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.08); opacity: 0; }
}

.quiz-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(250,204,21,.08), rgba(56,189,248,.05));
  border: 1px solid rgba(250,204,21,.18);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: .68rem;
  font-weight: 700;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.quiz-welcome-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.quiz-welcome h1 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  color: #f8fafc;
}
.quiz-welcome h1 .text-gold {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quiz-welcome h1 .text-cyan {
  background: linear-gradient(135deg, #38bdf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-welcome-subtitle {
  font-size: .88rem;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto;
}

.quiz-welcome-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.quiz-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.quiz-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #facc15, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quiz-stat-label {
  font-size: .62rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.quiz-welcome-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.quiz-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  color: #64748b;
  font-weight: 500;
}
.quiz-trust-item .trust-icon { font-size: .8rem; }

.quiz-welcome-timer {
  font-size: .72rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════════
   SCREEN: Question
   ═══════════════════════════════════════════════════════════ */
.quiz-question { gap: 20px; }

.quiz-question-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiz-question-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(250,204,21,.1), rgba(56,189,248,.06));
  border: 1px solid rgba(250,204,21,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.quiz-question-number {
  font-size: .65rem;
  font-weight: 700;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.quiz-question-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: #f1f5f9;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(148,163,184,.08);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.quiz-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,204,21,.04), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.quiz-option:hover {
  border-color: rgba(250,204,21,.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(250,204,21,.06);
}
.quiz-option:hover::before { opacity: 1; }
.quiz-option.selected {
  background: rgba(250,204,21,.08);
  border-color: rgba(250,204,21,.5);
  box-shadow: 0 0 0 3px rgba(250,204,21,.08), 0 4px 20px rgba(250,204,21,.1);
  transform: translateY(-1px);
}
.quiz-option.selected::before { opacity: 1; }

.quiz-option-radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #334155;
  transition: all .25s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.quiz-option.selected .quiz-option-radio {
  border-color: #facc15;
  background: #facc15;
  box-shadow: 0 0 12px rgba(250,204,21,.3);
}
.quiz-option.selected .quiz-option-radio::after {
  content: '\2713';
  font-size: .65rem;
  font-weight: 900;
  color: #020617;
}
.quiz-option-label {
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.4;
  color: #cbd5e1;
  position: relative;
  z-index: 1;
}
.quiz-option.selected .quiz-option-label {
  color: #fef3c7;
  font-weight: 600;
}

/* ─── Buttons ──────────────────────────────────────────── */
.quiz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 14px;
  padding: 15px 30px;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.quiz-btn-primary {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #020617;
  box-shadow: 0 4px 20px rgba(250,204,21,.3), inset 0 1px 0 rgba(255,255,255,.15);
}
.quiz-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 200%; height: 200%;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%);
  transform: rotate(25deg);
  animation: btnShimmer 3s ease-in-out infinite;
}
@keyframes btnShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}
.quiz-btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(250,204,21,.4), inset 0 1px 0 rgba(255,255,255,.2);
}
.quiz-btn-primary:active:not(:disabled) { transform: translateY(-1px); }
.quiz-btn-primary:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}
.quiz-btn-primary:disabled::after { display: none; }

.quiz-btn-secondary {
  background: rgba(15,23,42,.5);
  color: #94a3b8;
  border: 1px solid rgba(148,163,184,.12);
  backdrop-filter: blur(8px);
}
.quiz-btn-secondary:hover {
  color: #e2e8f0;
  border-color: rgba(148,163,184,.3);
  background: rgba(15,23,42,.7);
}

.quiz-btn-cta {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34,197,94,.3);
  font-size: .92rem;
  padding: 17px 34px;
}
.quiz-btn-cta::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 200%; height: 200%;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
  transform: rotate(25deg);
  animation: btnShimmer 3s ease-in-out infinite;
}
.quiz-btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(34,197,94,.4);
}

.quiz-btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
  font-size: .88rem;
  padding: 15px 30px;
}
.quiz-btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.35);
}

.quiz-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.quiz-actions-center { justify-content: center; }
.quiz-actions-spread { justify-content: space-between; }

/* ═══════════════════════════════════════════════════════════
   SCREEN: Analyzing
   ═══════════════════════════════════════════════════════════ */
.quiz-analyzing {
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.quiz-analyzing-brain {
  width: 90px; height: 90px;
  position: relative;
  margin: 0 auto;
}
.quiz-analyzing-brain::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(250,204,21,.15);
  border-top-color: #facc15;
  animation: qspin 1.2s linear infinite;
}
.quiz-analyzing-brain::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid rgba(56,189,248,.1);
  border-bottom-color: #38bdf8;
  animation: qspin 1.8s linear infinite reverse;
}
.quiz-analyzing-brain-icon {
  position: absolute;
  inset: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  animation: brainPulse 2s ease-in-out infinite;
}
@keyframes qspin { to { transform: rotate(360deg); } }
@keyframes brainPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: .7; }
}

.quiz-analyzing-msg {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  min-height: 28px;
}
.quiz-analyzing-sub {
  font-size: .78rem;
  color: #64748b;
  margin-top: -8px;
}
.quiz-analyzing-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  max-width: 320px;
}
.quiz-analyzing-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 500;
  color: #475569;
  transition: color .3s, opacity .3s;
}
.quiz-analyzing-step.active { color: #e2e8f0; }
.quiz-analyzing-step.done { color: #22c55e; }
.quiz-analyzing-step-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  flex-shrink: 0;
  transition: all .3s;
}
.quiz-analyzing-step.active .quiz-analyzing-step-icon {
  border-color: #facc15;
  color: #facc15;
  box-shadow: 0 0 8px rgba(250,204,21,.2);
}
.quiz-analyzing-step.done .quiz-analyzing-step-icon {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
}

.quiz-analyzing-bar {
  width: 240px;
  height: 4px;
  background: rgba(17,25,45,.9);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(250,204,21,.05);
}
.quiz-analyzing-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #facc15, #38bdf8);
  border-radius: 2px;
  width: 0%;
  transition: width .4s linear;
}

/* ═══════════════════════════════════════════════════════════
   SCREEN: Lead Capture
   ═══════════════════════════════════════════════════════════ */
.quiz-lead { gap: 18px; }
.quiz-lead-teaser {
  text-align: center;
  padding: 24px 20px;
  background: linear-gradient(135deg, rgba(250,204,21,.04), rgba(56,189,248,.02));
  border: 1px solid rgba(250,204,21,.12);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.quiz-lead-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #facc15, #38bdf8, transparent);
}
.quiz-lead-teaser-profile {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.quiz-lead-teaser h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.quiz-lead-teaser p {
  font-size: .82rem;
  color: #94a3b8;
  line-height: 1.4;
}

.quiz-lead-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(250,204,21,.03);
  border: 1px dashed rgba(250,204,21,.15);
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 600;
  color: #94a3b8;
}
.quiz-lead-lock .lock-icon { font-size: 1rem; }

.quiz-lead h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
}
.quiz-lead-subtitle {
  font-size: .8rem;
  color: #94a3b8;
  text-align: center;
  margin-top: -6px;
}
.quiz-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-input-group { position: relative; }
.quiz-input-group label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.quiz-input {
  width: 100%;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(148,163,184,.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: .86rem;
  color: #f1f5f9;
  transition: all .25s;
  outline: none;
}
.quiz-input:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250,204,21,.08), 0 4px 16px rgba(250,204,21,.04);
}
.quiz-input::placeholder { color: #334155; }

.quiz-lead-privacy {
  font-size: .66rem;
  color: #475569;
  text-align: center;
  line-height: 1.5;
}
.quiz-lead-privacy a { color: #facc15; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   SCREEN: Result
   ═══════════════════════════════════════════════════════════ */
.quiz-result { gap: 20px; align-items: center; text-align: center; }
.quiz-result-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.quiz-result > * { position: relative; z-index: 1; }

.quiz-result-score {
  position: relative;
  width: 130px; height: 130px;
}
.quiz-result-score svg {
  width: 130px; height: 130px;
  transform: rotate(-90deg);
}
.quiz-result-score-ring {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke: rgba(148,163,184,.08);
}
.quiz-result-score-value {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 0 8px currentColor);
}
.quiz-result-score-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.quiz-result-score-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.quiz-result-score-label {
  font-size: .62rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.quiz-result-profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 24px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.quiz-result h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.35;
}
.quiz-result-detail {
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(250,204,21,.06);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  width: 100%;
}
.quiz-result-detail h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.quiz-result-detail p {
  font-size: .84rem;
  color: #94a3b8;
  line-height: 1.6;
}
.quiz-result-insight {
  background: linear-gradient(135deg, rgba(250,204,21,.03), rgba(56,189,248,.02));
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #facc15, #38bdf8) 1;
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  text-align: left;
  width: 100%;
}
.quiz-result-insight p {
  font-size: .84rem;
  color: #cbd5e1;
  line-height: 1.55;
  font-style: italic;
}
.quiz-result-urgency {
  font-size: .8rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 4px 0;
}
.quiz-result-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}
.quiz-result-share {
  font-size: .72rem;
  color: #475569;
}

/* ═══════════════════════════════════════════════════════════
   Profile Colors
   ═══════════════════════════════════════════════════════════ */
.profile-perda_invisivel { --profile-color: #ef4444; }
.profile-manual { --profile-color: #f59e0b; }
.profile-potencial_maximo { --profile-color: #22c55e; }

.profile-perda_invisivel .quiz-result-score-value { stroke: #ef4444; }
.profile-perda_invisivel .quiz-result-score-num { color: #ef4444; }
.profile-perda_invisivel .quiz-result-profile-tag {
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); color: #ef4444;
}
.profile-perda_invisivel .quiz-result-detail h4 { color: #ef4444; }

.profile-manual .quiz-result-score-value { stroke: #f59e0b; }
.profile-manual .quiz-result-score-num { color: #f59e0b; }
.profile-manual .quiz-result-profile-tag {
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2); color: #f59e0b;
}
.profile-manual .quiz-result-detail h4 { color: #f59e0b; }

.profile-potencial_maximo .quiz-result-score-value { stroke: #22c55e; }
.profile-potencial_maximo .quiz-result-score-num { color: #22c55e; }
.profile-potencial_maximo .quiz-result-profile-tag {
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); color: #22c55e;
}
.profile-potencial_maximo .quiz-result-detail h4 { color: #22c55e; }

/* ═══════════════════════════════════════════════════════════
   Estimated Loss Box
   ═══════════════════════════════════════════════════════════ */
.quiz-result-loss {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(239,68,68,.08), rgba(245,158,11,.05));
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 14px;
  padding: 14px 18px;
  width: 100%;
  margin: 8px 0;
  transition: transform .3s ease;
}
.quiz-result-loss.pulse {
  animation: lossPulse 1.5s ease-in-out;
}
@keyframes lossPulse {
  0%, 100% { transform: scale(1); }
  50%  { transform: scale(1.015); box-shadow: 0 0 20px rgba(239,68,68,.15); }
}
.quiz-result-loss-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.quiz-result-loss-content {
  display: flex;
  flex-direction: column;
}
.quiz-result-loss-label {
  font-size: .72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}
.quiz-result-loss-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ef4444;
  text-shadow: 0 0 14px rgba(239,68,68,.2);
}
.quiz-result-loss-note {
  font-size: .72rem;
  color: #94a3b8;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   Benefits List
   ═══════════════════════════════════════════════════════════ */
.quiz-result-benefits {
  width: 100%;
  margin: 6px 0;
}
.quiz-result-benefits h4 {
  font-size: .82rem;
  font-weight: 700;
  color: #22c55e;
  margin: 0 0 10px;
}
.quiz-result-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.quiz-result-benefits-list li {
  padding: 6px 0;
  font-size: .82rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148,163,184,.06);
  opacity: 0;
  animation: benefitSlide .35s ease forwards;
}
.quiz-result-benefits-list li::before {
  content: "✅ ";
  margin-right: 6px;
}
@keyframes benefitSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════
   Offer Box + Timer
   ═══════════════════════════════════════════════════════════ */
.quiz-result-offer {
  width: 100%;
  background: linear-gradient(135deg, rgba(250,204,21,.06), rgba(34,197,94,.04));
  border: 1px solid rgba(250,204,21,.2);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin: 8px 0;
  position: relative;
  overflow: hidden;
}
.quiz-result-offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(250,204,21,.04), transparent);
  animation: offerShimmer 3s linear infinite;
}
@keyframes offerShimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.quiz-result-offer-badge {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #facc15;
  margin-bottom: 10px;
  position: relative;
}
.quiz-result-offer-text {
  font-size: .88rem;
  color: #e2e8f0;
  line-height: 1.5;
  position: relative;
}
.quiz-result-offer-text strong {
  color: #22c55e;
  font-size: 1.1rem;
}
.quiz-result-offer-price {
  font-size: .78rem;
  color: #94a3b8;
}
.quiz-result-offer-timer {
  margin-top: 12px;
  font-size: .82rem;
  color: #f59e0b;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.15);
  position: relative;
}
.quiz-result-offer-timer strong {
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   WhatsApp CTA Button
   ═══════════════════════════════════════════════════════════ */
.quiz-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 24px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(37,211,102,.2);
}
.quiz-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

/* ═══════════════════════════════════════════════════════════
   Guarantee
   ═══════════════════════════════════════════════════════════ */
.quiz-result-guarantee {
  font-size: .72rem;
  color: #64748b;
  margin-top: 2px;
}

/* ─── Hidden utility ───────────────────────────────────── */
.qhidden { display: none !important; }

/* ─── Animations ───────────────────────────────────────── */
.quiz-fade-in { animation: qfadeIn .45s cubic-bezier(.4,0,.2,1) both; }
@keyframes qfadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-slide-up { animation: qslideUp .5s cubic-bezier(.4,0,.2,1) both; }
@keyframes qslideUp {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Responsive ───────────────────────────────────────── */
@media (min-width: 640px) {
  .quiz-container { padding: 28px 24px 64px; }
  .quiz-card { padding: 44px 40px; border-radius: 24px; }
  .quiz-welcome h1 { font-size: 1.95rem; }
  .quiz-question-text { font-size: 1.25rem; }
  .quiz-welcome-stats { gap: 40px; }
}
@media (max-width: 380px) {
  .quiz-card { padding: 24px 18px; }
  .quiz-welcome h1 { font-size: 1.35rem; }
  .quiz-welcome-stats { gap: 16px; }
}
