/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - QUIZ PILATES EM CASA 45+
   Inspired by high-end interactive sneaker customizer UI & modern dark theme
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070b14;
  --bg-card: #0e172a;
  --bg-card-hover: #162444;
  --bg-glass: rgba(14, 23, 42, 0.85);
  
  --primary-blue: #0088ff;
  --primary-blue-glow: rgba(0, 136, 255, 0.4);
  --cyan-accent: #38bdf8;
  --emerald-green: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --warning-amber: #f59e0b;
  --danger-red: #ef4444;
  --gold-yellow: #facc15;
  --gold-glow: rgba(250, 204, 21, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.1);
  --border-active: #38bdf8;

  /* Typography */
  --font-family-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-family-title: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Shadows & Physics */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  --shadow-button-press: inset 0 3px 5px rgba(0,0,0,0.5);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.dark-theme {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family-body);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Particle Canvas Background */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Sound Toggle Floating Button */
.sound-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1000;
  background: rgba(14, 23, 42, 0.75);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.sound-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan-accent);
  transform: translateY(-2px);
}

/* Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

/* ==========================================================================
   QUIZ HEADER & PROGRESS BAR
   ========================================================================== */

.quiz-header {
  margin-bottom: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.3s ease;
}

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

.brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--emerald-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.brand-text {
  font-family: var(--font-family-title);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--cyan-accent);
}

.step-counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.progress-bar-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 5.5%; /* Initial 1/18 */
  background: linear-gradient(90deg, var(--primary-blue), var(--cyan-accent), var(--emerald-green));
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease-spring);
  position: relative;
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 100%;
  background: white;
  filter: blur(4px);
  opacity: 0.8;
}

/* ==========================================================================
   QUIZ CARDS & STEPS
   ========================================================================== */

.quiz-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quiz-card {
  display: none; /* Controlled by JS */
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  animation: cardFadeIn 0.35s var(--ease-smooth) forwards;
  position: relative;
}

.quiz-card.active-card {
  display: block;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Typography elements inside quiz */
.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-tag.glow-cyan {
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.main-title {
  font-family: var(--font-family-title);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step1-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}

.title-blue {
  font-family: var(--font-family-title);
  font-weight: 900;
  color: #38bdf8;
  font-size: 1.35rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.title-white {
  font-family: var(--font-family-title);
  font-weight: 900;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-time-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-green);
}

.step1-hero-image-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin: 12px 0 16px;
  background: #000;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   ETAPA 5 — SWIPE PROOF CAROUSEL (Touch, Mouse Drag & Arrows for PC)
   ========================================================================== */

.swipe-hint {
  font-size: 0.8rem;
  color: var(--cyan-accent);
  font-weight: 700;
  margin-bottom: 10px;
  animation: pulse-glow 2s infinite;
}

.swipe-proof-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.swipe-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(14, 23, 42, 0.85);
  border: 1px solid var(--cyan-accent);
  color: var(--cyan-accent);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.swipe-arrow:hover {
  background: var(--cyan-accent);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.swipe-arrow.prev { left: -10px; }
.swipe-arrow.next { right: -10px; }

.swipe-proof-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 4px 0 10px;
  cursor: grab;
}

.swipe-proof-container:active {
  cursor: grabbing;
}

.swipe-proof-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.swipe-proof-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.swipe-card {
  scroll-snap-align: center;
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.swipe-image-wrapper {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #000;
}

.swipe-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swipe-card-footer {
  padding: 12px;
  background: rgba(14, 23, 42, 0.9);
  text-align: center;
}

.swipe-age-label {
  font-family: var(--font-family-title);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--cyan-accent);
  letter-spacing: 0.04em;
}

.swipe-dots-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.swipe-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.swipe-dot.active {
  background: var(--cyan-accent);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   ETAPA 11 — DIAGNOSTIC CHART & YELLOW OUTLINES
   ========================================================================== */

.chart-image-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.diagnostic-chart-img {
  width: 100%;
  height: auto;
  display: block;
}

.yellow-highlight-outline {
  border: 2px solid var(--gold-yellow);
  background: rgba(250, 204, 21, 0.15);
  color: #ffffff;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
  margin: 2px 0;
}

/* ==========================================================================
   ETAPA 18 — SPEECH BALLOON TESTIMONIAL CARDS
   ========================================================================== */

.bubble-testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  text-align: left;
}

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

.bubble-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}

.bubble-role {
  font-size: 0.78rem;
  color: var(--cyan-accent);
  font-weight: 600;
}

.bubble-stars {
  color: var(--gold-yellow);
  font-size: 1rem;
  margin-bottom: 6px;
}

.bubble-quote {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #f1f5f9;
}

.question-title {
  font-family: var(--font-family-title);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 14px;
}

.subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.highlight-text {
  color: var(--cyan-accent);
  font-weight: 600;
}

/* ==========================================================================
   INTERACTIVE SNEAKER-STYLE BUTTONS & OPTIONS GRID
   ========================================================================== */

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.interactive-shoe-btn {
  position: relative;
  width: 100%;
  background: linear-gradient(145deg, #131f38, #0b1220);
  border: 1px solid var(--border-light);
  border-bottom: 3px solid rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text-main);
  font-family: var(--font-family-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s var(--ease-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  overflow: hidden;
}

/* Hover effect with 3D tilt & neon outline */
.interactive-shoe-btn:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--cyan-accent);
  background: linear-gradient(145deg, #1a2a4c, #0f1c34);
  box-shadow: var(--shadow-glow);
}

/* Active click press physics (sneaker sole spring bounce feel) */
.interactive-shoe-btn:active,
.interactive-shoe-btn.clicked {
  transform: translateY(2px) scale(0.98);
  border-bottom-width: 1px;
  box-shadow: var(--shadow-button-press);
}

.interactive-shoe-btn.selected {
  border-color: var(--cyan-accent);
  background: linear-gradient(145deg, #123760, #0c203b);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.interactive-shoe-btn.selected .btn-arrow {
  transform: translateX(4px);
  color: var(--cyan-accent);
}

.btn-emoji, .btn-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.btn-text {
  flex: 1;
}

.btn-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

/* Multi-select check indicators */
.btn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.btn-dot.red { background-color: var(--danger-red); box-shadow: 0 0 6px var(--danger-red); }
.btn-dot.green { background-color: var(--emerald-green); box-shadow: 0 0 6px var(--emerald-green); }

.checkbox-indicator {
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.multi-btn.selected .checkbox-indicator {
  background-color: var(--cyan-accent);
  border-color: var(--cyan-accent);
}

.multi-btn.selected .checkbox-indicator::after {
  content: '✓';
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
}

/* Primary Action CTA Buttons */
.action-cta-btn {
  width: 100%;
  background: linear-gradient(135deg, #0088ff, #0055cc);
  border: none;
  border-bottom: 4px solid #003380;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  color: white;
  font-family: var(--font-family-title);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 8px 20px rgba(0, 136, 255, 0.4);

}

.action-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 25px rgba(0, 136, 255, 0.5);
}

.action-cta-btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.action-cta-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  border-bottom-width: 4px !important;
}

.pulse-glow {
  animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 136, 255, 0.5); }
  50% { box-shadow: 0 0 30px rgba(0, 136, 255, 0.8); }
}

/* Footers and Support Copy */
.card-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
}

.footer-badge {
  color: var(--gold-yellow);
  font-weight: 600;
}

.footer-time {
  color: var(--emerald-green);
  font-weight: 700;
}

.support-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.belief-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--gold-yellow);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   TRANSFORMATION & SOCIAL PROOF CARDS (ETAPA 5 & 18)
   ========================================================================== */

.social-proof-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.transformation-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-height: 220px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.age-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: var(--cyan-accent);
  border: 1px solid var(--cyan-accent);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
}

.transformation-info {
  padding: 12px 16px;
  font-size: 0.88rem;
}

.stars {
  color: var(--gold-yellow);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

/* ==========================================================================
   LOADING SCREENS (ETAPAS 10, 14, 18)
   ========================================================================== */

.loading-card {
  text-align: center;
  padding: 32px 20px;
}

.loading-spinner-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-ring {
  position: absolute;
  inset: 0;
  border: 4px solid rgba(56, 189, 248, 0.15);
  border-top-color: var(--cyan-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-core {
  font-size: 1.8rem;
}

.loading-title {
  font-family: var(--font-family-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan-accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.analysis-checklist, .prep-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 20px;
}

.check-item, .prep-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.check-item.done, .prep-item.done {
  color: var(--emerald-green);
  font-weight: 700;
}

.check-item.done .status-icon, .prep-item.done .check-mark {
  color: var(--emerald-green);
}

.loading-progress-box {
  width: 100%;
}

.percent-display {
  font-family: var(--font-family-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald-green);
  margin-bottom: 6px;
}

.loading-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-accent), var(--emerald-green));
  transition: width 0.3s ease;
}

.loading-status-text {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.news-preview-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.news-preview-card img {
  width: 100%;
  height: auto;
  display: block;
}

.access-liberated-badge {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--emerald-green);
  color: var(--emerald-green);
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  animation: pulse-glow 1.5s infinite;
}

.hidden {
  display: none !important;
}

/* Testimonial Carousel in Loading 3 */
.testimonial-carousel-container {
  overflow: visible;
  position: relative;
  margin-top: 18px;
}

.carousel-track {
  position: relative;
  min-height: 190px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: var(--radius-md);
}

.slide-stars {
  color: var(--gold-yellow);
  font-size: 1.1rem;
}

.slide-quote {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 6px 0;
}

.slide-author {
  font-size: 0.8rem;
  color: var(--cyan-accent);
  font-weight: 700;
}

/* ==========================================================================
   ETAPA 11 - DIAGNOSTIC GAUGE & METRICS
   ========================================================================== */

.alert-header-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--danger-red);
  color: var(--danger-red);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.diagnosis-headline {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
}

.highlight-danger {
  color: var(--danger-red);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.diagnostic-visual-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.chart-header {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric-card {
  text-align: left;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.metric-bar-container {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 6px;
}

.metric-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1s ease-out;
}

.red-fill { background: linear-gradient(90deg, #ef4444, #f97316); }
.orange-fill { background: linear-gradient(90deg, #f97316, #eab308); }

.metric-value {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.metric-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.relief-box {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-green);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--emerald-green);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.reassurance-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--cyan-accent);
  font-weight: 600;
}

/* ==========================================================================
   ETAPA 15 - SOLUTION CARD
   ========================================================================== */

.congrats-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-green);
  border: 1px solid var(--emerald-green);
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.solution-title {
  font-family: var(--font-family-title);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}

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

.solution-media-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.solution-img {
  width: 100%;
  height: auto;
  display: block;
}

.media-overlay-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.block-subtitle {
  font-family: var(--font-family-title);
  font-size: 0.9rem;
  color: var(--gold-yellow);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.benefits-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
}

.benefit-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.check-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.check-tag {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.final-ask {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cyan-accent);
  text-align: center;
  margin-bottom: 10px;
}

/* Utility Spacing */
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.text-center { text-align: center; }

/* ==========================================================================
   ETAPA 19 — PÁGINA DE VENDAS / VSL + OFERTA (DARK SLATE THEME)
   ========================================================================== */

.sales-page {
  animation: fadeIn 0.5s ease forwards;
  padding-bottom: 80px; /* Space for sticky bar */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.top-urgent-bar {
  background: linear-gradient(90deg, #ef4444, #f59e0b);
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.vsl-section {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  margin-bottom: 24px;
  text-align: center;
}

.vsl-card-box {
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 22px 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(56, 189, 248, 0.1);
  text-align: center;
  margin-bottom: 20px;
}

.vsl-title {
  font-family: var(--font-family-title);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Pitch Delay Unhide Animations */
.hidden-delay {
  display: none !important;
}

.fade-in-pitch {
  animation: fadeInPitch 0.8s ease-in-out forwards;
}

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

/* Active Viewers Live Capsule Badge */
.active-viewers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.pulse-red-dot {
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.viewers-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ef4444;
  letter-spacing: 0.02em;
}

.active-viewers-badge.vsl-overlay-pill {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  margin: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.82);
  border: 1.5px solid rgba(239, 68, 68, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* VSL Video Container */
.vsl-player-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--cyan-accent);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
  position: relative;
  background: #000;
}

.vsl-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.vsl-audio-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  white-space: nowrap;
  animation: pulse-glow 1.5s infinite;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.play-btn-pulse {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--primary-blue);
  animation: playPulse 1.8s infinite;
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--primary-blue); }
  50% { transform: scale(1.15); box-shadow: 0 0 40px var(--primary-blue); }
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid white;
  margin-left: 4px;
}

.overlay-caption {
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 12px;
}

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

.video-live-bar {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: white;
  background: rgba(0,0,0,0.7);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--danger-red);
  border-radius: 50%;
}

.video-controls-fake {
  background: #111;
  padding: 8px 12px;
}

.fake-progress-bar {
  height: 4px;
  background: #333;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.fake-progress-fill {
  height: 100%;
  width: 42%;
  background: var(--primary-blue);
}

.fake-controls-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #aaa;
}

/* Sales CTAs */
.cta-sales-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-bottom: 4px solid #046c4e;
  color: white;
  text-decoration: none;
  font-family: var(--font-family-title);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.2s var(--ease-spring);
}

.cta-sales-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Social Comments Section */
.social-proof-section {
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-main);
}

/* Facebook Post Recommendation Cards */
.fb-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-post-card {
  background: #ffffff;
  color: #050505;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: left;
}

.fb-post-header {
  display: flex;
  gap: 12px;
  position: relative;
}

.fb-avatar-img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
}

.fb-meta {
  flex: 1;
}

.fb-author {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fb-name {
  font-weight: 800;
  font-size: 1rem;
  color: #050505;
}

.fb-badge {
  background: #e41e3f;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.fb-sub-product {
  font-weight: 700;
  font-size: 0.88rem;
  color: #050505;
  margin-top: 1px;
}

.fb-time {
  font-size: 0.75rem;
  color: #65676b;
  margin-top: 2px;
}

.fb-dots {
  color: #65676b;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
}

.fb-post-content {
  font-size: 0.96rem;
  font-weight: 500;
  color: #050505;
  line-height: 1.45;
  margin: 12px 0 10px;
}

.fb-post-footer {
  border-top: 1px solid #e4e6eb;
  padding-top: 8px;
}

.fb-reactions {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #65676b;
  margin-bottom: 8px;
}

.fb-icons {
  font-size: 0.95rem;
}

.fb-actions-strip {
  border-top: 1px solid #f0f2f5;
  padding-top: 8px;
  display: flex;
  justify-content: space-around;
  font-size: 0.82rem;
  font-weight: 600;
  color: #65676b;
}

.fb-actions-strip span {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.fb-actions-strip span:hover {
  background: #f2f2f2;
}

/* Offer Section */
.offer-section {
  margin-bottom: 24px;
}

.offer-card-wrapper {
  background: linear-gradient(160deg, #162444, #0d1527);
  border: 2px solid var(--gold-yellow);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.25);
  position: relative;
}

.offer-badge-top {
  display: inline-block;
  background: var(--gold-yellow);
  color: #000;
  font-family: var(--font-family-title);
  font-weight: 900;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.offer-headline {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.pricing-display {
  margin-bottom: 16px;
}

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

.current-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}

.currency {
  font-size: 0.95rem;
  color: var(--gold-yellow);
  font-weight: 700;
}

.price-value {
  font-family: var(--font-family-title);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-yellow);
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.price-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.urgency-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.countdown-box {
  margin-bottom: 18px;
}

.timer-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

.timer-digits {
  font-family: var(--font-family-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--danger-red);
  letter-spacing: 2px;
}

.cta-checkout-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #facc15, #eab308);
  border: none;
  border-bottom: 4px solid #b45309;
  color: #000;
  text-decoration: none;
  font-family: var(--font-family-title);
  font-size: 1.15rem;
  font-weight: 900;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.4);
  transition: all 0.2s var(--ease-spring);
}

.cta-checkout-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.secure-guarantee-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Deliverables Section */
.deliverables-section {
  margin-bottom: 24px;
}

.product-mockup-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.product-mockup-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.deliverables-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deliverable-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
}

.deliv-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.deliv-content h3 {
  font-family: var(--font-family-title);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--cyan-accent);
  margin-bottom: 4px;
}

.deliv-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.deliv-content strong {
  color: var(--text-main);
}

.summary-callout-box {
  background: rgba(0, 136, 255, 0.12);
  border: 1px solid var(--primary-blue);
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-main);
  text-align: center;
}

/* Teacher Section */
.teacher-section {
  margin-bottom: 24px;
}

.teacher-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.teacher-image-container {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--emerald-green);
  box-shadow: 0 0 20px var(--emerald-glow);
}

.teacher-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-green);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.teacher-bio {
  text-align: center;
}

.teacher-name {
  font-family: var(--font-family-title);
  font-size: 1.4rem;
  font-weight: 900;
}

.teacher-title {
  font-size: 0.85rem;
  color: var(--emerald-green);
  font-weight: 700;
  margin-bottom: 12px;
}

.teacher-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.45;
}

.highlight-green {
  color: var(--emerald-green);
  font-weight: 700;
}

/* Closing Section */
.closing-section {
  margin-bottom: 24px;
}

.closing-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
}

.closing-title {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.closing-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.site-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 20px 0;
}

.disclaimer {
  margin-top: 6px;
  font-size: 0.7rem;
}

/* Sticky Footer CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(14, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gold-yellow);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta-bar.show {
  transform: translateY(0);
}

.sticky-pricing {
  display: flex;
  flex-direction: column;
}

.st-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.st-price {
  font-family: var(--font-family-title);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold-yellow);
}

.sticky-btn {
  background: var(--gold-yellow);
  color: #000;
  text-decoration: none;
  font-family: var(--font-family-title);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

/* Media Queries for Desktop Polish */
@media (min-width: 600px) {
  .app-container {
    padding: 24px;
  }
  .main-title {
    font-size: 1.5rem;
  }
  .question-title {
    font-size: 1.35rem;
  }
}
