/* ==========================================================================
   THE F FORMULA | ULTRA HIGH-CONVERTING QUIZ + MINI VSL FUNNEL
   Design System: Dark High-Ticket Direct-Response (US Market Standard)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Cinzel:wght@600;700;900&display=swap');

:root {
  --bg-primary: #090d16;
  --bg-card: #111827;
  --bg-card-hover: #172238;
  --bg-elevated: #1f293d;
  --bg-accent-soft: rgba(245, 158, 11, 0.08);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --text-bright: #ffffff;
  
  --gold-primary: #f59e0b;
  --gold-hover: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  
  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  
  --red-accent: #ef4444;
  --border-color: #1f2937;
  --border-active: #f59e0b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 25px var(--gold-glow);
  --shadow-emerald: 0 0 25px var(--emerald-glow);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -10vw;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(9, 13, 22, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER & BRANDING
   ========================================================================== */

.site-header {
  text-align: center;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.brand-badge .live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-bright);
  text-transform: uppercase;
}

.logo-text span {
  color: var(--gold-primary);
}

/* ==========================================================================
   PROGRESS BAR COMPONENT
   ========================================================================== */

.quiz-progress-wrapper {
  margin-bottom: 2rem;
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.quiz-step-tag {
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-percent-tag {
  color: var(--text-muted);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   SCREEN ANIMATIONS & CONTAINERS
   ========================================================================== */

.funnel-screen {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.funnel-screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.screen-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .screen-card {
    padding: 1.5rem 1.1rem;
  }
}

/* Glow highlight at top of card */
.screen-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.eyebrow-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.headline-hero {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-bright);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

@media (max-width: 640px) {
  .headline-hero {
    font-size: 1.55rem;
  }
}

.headline-screen {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-bright);
  margin-bottom: 1.1rem;
}

@media (max-width: 640px) {
  .headline-screen {
    font-size: 1.3rem;
  }
}

.text-gold {
  color: var(--gold-primary);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subheadline {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   TRANSFORMATION BOX (BEFORE & AFTER)
   ========================================================================== */

.transformation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .transformation-grid {
    grid-template-columns: 1fr;
  }
}

.trans-box {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.trans-box.before {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.trans-box.after {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.trans-title {
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   SYMPTOM ALERTS & BADGES
   ========================================================================== */

.symptom-alert-box {
  background: rgba(245, 158, 11, 0.06);
  border-left: 4px solid var(--gold-primary);
  padding: 1rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.symptom-alert-box strong {
  color: var(--gold-primary);
}

.urgency-badge-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 1.25rem 0 1.75rem;
}

/* ==========================================================================
   INTERACTIVE OPTION CARDS (SINGLE & MULTI SELECT)
   ========================================================================== */

.options-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.option-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  transform: translateX(4px);
}

.option-btn.selected {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--gold-primary);
  color: var(--text-bright);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.option-indicator {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.75rem;
  font-weight: 800;
  color: transparent;
}

.option-btn.selected .option-indicator {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #000000;
}

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

.option-label {
  flex: 1;
  line-height: 1.4;
}

/* ==========================================================================
   PRIMARY CTA BUTTONS
   ========================================================================== */

.btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gold-gradient);
  color: #090d16;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1.15rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  text-decoration: none;
  margin-top: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.6);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-subtext {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

/* ==========================================================================
   AUTHORITY & ARTICLE BOXES
   ========================================================================== */

.article-box {
  background: #0d1322;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  position: relative;
}

.article-box::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 15px;
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  color: rgba(245, 158, 11, 0.2);
  line-height: 1;
}

.media-press-strip {
  margin: 1.75rem 0;
  text-align: center;
}

.media-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.media-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.media-logos span {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.media-logos span:hover {
  opacity: 1;
  color: #f1f5f9;
}

/* ==========================================================================
   SOCIAL PROOF CARD COMPONENT
   ========================================================================== */

.testimonial-card {
  background: #0d1527;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  position: relative;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.testimonial-author .verified-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* ==========================================================================
   MECHANISM / PILLARS DISPLAY (3 PHASES)
   ========================================================================== */

.pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pillar-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-elevated);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.pillar-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-content h4 {
  color: var(--text-bright);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   DYNAMIC LOADING SCREEN (TELA 10)
   ========================================================================== */

.loading-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.loading-spinner-ring {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(245, 158, 11, 0.15);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  margin: 0 auto 2rem;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

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

.loading-step-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: left;
}

.loading-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.loading-item.completed {
  color: #e2e8f0;
}

.loading-item-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.loading-item.completed .loading-item-icon {
  color: var(--emerald-primary);
}

/* ==========================================================================
   MINI VSL / SALES PAGE SECTION
   ========================================================================== */

.vsl-alert-banner {
  background: var(--gold-gradient);
  color: #090d16;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vsl-player-container {
  background: #000000;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 158, 11, 0.3);
  overflow: hidden;
  margin: 1.5rem 0;
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vsl-player-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(9,13,22,0.95) 100%), radial-gradient(circle at center, #1e293b 0%, #000000 100%);
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

.vsl-play-btn {
  width: 72px;
  height: 72px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 5px;
}

.vsl-player-container:hover .vsl-play-btn {
  transform: scale(1.1);
}

.vsl-status-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ==========================================================================
   BONUSES STACK
   ========================================================================== */

.bonus-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.bonus-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bonus-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.bonus-title {
  color: var(--text-bright);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   PRICING & OFFER BOX
   ========================================================================== */

.pricing-box {
  background: linear-gradient(180deg, #162035 0%, #0d1526 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.price-strike {
  font-size: 1.25rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-top: 0.75rem;
}

.price-main {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1;
  margin: 0.5rem 0;
}

.price-main span {
  font-size: 1.8rem;
  color: var(--gold-primary);
  vertical-align: super;
}

.guarantee-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.75rem 0;
  text-align: left;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.guarantee-badge-icon {
  font-size: 2.5rem;
  color: var(--emerald-primary);
}

.guarantee-content h4 {
  color: #6ee7b7;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.guarantee-content p {
  font-size: 0.84rem;
  color: #a7f3d0;
  line-height: 1.45;
}

/* ==========================================================================
   TWO CHOICES SECTION
   ========================================================================== */

.choices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .choices-grid {
    grid-template-columns: 1fr;
  }
}

.choice-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.choice-card.choice-bad {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.choice-card.choice-good {
  background: rgba(16, 185, 129, 0.08);
  border: 2px solid var(--emerald-primary);
}

/* ==========================================================================
   MODAL (CHECKOUT SIMULATOR)
   ========================================================================== */

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-primary);
}
