@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --gold: #F5A623;
  --gold-light: #FFD700;
  --gold-dark: #C8860A;
  --white: #FFFFFF;
  --bg: #0D0D0D;
  --bg-card: #1A1A1A;
  --bg-card2: #222222;
  --text: #FFFFFF;
  --text-muted: #B0B0B0;
  --glow: rgba(245, 166, 35, 0.4);
  --glow-strong: rgba(255, 215, 0, 0.6);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* === HEADER === */
.header {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245,166,35,0.15);
  padding: 12px 24px;
  display: flex; align-items: center;
}
.header img { height: 38px; }

/* === PROGRESS BAR === */
.progress-container {
  position: fixed; top: 62px; left:0; right:0; z-index:999;
  background: rgba(13,13,13,0.9);
  padding: 8px 24px;
}
.progress-bar-bg {
  background: var(--bg-card2);
  border-radius: 20px; height: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 20px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 12px var(--glow);
}

/* === STEP CONTAINER === */
.funnel-container {
  max-width: 520px;
  margin: 0 auto;
  padding: 100px 20px 40px;
  min-height: 100vh;
}
.step {
  display: none;
  animation: stepIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
.step.active { display: flex; flex-direction: column; align-items: center; }

@keyframes stepIn {
  from { opacity:0; transform: translateY(40px) scale(0.96); }
  to { opacity:1; transform: translateY(0) scale(1); }
}

/* === WELCOME STEP === */
.welcome-icon {
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  margin-bottom: 28px;
  animation: pulseGlow 2s ease-in-out infinite;
  box-shadow: 0 0 40px var(--glow), 0 0 80px rgba(245,166,35,0.2);
}
@keyframes pulseGlow {
  0%,100% { transform: scale(1); box-shadow: 0 0 40px var(--glow); }
  50% { transform: scale(1.08); box-shadow: 0 0 60px var(--glow-strong); }
}

.welcome-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px; font-weight: 800;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.welcome-sub {
  text-align: center; color: var(--text-muted);
  font-size: 15px; line-height: 1.6; margin-bottom: 32px; max-width: 420px;
}
.welcome-badges {
  display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; justify-content: center;
}
.badge {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 6px;
}

/* === BUTTONS === */
.btn-primary {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000; font-weight: 800; font-size: 16px;
  border: none; border-radius: 14px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow);
}
.btn-primary::after {
  content: '';
  position: absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
  0% { left:-100%; } 100% { left:100%; }
}

/* === FORM === */
.form-group { width: 100%; margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--gold-light); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 1px;
}
.form-group input {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 2px solid rgba(245,166,35,0.2);
  border-radius: 12px;
  color: var(--white); font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245,166,35,0.15);
}
.form-group input::placeholder { color: #666; }

/* === LOADING/ANALYSIS === */
.loader-ring {
  width: 140px; height: 140px;
  position: relative; margin-bottom: 32px;
}
.loader-ring svg { width: 100%; height: 100%; animation: rotateSVG 2s linear infinite; }
@keyframes rotateSVG { to { transform: rotate(360deg); } }
.loader-ring circle {
  fill: none; stroke-width: 4;
  stroke-linecap: round;
}
.loader-ring .track { stroke: rgba(245,166,35,0.12); }
.loader-ring .progress-circle {
  stroke: var(--gold-light);
  stroke-dasharray: 400;
  stroke-dashoffset: 300;
  animation: dashSpin 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px var(--glow));
}
@keyframes dashSpin {
  0% { stroke-dashoffset:300; } 50% { stroke-dashoffset:100; } 100% { stroke-dashoffset:300; }
}
.loader-percent {
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 36px; font-weight: 800;
  color: var(--gold-light);
}
.loader-text {
  font-size: 16px; font-weight: 600; color: var(--text);
  text-align: center; margin-bottom: 8px;
}
.loader-sub {
  font-size: 13px; color: var(--text-muted);
  text-align: center;
}
.check-items { width: 100%; margin-top: 24px; }
.check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 10px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s, transform 0.4s;
}
.check-item.visible { opacity:1; transform:translateX(0); }
.check-item .icon {
  width: 28px; height: 28px;
  background: rgba(76,175,80,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #4CAF50; font-size: 14px; font-weight: bold;
}
.check-item span { font-size: 14px; color: var(--text-muted); }

/* === QUIZ === */
.quiz-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 700;
  text-align: center; margin-bottom: 8px;
  color: var(--white);
}
.quiz-sub {
  font-size: 14px; color: var(--text-muted);
  text-align: center; margin-bottom: 24px;
}
.quiz-option {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 2px solid rgba(245,166,35,0.15);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 10px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 12px;
}
.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(245,166,35,0.08);
  transform: translateX(6px);
}
.quiz-option.selected {
  border-color: var(--gold-light);
  background: rgba(245,166,35,0.12);
  box-shadow: 0 0 20px rgba(245,166,35,0.1);
}
.quiz-option .opt-letter {
  width: 32px; height: 32px;
  background: rgba(245,166,35,0.15);
  border-radius: 8px;
  display: flex; align-items:center; justify-content:center;
  font-weight: 700; color: var(--gold-light);
  font-size: 14px; flex-shrink: 0;
}

/* === ROULETTE === */
.roulette-container {
  width: 100%; display: flex; flex-direction: column; align-items: center;
}
.roulette-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px; font-weight: 800;
  text-align: center; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--white), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.wheel-wrapper {
  position: relative;
  width: 300px; height: 300px;
  margin-bottom: 28px;
}
.wheel-pointer {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 32px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.wheel-canvas {
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 40px var(--glow), inset 0 0 30px rgba(0,0,0,0.3);
}

/* === PRIZE MODAL === */
.prize-overlay {
  display: none;
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center; justify-content: center;
}
.prize-overlay.active { display: flex; }
.prize-modal {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 420px; width: 90%;
  text-align: center;
  animation: prizeIn 0.6s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 0 60px var(--glow);
}
@keyframes prizeIn {
  from { opacity:0; transform: scale(0.5) rotate(-10deg); }
  to { opacity:1; transform: scale(1) rotate(0); }
}
.prize-modal .trophy { font-size: 64px; margin-bottom: 16px; animation: bounce 1s ease infinite; }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.prize-modal h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--white));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.prize-modal p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; line-height: 1.5; }
.prize-modal .prize-name {
  font-size: 18px; font-weight: 700;
  color: var(--gold-light); margin: 16px 0;
  padding: 12px; background: rgba(245,166,35,0.1);
  border-radius: 10px; border: 1px solid rgba(245,166,35,0.3);
}

/* === OFFER CARDS === */
.offer-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 800;
  text-align: center; line-height: 1.4;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--white), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.offer-sub {
  text-align: center; color: var(--text-muted);
  font-size: 14px; line-height: 1.6;
  margin-bottom: 28px;
}
.offer-card {
  width: 100%;
  background: var(--bg-card);
  border: 2px solid rgba(245,166,35,0.2);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.offer-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245,166,35,0.15);
}
.offer-card.featured {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, rgba(245,166,35,0.08), rgba(255,215,0,0.04));
}
.offer-card.featured::before {
  content: '⭐ MAIS POPULAR';
  position: absolute; top:0; right:0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000; font-size: 11px; font-weight: 800;
  padding: 6px 16px;
  border-radius: 0 14px 0 12px;
}
.offer-card .duration {
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.offer-card .items {
  font-size: 15px; font-weight: 600; color: var(--white);
  margin-bottom: 12px;
}
.offer-card .price-row {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 16px;
}
.offer-card .currency { font-size: 16px; font-weight: 700; color: var(--gold-light); }
.offer-card .price-val {
  font-family: 'Outfit', sans-serif;
  font-size: 36px; font-weight: 900; color: var(--gold-light);
}
.offer-card .price-info {
  font-size: 12px; color: var(--text-muted);
  margin-left: 8px;
}
.offer-card .bonus-tags {
  display: flex; gap:8px; flex-wrap: wrap; margin-bottom: 16px;
}
.offer-card .bonus-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(76,175,80,0.12);
  color: #4CAF50;
}
.offer-card .btn-offer {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000; font-weight: 800; font-size: 14px;
  border: none; border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block; text-align: center;
}
.offer-card .btn-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow);
}

.whatsapp-card {
  width: 100%;
  background: rgba(37,211,102,0.08);
  border: 2px solid rgba(37,211,102,0.25);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-top: 8px;
}
.whatsapp-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.whatsapp-card a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: #25D366;
  color: #fff; font-weight: 700; font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}
.whatsapp-card a:hover { transform: translateY(-2px); }

/* === PARTICLES === */
.particles-bg {
  position: fixed; top:0; left:0; width:100%; height:100%;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 6s ease-in-out infinite;
}
@keyframes floatParticle {
  0% { opacity:0; transform: translateY(100vh) scale(0); }
  20% { opacity:0.6; }
  80% { opacity:0.3; }
  100% { opacity:0; transform: translateY(-20vh) scale(1); }
}

/* === CONFETTI === */
.confetti-piece {
  position: fixed;
  width: 10px; height: 10px;
  z-index: 3000;
  animation: confettiFall 3s ease-out forwards;
}
@keyframes confettiFall {
  0% { opacity:1; transform: translateY(-100px) rotate(0deg); }
  100% { opacity:0; transform: translateY(100vh) rotate(720deg); }
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .welcome-title { font-size: 22px; }
  .offer-card .price-val { font-size: 30px; }
  .wheel-wrapper, .wheel-canvas { width: 260px; height: 260px; }
  .quiz-title { font-size: 20px; }
  .offer-headline { font-size: 20px; }
}
