/* ===================================================
   ESTILOS GENERALES Y VARIABLES - INSTITUTO VITALLE 40+
   DISEÑO CLÍNICO & LUXURY SKINCARE (MOBILE OPTIMIZED)
   =================================================== */

:root {
  --primary: #2D5B52;
  --primary-light: #3A7267;
  --primary-dark: #1A3832;
  --primary-bg: #EFF6F4;
  --accent: #E2737D;
  --accent-light: #FDEDEE;
  --accent-gold: #C59B27;
  --accent-gold-bg: #FEF9EC;
  --bg-page: #FAF8F5;
  --bg-card: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border-color: #E5E7EB;
  --border-active: #2D5B52;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(45, 91, 82, 0.08);
  --shadow-lg: 0 10px 28px rgba(45, 91, 82, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===================================================
   CONTENEDOR PRINCIPAL Y ENCABEZADO
   =================================================== */

.app-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  position: relative;
}

.quiz-header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(8px);
  z-index: 100;
  padding: 10px 16px 6px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.btn-back {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border-radius: 50%;
  transition: opacity 0.2s, background-color 0.2s;
  min-width: 32px;
  min-height: 32px;
}

.btn-back:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 6px;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
}

.header-emblem-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.header-brand-text {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #64748B;
  white-space: nowrap;
  line-height: 1;
}

.header-brand-text .brand-vitalle {
  color: var(--primary-dark);
  font-weight: 900;
  letter-spacing: 0.8px;
}

.header-step-counter {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.phase-badge-pill {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-bg);
  padding: 3px 7px;
  border-radius: 99px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  border: 1px solid rgba(45, 91, 82, 0.15);
}

.progress-bar-container {
  width: 100%;
  height: 5px;
  background-color: #E6ECE9;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: 99px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================
   ÁREA DE CONTENIDO DINÁMICO
   =================================================== */

.quiz-content {
  flex: 1;
  padding: 16px 14px 90px 14px;
  display: flex;
  flex-direction: column;
}

.step-card {
  animation: fadeInSlide 0.25s ease-out forwards;
}

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

.step-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.28;
  margin-bottom: 6px;
  text-align: center;
}

.step-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* ===================================================
   ETAPA 1: SPLASH SCREEN / BOAS-VINDAS
   =================================================== */

.splash-hero-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.splash-badge-wrap {
  display: inline-block;
  background: linear-gradient(90deg, #FEF3C7, #FDE68A);
  border: 1px solid #F59E0B;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.splash-badge-text {
  font-size: 11.5px;
  font-weight: 800;
  color: #92400E;
}

.splash-main-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.splash-sub-title {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.splash-mosaic-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  background-color: #F8FAF9;
}

.splash-mosaic-wrap img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

/* ===================================================
   OPCIONES DEL QUIZ (LISTA SIMPLE / RADIO / BINARIO)
   =================================================== */

.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: var(--shadow-sm);
  user-select: none;
  min-height: 52px;
}

.option-item:active {
  transform: scale(0.99);
}

.option-item.selected {
  border-color: var(--primary);
  background-color: var(--primary-bg);
  box-shadow: 0 0 0 1px var(--primary);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.option-texts {
  display: flex;
  flex-direction: column;
}

.option-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.option-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.option-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  background-color: #F3F4F6;
  color: var(--text-muted);
  border-radius: 6px;
  margin-top: 3px;
  display: inline-block;
  width: fit-content;
}

.option-item.selected .option-tag {
  background-color: rgba(45, 91, 82, 0.15);
  color: var(--primary);
}

.option-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.option-item.selected .option-indicator {
  border-color: var(--primary);
  background-color: var(--primary);
}

.option-item.selected .option-indicator::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #FFFFFF;
  border-radius: 50%;
}

.option-item.checkbox .option-indicator {
  border-radius: 6px;
}

.option-item.checkbox.selected .option-indicator::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  background: none;
  width: auto;
  height: auto;
}

.binary-card {
  padding: 16px 18px;
}

/* ===================================================
   ETAPA 3: GRID ANATÓMICO 2x2 (CORRECCIÓN DE DISTORSIÓN)
   =================================================== */

.image-grid-container.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.image-card-option {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.image-card-option:active {
  transform: scale(0.98);
}

.image-card-option.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  background-color: #F8FAF9;
}

/* CONTENEDOR DE IMAGEN ANATÓMICA - CERO DISTORSIÓN */
.image-card-top {
  width: 100%;
  height: 110px;
  background-color: #F8FAF9;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.image-card-top img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* CERO DISTORSIÓN */
  display: block;
}

.image-card-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.image-card-option.selected .image-card-badge {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.image-card-bottom {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}

.image-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.image-card-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.25;
}

/* ===================================================
   ETAPA 4: SCANNER 3D INTERACTIVO (100% ABOVE THE FOLD)
   =================================================== */

.scanner-screen-card.compact-hero {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.step-title.compact-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.step-subtitle.compact-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.3;
}

.scanner-badge-top {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-bg);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.scanner-visual-wrap.compact {
  width: 100%;
  max-width: 160px;
  height: 125px;
  margin: 4px auto 8px auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle, #FAF8F5 0%, #E8F0EC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D1E3DC;
}

.scanner-face-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.scanner-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #10B981, transparent);
  box-shadow: 0 0 8px #10B981;
  animation: scanLaser 1.8s infinite ease-in-out;
}

@keyframes scanLaser {
  0% { top: 0; }
  50% { top: 95%; }
  100% { top: 0; }
}

.scanner-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  text-align: left;
}

.scanner-metric-card {
  background-color: #F8FAFC;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.scanner-metric-mini-hdr {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 2px;
}

.scanner-track {
  width: 100%;
  height: 5px;
  background-color: #E2E8F0;
  border-radius: 99px;
  overflow: hidden;
}

.scanner-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================
   ETAPA 5.3: SOCIAL STAT CARD (68% PIE)
   =================================================== */

.stat-pie-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#F59E0B 0% 68%, #E5E7EB 68% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.stat-pie-num {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #B45309;
}

/* ===================================================
   ETAPA 6: FITZPATRICK SKIN TONE CIRCLES
   =================================================== */

.fitzpatrick-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}

/* ===================================================
   ETAPA 7: PRE-REPORT TIPS & 4 WEEKS GRAPH
   =================================================== */

.pre-report-card, .graph-4weeks-card, .case-study-screen {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.tips-boxes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-box-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: left;
}

.tip-box-icon { font-size: 20px; flex-shrink: 0; }
.tip-box-title { font-size: 13px; font-weight: 700; color: var(--primary-dark); margin-bottom: 2px; }
.tip-box-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; }

.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.milestone-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.35;
}

.milestone-dot { color: var(--primary); font-size: 14px; }

/* ===================================================
   ETAPA 9: CASO DE ESTUDIO (ANTES Y DESPUÉS)
   =================================================== */

.case-study-img-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 14px 0;
  box-shadow: var(--shadow-sm);
  background-color: #F8FAF9;
}

.case-study-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.case-study-box {
  background-color: #F8FAF9;
  border-left: 4px solid var(--primary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
}

.case-study-quote {
  font-size: 12.5px;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.4;
  margin: 4px 0 6px 0;
}

.case-study-author {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ===================================================
   ETAPA 10: LOADER CIENTÍFICO (TRUST BADGES)
   =================================================== */

.loader-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 65vh;
  padding: 16px;
}

.circular-gauge {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
}

.circular-gauge svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.gauge-bg { fill: none; stroke: #E5E7EB; stroke-width: 8; }
.gauge-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 0.4s ease;
}

.gauge-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-dark);
}

.loader-step-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  max-width: 290px;
  min-height: 44px;
  line-height: 1.35;
}

.loader-trust-badges {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.loader-trust-title { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.loader-ratings-row { font-size: 11px; color: #4B5563; margin-bottom: 6px; }

/* ===================================================
   ETAPA 11: PITCH DE VALOR & ANCORAGEM (UX/UI LUXURY 40+)
   =================================================== */

.pitch-screen-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
}

.pitch-header-box {
  text-align: center;
  margin-bottom: 4px;
}

.pitch-badge-top {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-bg);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.pitch-card-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.pitch-card-box.highlight-border {
  border: 1.5px solid var(--primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAF8 100%);
}

.pitch-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.pitch-badge-tag {
  font-size: 10px;
  font-weight: 700;
  background-color: var(--primary-bg);
  color: var(--primary);
  padding: 2px 7px;
  border-radius: 99px;
}

.pitch-card-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.pitch-target-date-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #FEF9EC;
  border: 1px solid #FDE68A;
  padding: 10px 12px;
  border-radius: var(--radius-md);
}

.date-box-icon {
  font-size: 24px;
}

.date-box-sub {
  font-size: 11px;
  color: #92400E;
}

.date-box-main {
  font-size: 15px;
  font-weight: 800;
  color: #B45309;
}

.pitch-box-heading {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* ZONAS CALIBRADAS CHIPS */
.pitch-target-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pitch-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  background-color: #F8FAF9;
  border: 1px solid #D1E3DC;
  padding: 5px 10px;
  border-radius: 99px;
}

.chip-check {
  color: var(--primary);
  font-weight: 900;
  font-size: 11px;
}

.pitch-prob-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pitch-prob-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pitch-prob-header {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.pitch-track {
  width: 100%;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 99px;
  overflow: hidden;
}

.pitch-bar {
  height: 100%;
  background: linear-gradient(90deg, #10B981, var(--primary));
  border-radius: 99px;
}

.risk-table {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 11.5px;
  margin-bottom: 12px;
}

.risk-header-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background-color: #F8FAFC;
  font-weight: 700;
  padding: 6px 8px;
  border-bottom: 1px solid #E2E8F0;
}

.risk-data-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 6px 8px;
  border-bottom: 1px solid #F1F5F9;
  align-items: center;
}

.pitch-doctor-endorsement {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #F8FAF9;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.doctor-endorse-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.doctor-endorse-text {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ROADMAP */
.pitch-roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pitch-roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.roadmap-num-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.roadmap-step-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.roadmap-step-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ===================================================
   ETAPA 12: CAPTURA DE EMAIL
   =================================================== */

.email-capture-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.email-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.email-input-group {
  margin: 16px 0 12px 0;
  text-align: left;
}

.email-input-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: block;
}

.email-input-field {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  font-family: inherit;
  min-height: 48px;
}

.email-input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 91, 82, 0.12);
}

.email-privacy-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ===================================================
   BOTÓN FIJO INFERIOR
   =================================================== */

.quiz-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  padding: 10px 14px;
  background-color: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 100;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(45, 91, 82, 0.35);
  transition: all 0.18s ease;
  min-height: 50px;
}

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

.btn-primary:disabled {
  background: #CBD5E1;
  box-shadow: none;
  cursor: not-allowed;
}

.pulse-btn {
  animation: pulseSheen 2.5s infinite ease-in-out;
}

@keyframes pulseSheen {
  0% { transform: scale(1); box-shadow: 0 4px 14px rgba(45, 91, 82, 0.35); }
  50% { transform: scale(1.02); box-shadow: 0 8px 20px rgba(45, 91, 82, 0.48); }
  100% { transform: scale(1); box-shadow: 0 4px 14px rgba(45, 91, 82, 0.35); }
}

/* ===================================================
   INTERLUDES COMPARTIDOS
   =================================================== */

.interlude-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.interlude-img-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  border: 4px solid var(--accent-light);
}

.interlude-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interlude-highlight-box {
  background-color: var(--primary-bg);
  border-left: 4px solid var(--primary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
}

/* ===================================================
   PÁGINA DE RESULTADOS & PAYWALL (LUXURY CRO 40+)
   =================================================== */

.paywall-container {
  animation: fadeIn 0.3s ease-out;
  padding-bottom: 120px;
}

.timer-banner {
  background: linear-gradient(90deg, #EA580C, #C2410C);
  color: #FFFFFF;
  padding: 9px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.timer-digits {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
}

.diagnostic-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.diagnostic-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.diagnostic-badge {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-bg);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 3px;
}

.diagnostic-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.diagnostic-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.diagnostic-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

.age-contrast-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background-color: #F8FAFC;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
}

.age-contrast-card {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
}

.age-contrast-card.red { background-color: #FEF2F2; border: 1px solid #FCA5A5; }
.age-contrast-card.green { background-color: #F0FDF4; border: 1px solid #86EFAC; }

.age-card-lbl { font-size: 10px; font-weight: 700; }
.age-contrast-card.red .age-card-lbl { color: #991B1B; }
.age-contrast-card.green .age-card-lbl { color: #166534; }

.age-card-num { font-size: 21px; font-weight: 900; line-height: 1.15; margin: 2px 0; }
.age-contrast-card.red .age-card-num { color: #DC2626; }
.age-contrast-card.green .age-card-num { color: #16A34A; }

.age-yrs { font-size: 10.5px; font-weight: 600; }
.age-card-desc { font-size: 9.5px; color: var(--text-muted); }

.age-contrast-arrow {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.metric-boxes-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.metric-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.metric-box-val { font-size: 16.5px; font-weight: 800; color: var(--primary); }
.metric-box-lbl { font-size: 10.5px; color: var(--text-muted); margin-top: 1px; }

.progress-chart-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAF8 100%);
  border: 1px solid #D7ECE5;
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 18px;
}

.chart-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-bar-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chart-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}

.chart-bar-track {
  width: 100%;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 99px;
  overflow: hidden;
}

.chart-bar-fill { height: 100%; border-radius: 99px; }
.fill-orange { background: #EA580C; }
.fill-green { background: #10B981; }
.fill-primary { background: var(--primary); }

/* ===================================================
   MICRO-VSL / MEDIA PREVIEW CARD
   =================================================== */

.vsl-preview-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAF8 100%);
  border: 1.5px solid #D1E3DC;
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.vsl-header {
  text-align: center;
  margin-bottom: 10px;
}

.vsl-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #DC2626;
  background-color: #FEF2F2;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.vsl-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.vsl-media-wrap {
  width: 100%;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background-color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.vsl-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.vsl-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
}

.vsl-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, var(--primary));
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding-left: 3px;
  transition: transform 0.2s ease;
}

.vsl-media-wrap:hover .vsl-play-btn {
  transform: scale(1.08);
}

.vsl-duration {
  font-size: 10.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 8px;
  border-radius: 99px;
}

.vsl-caption {
  font-size: 11.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.plans-section-title {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: var(--primary-dark);
  margin: 20px 0 4px 0;
}

.plans-section-sub {
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.plans-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-card {
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.plan-card.active {
  border-color: var(--primary);
  background-color: #F5FAF8;
  box-shadow: 0 4px 14px rgba(45, 91, 82, 0.15);
}

.plan-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: linear-gradient(90deg, #E2737D, #D65A65);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-card.active .plan-radio-circle {
  border-color: var(--primary);
  background-color: var(--primary);
}

.plan-card.active .plan-radio-circle::after {
  content: '';
  width: 5px;
  height: 5px;
  background-color: #FFFFFF;
  border-radius: 50%;
}

.plan-name { font-size: 14px; font-weight: 700; color: var(--text-main); }
.plan-daily-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(45, 91, 82, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 2px;
  display: inline-block;
}

.plan-pricing-box { text-align: right; }
.plan-price-main { font-size: 18px; font-weight: 800; color: var(--primary-dark); }
.plan-price-period { font-size: 11px; color: var(--text-muted); }
.plan-regular-price { font-size: 11px; text-decoration: line-through; color: var(--text-light); }
.plan-billing-desc { font-size: 11px; color: var(--text-muted); margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--border-color); }

.bonuses-stack-section {
  background: linear-gradient(180deg, #FFF8F8 0%, #FFFFFF 100%);
  border: 1.5px solid #FCE4E6;
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  margin: 18px 0;
}

.bonuses-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.bonuses-gift-icon { font-size: 22px; }
.bonuses-title { font-size: 14.5px; font-weight: 800; color: #991B1B; }
.bonuses-sub { font-size: 11px; color: var(--text-muted); }
.bonuses-list { display: flex; flex-direction: column; gap: 8px; }

.bonus-item-card {
  display: flex;
  gap: 10px;
  background-color: #FFFFFF;
  border: 1px solid #F3D0D4;
  border-radius: var(--radius-md);
  padding: 8px;
  align-items: center;
}

.bonus-item-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFF1F2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-item-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bonus-item-details { flex: 1; }
.bonus-tag-row { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.bonus-badge-free { font-size: 9px; font-weight: 800; color: #FFFFFF; background-color: #DC2626; padding: 1px 5px; border-radius: 4px; }
.bonus-old-price { font-size: 10px; text-decoration: line-through; color: var(--text-light); }
.bonus-item-title { font-size: 12px; font-weight: 700; color: var(--text-main); line-height: 1.2; }
.bonus-item-sub { font-size: 10.5px; color: var(--text-muted); line-height: 1.25; margin-top: 1px; }

.price-anchor-section { margin: 18px 0; }
.anchor-section-title { font-size: 15px; font-weight: 800; color: var(--primary-dark); text-align: center; margin-bottom: 3px; }
.anchor-section-sub { font-size: 11.5px; color: var(--text-muted); text-align: center; margin-bottom: 10px; }
.anchor-cards-list { display: flex; flex-direction: column; gap: 8px; }

.anchor-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.anchor-card.winner {
  border: 2px solid var(--primary);
  background-color: #F4FAF8;
}

.anchor-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.anchor-method-name { font-size: 12.5px; font-weight: 700; color: var(--text-main); }
.anchor-card.winner .anchor-method-name { color: var(--primary); }
.anchor-cost-val { font-size: 12px; font-weight: 700; color: #DC2626; }
.anchor-card.winner .anchor-cost-val { color: var(--primary-dark); }
.anchor-drawbacks { font-size: 11px; color: var(--text-muted); line-height: 1.3; }

.included-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
}

.included-title { font-size: 14.5px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.included-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.included-list li { font-size: 12px; color: var(--text-main); display: flex; align-items: flex-start; gap: 6px; line-height: 1.35; }
.included-list li span.check { color: var(--primary); font-weight: 800; }

.testimonials-section { margin: 20px 0; }
.testimonials-title { font-size: 16px; font-weight: 800; color: var(--primary-dark); text-align: center; margin-bottom: 12px; }
.testimonial-card { background-color: var(--bg-card); border-radius: var(--radius-lg); padding: 14px 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 8px; }
.testimonial-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.testimonial-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-size: 13px; font-weight: 700; color: var(--text-main); }
.testimonial-meta { font-size: 11px; color: var(--text-muted); }
.testimonial-stars { color: #F59E0B; font-size: 11px; margin-bottom: 3px; }
.testimonial-text { font-size: 12px; color: var(--text-main); line-height: 1.35; font-style: italic; }

.guarantee-card {
  background-color: #F4FAF8;
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guarantee-badge-img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 6px; }
.guarantee-title { font-size: 14px; font-weight: 700; color: var(--primary-dark); margin-bottom: 3px; }
.guarantee-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; }

.faq-section { margin: 20px 0; }
.faq-title { font-size: 16px; font-weight: 800; color: var(--primary-dark); text-align: center; margin-bottom: 12px; }
.faq-item { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 6px; overflow: hidden; }
.faq-question { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--text-main); display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-icon { font-size: 14px; font-weight: 700; color: var(--primary); transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 14px 10px 14px; font-size: 12px; color: var(--text-muted); line-height: 1.35; display: none; }
.faq-item.open .faq-answer { display: block; }

.legal-footer { text-align: center; padding: 18px 12px; font-size: 10.5px; color: var(--text-light); line-height: 1.45; }
.legal-links { display: flex; justify-content: center; gap: 10px; margin-bottom: 4px; }
.legal-links a { color: var(--text-muted); text-decoration: none; }

.paywall-cta-wrap {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 100;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

.cta-guarantee-text { font-size: 10px; color: var(--text-muted); text-align: center; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 4px; }

.exit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.exit-modal-box {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  max-width: 390px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.exit-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
}

.exit-modal-icon { font-size: 36px; margin-bottom: 4px; }
.exit-modal-title { font-size: 17px; font-weight: 800; color: var(--primary-dark); line-height: 1.25; margin-bottom: 6px; }
.exit-modal-sub { font-size: 12.5px; color: var(--text-muted); line-height: 1.35; }
.exit-decline-btn { background: none; border: none; font-size: 11px; color: var(--text-muted); text-decoration: underline; cursor: pointer; margin-top: 8px; }
