/* ==========================================================================
   MISSÃO ENEM - DESIGN SYSTEM & STYLES (LIGHT THEME - CENTRALIZADO NO MEIO)
   ========================================================================== */

:root {
  /* Clean Light Theme Palette */
  --bg-main: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-subtle: #F8FAFC;
  --bg-input: #F8FAFC;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-card: #E2E8F0;
  --border-focus: #10B981;

  /* Brand Accents */
  --accent-emerald: #059669;
  --accent-emerald-light: #ECFDF5;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  
  --accent-cyan: #0284C7;
  --accent-cyan-light: #F0F9FF;
  
  --accent-amber: #D97706;
  --accent-amber-light: #FFFBEB;
  
  --accent-red: #DC2626;
  --accent-red-light: #FEF2F2;

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  /* Dimensions & Spacing */
  --max-app-width: 460px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  display: flex;
  justify-content: center;
  align-items: center; /* CENTRALIZADO NO MEIO DA TELA */
  overflow-x: hidden;
  position: relative;
  padding: 16px 10px;
}

/* Ambient Background Lights */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #D1FAE5 0%, #E0F2FE 70%, transparent 80%);
}

.glow-bottom {
  bottom: -100px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #FEF3C7 0%, #D1FAE5 70%, transparent 80%);
}

/* Container Frame - Centralizado no meio da tela */
.app-container {
  width: 100%;
  max-width: var(--max-app-width);
  margin: auto;
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border-subtle);
  overflow: hidden;
}

/* ==========================================================================
   INLEAD STYLE IN-CARD PROGRESS BAR (ACIMA DO TÍTULO DA PERGUNTA)
   ========================================================================== */

.inlead-progress-wrapper {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
}

.inlead-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #059669);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   FUNNEL MAIN CONTAINER & STEPS
   ========================================================================== */

.funnel-content {
  flex: 1;
  padding: 18px 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.funnel-step {
  display: none;
  flex-direction: column;
  animation: fadeInStep 0.3s var(--ease-smooth) forwards;
}

.funnel-step.active {
  display: flex;
}

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

/* Card Foundation */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
}

/* Typography & Highlighting */
.text-highlight-red {
  color: var(--accent-red);
}

.text-highlight-green {
  color: var(--accent-emerald);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.live-tag {
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.green-tag {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.red-tag {
  background: var(--accent-red-light);
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.gold-tag {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.pulse-ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ==========================================================================
   BUTTONS & CTAs (CLEAN & HIGH-CONVERTING)
   ========================================================================== */

.btn-primary {
  width: 100%;
  min-height: 52px;
  background: #059669;
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: all 0.15s ease;
  text-transform: uppercase;
  margin-top: 16px;
}

.btn-primary:active {
  transform: scale(0.97);
  background: #047857;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  animation: shimmer 3.5s infinite;
}

@keyframes shimmer {
  0% { left: -60%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

.btn-pulse {
  animation: pulse-scale 2.4s infinite ease-in-out;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.btn-arrow {
  font-size: 1.15rem;
}

.btn-lg {
  min-height: 58px;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   ETAPA 1: HERO / LANDING
   ========================================================================== */

.hero-card {
  padding: 24px 18px 20px;
}

.main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.25;
  margin-top: 4px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.main-subtitle {
  font-size: 0.96rem;
  line-height: 1.48;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.main-subtitle strong {
  color: var(--text-primary);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.social-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.proof-avatars-cluster {
  display: flex;
  align-items: center;
}

.proof-avatar-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
  margin-left: -6px;
  object-fit: cover;
  display: block;
}

.proof-avatar-img:first-child {
  margin-left: 0;
}

.proof-verified-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}

.hero-footer-text {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-footer-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   ETAPA 2: PROFILING (PRÁTICO, RÁPIDO E CENTRALIZADO)
   ========================================================================== */

.profiling-substep {
  display: none;
  flex-direction: column;
  animation: fadeInSub 0.25s ease forwards;
}

.profiling-substep.active {
  display: flex;
}

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

.step-header {
  margin-bottom: 16px;
}

.step-tracker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.inlead-step-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.step-tracker {
  display: none;
}

.step-header {
  text-align: center;
  margin-bottom: 8px;
}

.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  text-align: center;
}

/* Card de Empatia (Direct Response Blue Modal Style) */
.empathy-card {
  background: linear-gradient(180deg, #1C3886 0%, #162E70 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 38px 22px 24px;
  box-shadow: 0 14px 34px rgba(22, 46, 112, 0.38), 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
  margin: 4px 0 10px;
}

.empathy-card:active {
  transform: scale(0.985);
}

.empathy-card .empathy-emoji {
  font-size: 3.6rem;
  line-height: 1;
  margin-bottom: 24px;
  display: inline-block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
  animation: empathyBounce 3s ease-in-out infinite alternate;
}

@keyframes empathyBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.empathy-card .empathy-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  text-align: center;
  letter-spacing: -0.015em;
  margin: 0;
  padding: 0 4px;
}

.empathy-progress-box {
  width: 100%;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empathy-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.empathy-progress-fill {
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.empathy-action-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 12px;
  letter-spacing: 0.01em;
}

@media (max-width: 380px) {
  .empathy-card {
    padding: 30px 16px 20px;
    border-radius: 20px;
  }
  .empathy-card .empathy-emoji {
    font-size: 3.1rem;
    margin-bottom: 18px;
  }
  .empathy-card .empathy-title {
    font-size: 1.32rem;
  }
}

/* Options Grid - InLead Clean Buttons */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.options-grid.vertical {
  grid-template-columns: 1fr;
}

/* Input InLead Style */
.name-input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.input-card {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.input-card:focus-within {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.lead-name-input,
.lead-text-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
}

.lead-name-input::placeholder,
.lead-text-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Option Card (InLead Standard) */
.option-card,
.q-opt-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  color: var(--text-primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  width: 100%;
}

.option-card:hover,
.q-opt-btn:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}

.option-card:active,
.q-opt-btn:active {
  transform: scale(0.98);
}

.option-card.selected,
.q-opt-btn.selected,
.q-opt-btn.correct {
  background: var(--accent-emerald-light);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

.inlead-letter {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.option-card:hover .inlead-letter,
.q-opt-btn:hover .inlead-letter {
  border-color: #94A3B8;
  color: var(--text-primary);
}

.option-card.selected .inlead-letter,
.q-opt-btn.selected .inlead-letter,
.q-opt-btn.correct .inlead-letter {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.opt-label,
.q-opt-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

/* Transição de Perfil Identificado */
.radar-pulse-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
}

/* ==========================================================================
   ETAPA 4: TELA DE APROVAÇÃO OFICIAL SISU (CHAMADA REGULAR - 100% FIEL À IMAGEM)
   ========================================================================== */

.sisu-approval-container {
  background: #FFFFFF !important;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

.sisu-top-header {
  padding: 18px 14px 14px;
  background: #FFFFFF;
  text-align: center;
}

.sisu-top-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}

.sisu-approval-img-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #EDF5FE;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.sisu-approval-img {
  width: 100%;
  height: auto;
  max-width: 440px;
  display: block;
  object-fit: contain;
}

.sisu-saiba-mais {
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
  color: #0284C7;
  cursor: pointer;
  margin-top: 4px;
}

.sisu-bottom-action {
  padding: 26px 20px 24px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sisu-bottom-congrats {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.62rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 18px 0;
}

.btn-sisu-gradient {
  width: 100%;
  min-height: 56px;
  background: linear-gradient(90deg, #3275F6 0%, #7E35E8 100%);
  border: none;
  border-radius: 16px;
  color: #FFFFFF;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-sisu-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(67, 97, 238, 0.48);
}

.btn-sisu-gradient:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.sisu-sparkle-svg {
  display: inline-block;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

/* ==========================================================================
   ETAPA 5: CARD "A REAL SOBRE A PROVA" (AZUL ROYAL VIBRANTE - 100% FIEL À IMAGEM)
   ========================================================================== */

.real-card {
  background: linear-gradient(180deg, #2B4BD5 0%, #1F39A8 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 36px 20px 28px;
  box-shadow: 0 16px 40px rgba(31, 57, 168, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  width: 100%;
  margin: 0 auto;
}

.real-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.58rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.real-p1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
}

.real-p-italic {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}

.real-p-dream {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.38;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.real-p-pitch {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 26px;
}

.btn-real-red {
  width: 100%;
  min-height: 54px;
  background: linear-gradient(180deg, #FF4326 0%, #FF2B12 100%);
  border: none;
  border-radius: 14px;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 43, 18, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
}

.btn-real-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 43, 18, 0.5);
}

.btn-real-red:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(255, 43, 18, 0.3);
}

@media (max-width: 380px) {
  .real-card {
    padding: 28px 16px 22px;
    border-radius: 20px;
  }
  .real-title {
    font-size: 1.42rem;
    margin-bottom: 16px;
  }
  .real-p1, .real-p-italic, .real-p-pitch {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }
  .real-p-dream {
    font-size: 1.05rem;
    margin-bottom: 16px;
  }
  .btn-real-red {
    font-size: 1.15rem;
    min-height: 50px;
  }
}

/* ==========================================================================
   ETAPA 3: MISSÕES ENEM / DESAFIOS GAMIFICADOS
   ========================================================================== */

.mission-hud-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 2px;
}

.mission-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mission-number-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
}

.mission-category-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 6px;
}

.mission-timer-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--accent-cyan-light);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.milestone-toast {
  background: var(--accent-cyan-light);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.milestone-toast.hidden {
  display: none;
}

.question-card {
  padding: 18px 14px;
}

.question-context {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.question-prompt {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.q-opt-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.q-opt-btn:active {
  transform: scale(0.98);
}

.q-opt-letter {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.q-opt-btn.correct-choice {
  background: var(--accent-emerald-light);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.q-opt-btn.correct-choice .q-opt-letter {
  background: var(--accent-emerald);
  color: #FFFFFF;
}

.q-opt-btn.wrong-choice {
  background: var(--accent-red-light);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.q-opt-btn.wrong-choice .q-opt-letter {
  background: var(--accent-red);
  color: #FFFFFF;
}

/* Feedback Overlay */
.feedback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.feedback-overlay.hidden {
  display: none;
}

.feedback-card {
  width: 100%;
  max-width: var(--max-app-width);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 18px 18px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.25s var(--ease-spring);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.feedback-icon-wrap {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--accent-emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.feedback-card.wrong-feedback .feedback-icon-wrap {
  background: var(--accent-amber-light);
  border-color: rgba(217, 119, 6, 0.2);
}

.feedback-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.feedback-xp-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald);
  color: #FFFFFF;
  margin-bottom: 10px;
}

.feedback-card.wrong-feedback .feedback-xp-pill {
  background: var(--accent-amber);
}

.feedback-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 6px;
}

/* ==========================================================================
   ETAPA 4: SCANNER RADAR / ANÁLISE
   ========================================================================== */

.scanner-card {
  padding: 26px 16px;
}

.cyber-radar {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
}

.radar-circle.c1 { width: 100%; height: 100%; }
.radar-circle.c2 { width: 66%; height: 66%; }
.radar-circle.c3 { width: 33%; height: 33%; }

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0;
  right: 0;
  background: conic-gradient(from 0deg, rgba(2, 132, 199, 0.3) 0deg, transparent 90deg);
  border-radius: 100% 0 0 0;
  transform-origin: bottom left;
  animation: radar-rotate 2s infinite linear;
}

@keyframes radar-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-center-icon {
  font-size: 1.8rem;
  z-index: 2;
}

.scanner-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.scanner-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.scanner-progress-box {
  margin-bottom: 16px;
}

.scanner-bar-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 6px;
}

.scanner-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0284C7, #059669);
  transition: width 0.3s ease;
}

.scanner-percentage {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.scanner-steps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
}

.scan-step-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.scan-step-item.active-scan {
  color: var(--accent-cyan);
  font-weight: 700;
}

.scan-step-item.done-scan {
  color: var(--accent-emerald);
  font-weight: 600;
}

.scanner-ready-box {
  margin-top: 8px;
}

.scanner-ready-box.hidden {
  display: none;
}

.ready-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* ==========================================================================
   ETAPA 5: RESULTADO / DIAGNÓSTICO
   ========================================================================== */

.result-profile-card {
  background: #FFFFFF;
  border: 1.5px solid var(--accent-emerald);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

.profile-header-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 10px;
}

.trophy-badge {
  font-size: 2rem;
  margin-bottom: 8px;
}

.profile-classification {
  margin-bottom: 14px;
}

.clf-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.clf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-primary);
}

.core-revelation-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
}

.revelation-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.revelation-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.alert-box-warning {
  background: var(--accent-red-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.alert-content strong {
  font-size: 0.76rem;
  color: var(--accent-red);
  letter-spacing: 0.02em;
}

/* Gráficos de Habilidades */
.card-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.justify-center {
  justify-content: center;
}

.skill-bars-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skill-bar-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.skill-name {
  color: var(--text-primary);
}

.skill-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.skill-bar-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 0.8s var(--ease-smooth);
}

.mat-fill { background: #D97706; }
.lin-fill { background: #0284C7; }
.hum-fill { background: #059669; }
.nat-fill { background: #DC2626; }

/* Ponto de Atenção & Breakdown */
/* ==========================================================================
   ETAPA 5: INTRODUÇÃO AO MECANISMO (PALAVRAS-CHAVE)
   ========================================================================== */

.mechanism-intro-card {
  padding: 20px 16px;
  border-color: #CBD5E1;
}

.mech-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.28;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.mech-subtext {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
}

.mech-highlight-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  text-align: left;
}

.mech-pill-bad,
.mech-pill-good {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: transform 0.15s ease;
}

.mech-pill-bad {
  background: var(--accent-red-light);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.mech-pill-good {
  background: var(--accent-emerald-light);
  border: 1.5px solid rgba(5, 150, 105, 0.4);
}

.mp-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.mp-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp-content strong {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}

.mech-pill-good .mp-content strong {
  color: var(--accent-emerald);
}

.mp-content span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.mech-verdict-box {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.mv-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.mech-verdict-box p {
  font-size: 0.84rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   ETAPA 6: VSL BRIDGE / MISSÃO DESBLOQUEADA
   ========================================================================== */

.video-bridge-card {
  padding: 24px 16px 20px;
}

.gold-pulse {
  background: var(--accent-amber);
}

.video-bridge-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.video-bridge-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 18px;
}

/* Video Preview Card */
.video-preview-card {
  background: linear-gradient(145deg, #0F172A, #1E293B);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  margin-bottom: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.25);
}

.video-preview-content {
  padding: 34px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-play-btn-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
  padding-left: 4px;
}

.video-preview-card:hover .video-play-btn {
  transform: scale(1.08);
}

.play-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.35);
  animation: ripple-wave 2.2s infinite ease-out;
  z-index: 1;
}

.play-ripple.r2 {
  animation-delay: 1.1s;
}

@keyframes ripple-wave {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.video-preview-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.v-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
}

.v-badge.duration {
  color: var(--accent-cyan-light);
  border-color: rgba(2, 132, 199, 0.4);
}

.v-badge.sound {
  color: #FEF3C7;
  border-color: rgba(217, 119, 6, 0.4);
}

.video-preview-footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #10B981;
  letter-spacing: 0.02em;
}

.video-bridge-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================================================
   ETAPA 7: VSL (APENAS A VSL)
   ========================================================================== */

/* ==========================================================================
   ETAPA 2 (EXTRAS): DEMONSTRAÇÃO DE PALAVRAS-CHAVES & FEEDBACK
   ========================================================================== */

.demo-question-card {
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.demo-keyword-pill {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(2, 132, 199, 0.1));
  border: 1.5px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 0.84rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 16px rgba(5, 150, 105, 0.12);
  margin-bottom: 12px;
}

.demo-keyword-pill strong {
  color: var(--accent-emerald);
  letter-spacing: 0.02em;
}

.keyword-fire {
  font-size: 1.1rem;
}

.demo-feedback-box {
  background: #FFFFFF;
  border: 2px solid var(--accent-emerald);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-top: 14px;
  box-shadow: 0 8px 26px rgba(5, 150, 105, 0.14);
  animation: slideUp 0.3s var(--ease-spring);
}

.demo-feedback-box.hidden {
  display: none;
}

.demo-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 800;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.demo-feedback-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.demo-feedback-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.commitment-card {
  padding: 16px 14px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  text-align: left;
  line-height: 1.35;
}

.commitment-card:hover {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald-light);
}

/* ==========================================================================
   ETAPA 5: VSL & OFERTA CHECKOUT
   ========================================================================== */

.vsl-card {
  padding: 18px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.vsl-header-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.vsl-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 10;
}

vturb-smartplayer {
  width: 100% !important;
  max-width: 400px !important;
  display: block !important;
  margin: 0 auto !important;
}

.vturb-player-placeholder {
  border-radius: 12px;
  overflow: hidden;
}

/* Card de Oferta abaixo da VSL */
.vsl-offer-card {
  width: 100%;
  background: #FFFFFF;
  border: 2px solid var(--accent-emerald);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.1);
  text-align: center;
}

.offer-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.offer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.25;
}

.offer-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.offer-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 18px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-subtle);
}

.offer-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.benefit-check {
  color: var(--accent-emerald);
  font-weight: 900;
  font-size: 1rem;
}

.offer-pricing-box {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(2, 132, 199, 0.08));
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.price-from {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.price-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--accent-emerald);
  line-height: 1;
}

.price-note {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.checkout-btn-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.guarantee-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Helpers */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 6px; }
.mb-3 { margin-bottom: 12px; }
.text-center { text-align: center; }

/* Responsive adjustments */
@media (max-width: 480px) {
  body {
    padding: 0;
    align-items: center;
  }
  .app-container {
    border-radius: 0;
    min-height: 100vh;
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  .main-title { font-size: 1.35rem; }
  .step-title { font-size: 1.2rem; }
  .price-val { font-size: 2.1rem; }
  .options-grid { grid-template-columns: 1fr; }
}
