/* ========================================
   DESIGN SYSTEM — Mega Kit Bíblico LP
   Vanilla CSS (no Tailwind dependency)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: #0a0310;
  color: #f1f5f9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { cursor: pointer; border: none; font-family: inherit; }
::selection { background: #a855f7; color: #0a0310; }

/* --- CSS Variables --- */
:root {
  --bg: #0a0310;
  --surface: #140624;
  --border: #2a1147;
  --primary: #a855f7;
  --primary-glow: rgba(168, 85, 247, 0.4);
  --text: #f1f5f9;
  --muted: #c4b5d4;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --gradient-purple: linear-gradient(135deg, #a855f7, #7c3aed);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #d97706);
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  --shadow-glow: 0 0 40px var(--primary-glow);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.5);
  --max-w: 720px;
  --max-w-wide: 1000px;
}

/* --- Typography --- */
.font-serif { font-family: var(--serif); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
.text-red { color: #f87171; }
.text-green { color: #4ade80; }
.text-yellow { color: #facc15; }
.text-glow { text-shadow: 0 0 20px var(--primary-glow); }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.line-through { text-decoration: line-through; }
.tracking-wide { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.container-wide { width: 100%; max-width: var(--max-w-wide); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; position: relative; overflow: hidden; }
.section-surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-border-top { border-top: 1px solid var(--border); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--gradient-purple);
  color: #fff; font-weight: 900; font-size: 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center; line-height: 1.3;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 60px var(--primary-glow); }
.btn-primary svg { width: 1.25rem; height: 1.25rem; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--primary); font-weight: 700; font-size: 1rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--primary); color: var(--bg); }

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1.25rem 2rem;
  background: var(--gradient-gold);
  color: var(--bg); font-weight: 900; font-size: 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 30px rgba(245,158,11,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase; letter-spacing: -0.02em;
}
.btn-gold:hover { transform: scale(1.03); box-shadow: 0 0 50px rgba(245,158,11,0.6); }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

/* --- Badge/Pill --- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.badge-primary { background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.2); color: var(--primary); }
.badge-red { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #f87171; }
.badge-green { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #4ade80; }

/* --- Blockquote --- */
.callout {
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--primary);
  background: rgba(10,3,16,0.5);
  border-radius: 0 1rem 1rem 0;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-style: normal;
  color: #fff;
  line-height: 1.6;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- Stats Grid --- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card {
  background: rgba(10,3,16,0.6);
  padding: 1.25rem;
  border-radius: 1rem;
  text-align: center;
}
.stat-card .stat-num { font-size: 1.75rem; font-weight: 900; }
.stat-card .stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* --- Comparison Grid --- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  text-align: center;
}
.compare-card.bad { background: rgba(20,6,36,0.6); }
.compare-card.good { background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.2); }
.compare-card h4 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.compare-card.bad h4 { color: #f87171; }
.compare-card.good h4 { color: var(--primary); }
.compare-card li { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; line-height: 1.5; }
.compare-card.good li { color: #fff; }

/* --- Testimonials --- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  position: relative;
}
.testimonial .quote-icon {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 2.5rem; height: 2.5rem;
  color: var(--border); opacity: 0.5;
}
.testimonial p.quote-text {
  font-size: 1.1rem; font-style: italic;
  color: var(--text); line-height: 1.7;
  margin-bottom: 1.5rem; font-weight: 300;
}
.testimonial .author { display: flex; align-items: center; gap: 1rem; }
.testimonial .avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--bg); border: 1px solid rgba(168,85,247,0.3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary); font-size: 0.875rem;
}
.testimonial .author-name { font-weight: 700; color: #fff; font-size: 1rem; }
.testimonial .author-info { color: var(--muted); font-size: 0.85rem; }

/* --- Value Stack --- */
.stack-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
}
.stack-item .stack-left { display: flex; align-items: center; gap: 0.75rem; }
.stack-item .stack-icon {
  width: 2rem; height: 2rem;
  background: rgba(168,85,247,0.15);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stack-item .stack-icon svg { width: 1rem; height: 1rem; color: var(--primary); }
.stack-item .stack-name { color: #fff; font-weight: 500; font-size: 0.95rem; }
.stack-item .stack-bonus { color: var(--primary); font-size: 0.7rem; font-weight: 700; margin-left: 0.5rem; }
.stack-item .stack-price { color: rgba(255,255,255,0.5); text-decoration: line-through; font-size: 0.85rem; flex-shrink: 0; margin-left: 1rem; }

/* --- Pricing Cards --- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.pricing-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column;
}
.pricing-card.basic {
  background: #150821;
  border: 1px solid #2f144a;
  transform: scale(0.95);
  opacity: 0.9;
}
.pricing-card.premium {
  background: var(--bg);
  border: 3px solid var(--primary);
  box-shadow: 0 0 60px rgba(168,85,247,0.3);
  position: relative;
  transform: scale(1.05);
  z-index: 10;
}
.pricing-card .card-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--primary); color: var(--bg);
  font-weight: 900; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px var(--primary-glow);
  white-space: nowrap;
}
.pricing-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-card.basic h3 { color: #fff; }
.pricing-card.premium h3 { color: var(--primary); margin-top: 1rem; }
.pricing-card .card-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-card .price { margin-bottom: 2rem; }
.pricing-card .price .amount { font-size: 2.5rem; font-weight: 900; color: #fff; }
.pricing-card .price .period { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.pricing-card .price .was { display: block; font-size: 0.8rem; color: var(--muted); text-decoration: line-through; margin-bottom: 0.25rem; }
.pricing-card .price .special { display: block; font-size: 0.8rem; color: var(--primary); font-weight: 500; margin-top: 0.25rem; }
.pricing-card .features { list-style: none; margin: 2rem 0; padding: 0; }
.pricing-card .features li { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.5; }
.pricing-card .features li svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.pricing-card .features li.disabled { opacity: 0.3; }
.pricing-card .features li.disabled span { text-decoration: line-through; }
.pricing-card .features li.bonus { background: rgba(168,85,247,0.08); padding: 0.5rem 0.75rem; border-radius: 0.5rem; }

/* --- FAQ --- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(168,85,247,0.3); }
.faq-item h3 { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

/* --- Guarantee --- */
.guarantee-box {
  background: rgba(34,197,94,0.05);
  border: 2px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}

/* --- Trust Bar --- */
.trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem; margin-top: 1.5rem;
}
.trust-badges span {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.85);
}
.trust-badges svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }

/* --- Scroll Reveal --- */
.scroll-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

/* --- Progress Bar --- */
#progress-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  z-index: 1000; background: transparent;
}
#progress-bar {
  height: 100%; background: var(--gradient-purple);
  width: 0%; transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* --- Alert Bar --- */
.alert-bar {
  width: 100%; background: var(--primary); color: var(--bg);
  padding: 0.5rem 1rem; text-align: center;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* --- Vagas Banner --- */
.vagas-banner {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 100;
  background: #b91c1c; color: #fff;
  text-align: center; padding: 0.6rem 1rem;
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3); border-bottom: 1px solid #7f1d1d;
}
.vagas-banner svg { width: 1rem; height: 1rem; animation: pulse 2s infinite; }
.vagas-count { color: #fef08a; font-weight: 900; font-size: 1rem; }

/* --- Social Proof Popup --- */
.sales-popup {
  position: fixed; bottom: 1rem; left: 1rem; z-index: 90;
  background: var(--surface); border: 1px solid rgba(168,85,247,0.4);
  padding: 1rem; border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex; align-items: center; gap: 1rem;
  max-width: 22rem; pointer-events: none;
  transform: translateY(6rem); opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.sales-popup.show { transform: translateY(0); opacity: 1; }

/* --- Glow Bg --- */
.glow-bg {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: -1;
}
.glow-hero {
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
}

/* --- Image Styles --- */
.img-rounded {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--border);
}

/* --- Spacers --- */
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; } .mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.pt-4 { padding-top: 1rem; }

/* --- Keyframes --- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes bounce { 0%, 100% { transform: translateY(-15%); } 50% { transform: translateY(0); } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-heart {
  0% { transform: scale(1); box-shadow: 0 0 30px rgba(168,85,247,0.4); }
  50% { transform: scale(1.06); box-shadow: 0 0 50px rgba(168,85,247,0.7); }
  100% { transform: scale(1); box-shadow: 0 0 30px rgba(168,85,247,0.4); }
}
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-heart { animation: pulse-heart 2s infinite ease-in-out; }

/* --- Sticky Mobile CTA --- */
.sticky-mobile-cta {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 80;
  padding: 0.75rem 1rem;
  background: rgba(20,6,36,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}
.sticky-mobile-cta.show { transform: translateY(0); }
.sticky-mobile-cta .inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 500px; margin: 0 auto;
}
.sticky-mobile-cta .price-tag .label { font-size: 0.6rem; text-transform: uppercase; color: var(--muted); }
.sticky-mobile-cta .price-tag .value { font-size: 1.1rem; font-weight: 900; color: #fff; }
.sticky-mobile-cta .cta-btn {
  background: var(--gradient-purple); color: #fff;
  font-weight: 700; padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full); font-size: 0.85rem;
}

/* --- Exit Modal --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-card {
  background: linear-gradient(135deg, #1b0a29, var(--bg));
  border: 2px solid rgba(234,179,8,0.5);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 32rem; width: 100%;
  text-align: center; position: relative;
  box-shadow: 0 0 60px rgba(234,179,8,0.1);
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; color: var(--muted);
  transition: color 0.3s;
}
.modal-close:hover { color: #fff; }

/* --- Upsell Modal --- */
.upsell-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.upsell-overlay.show { opacity: 1; pointer-events: auto; }
.upsell-card {
  background: linear-gradient(135deg, #1b0a29, var(--bg));
  border: 2px solid rgba(168,85,247,0.4);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 32rem; width: 100%;
  text-align: center; position: relative;
  box-shadow: 0 0 60px rgba(168,85,247,0.15);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.upsell-overlay.show .upsell-card { transform: scale(1); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.6rem !important; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .compare-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .stat-card { padding: 0.75rem; }
  .stat-card .stat-num { font-size: 1.3rem; }
  .btn-primary { font-size: 1rem; padding: 1rem 1.75rem; }
  .callout { font-size: 1.05rem; padding: 1.25rem 1.5rem; }
  .testimonial { padding: 1.5rem; }
  .testimonial p.quote-text { font-size: 0.95rem; }
  .pricing-card { padding: 2rem; }
  .pricing-card.basic { transform: scale(1); opacity: 1; }
  .pricing-card.premium { transform: scale(1); }
  .modal-card { padding: 1.5rem; border-radius: 1.5rem 1.5rem 0 0; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .sticky-mobile-cta { display: block; }
  .stack-item { flex-wrap: wrap; }
  .stack-item .stack-price { margin-left: auto; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.65rem !important; }
  .btn-primary { width: 100%; }
  .trust-badges { gap: 0.75rem; }
  .trust-badges span { font-size: 0.75rem; }
}
