:root {
  --bg-main: #020617; /* Very dark slate */
  --bg-card: #0f172a;
  --accent: #10b981; /* Emerald green */
  --accent-hover: #059669;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --font-family: 'Inter', sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --yellow: #f59e0b;
}

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

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

#app {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

/* Screens */
.screen {
  display: none;
  min-height: 100vh;
  animation: fadeIn 0.5s ease-in-out;
}
.screen.active {
  display: block;
}

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

/* Background glows */
.glow-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}
.top-right { top: -100px; right: -100px; }
.bottom-left { bottom: -100px; left: -100px; }

/* Typograhpy */
h1.headline {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}
.highlight {
  color: var(--accent);
  background: linear-gradient(90deg, #34d399, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subheadline {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.1);
  color: #ef4444;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 auto 24px auto;
  width: fit-content;
}
.badge .pulse {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseRed 2s infinite;
}

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

/* Social proof */
.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.avatars {
  display: flex;
  margin-bottom: 12px;
}
.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-main);
  margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }
.social-proof p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.social-proof strong {
  color: var(--text-main);
}

/* Buttons */
.cta-button {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}
.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.5);
}
.pulse-btn {
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.super-glow {
  animation: superGlow 1.5s infinite alternate, pulseGreen 3s infinite;
}

@keyframes superGlow {
  0% { 
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); 
    transform: scale(1); 
  }
  100% { 
    box-shadow: 0 0 25px rgba(16, 185, 129, 1), 0 0 50px rgba(16, 185, 129, 0.6); 
    transform: scale(1.03); 
  }
}

/* Quiz Structure */
.progress-container {
  margin-bottom: 30px;
}
.progress-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
  text-align: right;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background-color: var(--accent);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.question-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.question-subcopy {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.gift-copy {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option-btn {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.option-btn:hover {
  border-color: var(--accent);
  background-color: rgba(16, 185, 129, 0.05);
  transform: translateX(4px);
}

/* Transition Page */
.text-center { text-align: center; justify-content: center; }
.transition-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.success-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 40px;
}
.chart-container {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
  position: relative;
}
.chart-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.chart-axes {
  display: flex;
  height: 150px;
}
.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}
.chart-area {
  flex: 1;
  position: relative;
  margin-left: 10px;
  overflow: hidden;
}
.growth-line {
  width: 100%;
  height: 100%;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 2s forwards ease-in-out;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.chart-point {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 10px var(--accent);
  opacity: 0;
  animation: showPoint 0.5s forwards;
}
.p1 { bottom: 5%; left: 0%; animation-delay: 0.2s; }
.p2 { bottom: 35%; left: 40%; animation-delay: 1.0s; }
.p3 { bottom: 85%; right: 0%; animation-delay: 1.8s; }

@keyframes showPoint {
  to { opacity: 1; }
}

.personalized-msg {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.mt-6 { margin-top: 24px; }

/* VSL */
.vsl-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vsl-headline {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
}
.video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--text-muted);
}
.video-placeholder svg {
  opacity: 0.8;
}
.hidden { display: none !important; }
.delay-btn {
  max-width: 400px;
  margin: 0 auto;
}

/* NEW: Urgency Banner */
.urgency-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

/* NEW: Reviews Screen Grid */
.video-grid {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
}
.video-grid iframe {
  width: 180px;
  height: 320px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  flex-shrink: 0;
  scroll-snap-align: center;
}

/* Vertical Carousel Infinite Scroll */
.vertical-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.vertical-track {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
  animation: scrollVertical 20s linear infinite;
}
@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } 
}
.white-balloon {
  background: #ffffff !important;
  color: #1e293b !important;
  border: none;
  border-radius: 16px 16px 16px 0;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.review-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.review-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.review-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.review-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 1.05rem;
}
.stars {
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
}
.review-text {
  font-size: 0.95rem;
  color: #334155;
  font-style: italic;
  line-height: 1.4;
}

/* NEW: Payment Cards */
.payment-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}
.payment-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
}
.border-green::before { background: var(--accent); }
.border-yellow::before { background: var(--yellow); }

.card-plan {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.green-text { color: var(--accent); }
.yellow-text { color: var(--yellow); }
.black-text { color: #fff; /* Keep high contrast in dark mode */ }

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-weight: 600;
}
.card-price-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
}
.price-desc {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 5px 0;
}
.main-price {
  font-size: 2.2rem;
  font-weight: 800;
}
.total-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
}
.payment-btn {
  text-decoration: none;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  transition: all 0.3s ease;
  margin-top: auto;
}
.green-btn {
  background: var(--accent);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}
.green-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.yellow-btn {
  background: var(--yellow);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}
.yellow-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  h1.headline { font-size: 2rem; }
  .screen { padding: 10px; }
  .question-title { font-size: 1.2rem; }
  .success-title { font-size: 1.5rem; }
  .payment-cards { flex-direction: column; }
  .video-grid iframe { width: 150px; height: 266px; }
}
