/* ============================================
   GUÍA MAESTRA · CIERRE TOTAL — Jorge Linares
   Hoja de estilos compartida (index / pago / gracias)
   ============================================ */

:root{
  --bg:           #0a0714;
  --bg-soft:      #0d0a1c;
  --bg-card:      #150f28;
  --bg-card-2:    #1c1436;
  --green:        #7C3AED;
  --green-bright: #A78BFA;
  --green-deep:   #4C1D95;
  --yellow:       #FFC93C;
  --red:          #ff5454;
  --white:        #f5f7f8;
  --gray:         #a3aeb4;
  --gray-dark:    #6b7780;
  --border:       rgba(167,139,250,.14);
  --shadow-green: 0 16px 36px -12px rgba(124,58,237,.55);
  --radius:       14px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; color-scheme:dark; }
body{
  background:
    radial-gradient(ellipse 900px 620px at 12% -8%, rgba(124,58,237,.30), transparent 60%),
    radial-gradient(ellipse 760px 560px at 105% 15%, rgba(76,29,149,.30), transparent 58%),
    radial-gradient(ellipse 820px 620px at 50% 108%, rgba(124,58,237,.20), transparent 60%),
    radial-gradient(ellipse 600px 500px at 90% 90%, rgba(167,139,250,.14), transparent 55%),
    var(--bg);
  background-attachment:fixed;
  color:var(--white);
  font-family:'Inter', -apple-system, sans-serif;
  line-height:1.6;
  overflow-x:hidden;
  position:relative;
}
body::before{
  content:'';
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:radial-gradient(rgba(196,181,253,.7) 1px, transparent 1.5px);
  background-size:60px 60px;
  opacity:.06;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
button{ font:inherit; }
ul{ list-style:none; }

h1,h2,h3,h4{ font-family:'Sora', sans-serif; font-weight:800; line-height:1.18; }
.accent{ color:var(--green-bright); }
.text-yellow{ color:var(--yellow); }

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 6vw;
  position:relative;
  z-index:1;
}
.center{ text-align:center; margin-left:auto; margin-right:auto; }

.section{ padding:5.5rem 0; position:relative; z-index:1; }
.section-soft{ background:var(--bg-soft); }
@media(max-width:760px){ .section{ padding:3.6rem 0; } }

.section-label{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:var(--green-bright);
  background:rgba(124,58,237,.1);
  border:1px solid rgba(124,58,237,.25);
  padding:.45rem 1rem;
  border-radius:999px;
  margin-bottom:1.2rem;
}

.section-title{ font-size:clamp(1.7rem, 4vw, 2.6rem); margin-bottom:1rem; }
.section-sub{ color:var(--gray); font-size:1.05rem; max-width:680px; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible{ opacity:1; transform:translateY(0); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:1.05rem 2.2rem;
  border-radius:11px;
  font-weight:800;
  font-size:.98rem;
  letter-spacing:.3px;
  cursor:pointer;
  border:1px solid transparent;
  font-family:'Inter', sans-serif;
}
.btn-primary{
  background:linear-gradient(135deg, var(--green-deep), var(--green));
  color:#fff;
  box-shadow:var(--shadow-green);
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
@media (hover:hover){ .btn-primary:hover{ transform:translateY(-3px); box-shadow:0 20px 42px -10px rgba(167,139,250,.7); filter:brightness(1.04); } }
.btn-primary:active{ transform:translateY(-1px); }
.btn-block{ width:100%; }
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,.22);
  color:var(--white);
  transition:border-color .22s ease, color .22s ease, transform .22s ease;
}
@media (hover:hover){ .btn-ghost:hover{ border-color:var(--green-bright); color:var(--green-bright); transform:translateY(-2px); } }
.btn-lg{ padding:1.25rem 2.6rem; font-size:1.08rem; }

/* ---------- Navbar ---------- */
.navbar{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:1.2rem 0;
  border-bottom:1px solid transparent;
  transition:background .3s ease, padding .3s ease, border-color .3s ease;
}
.navbar.scrolled{
  background:rgba(10,7,20,.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom-color:var(--border);
  padding:.8rem 0;
}
.navbar .container{ display:flex; align-items:center; justify-content:space-between; }
.nav-logo{ display:flex; align-items:center; gap:.6rem; font-family:'Sora',sans-serif; font-weight:800; font-size:1.05rem; }
.nav-logo img{ width:36px; height:36px; border-radius:8px; object-fit:cover; }
.nav-cta{ padding:.75rem 1.4rem; font-size:.85rem; }

/* ---------- Hero ---------- */
.hero{ padding:8.5rem 0 4rem; position:relative; z-index:1; }
.hero-badge{ margin-bottom:1.4rem; }
.hero h1{ font-size:clamp(2rem, 5vw, 3.4rem); margin-bottom:1.3rem; }
.hero-sub{ font-size:clamp(1.02rem, 2vw, 1.25rem); color:var(--gray); max-width:780px; margin:0 auto 2.4rem; }
.hero-sub strong{ color:var(--green-bright); }

/* ---------- Video frame ---------- */
.video-wrap{
  max-width:880px; margin:0 auto;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 30px 70px -20px rgba(0,0,0,.6);
  background:var(--bg-card);
  position:relative;
}
.video-wrap .ratio{ position:relative; width:100%; padding-top:56.25%; background:#000; }
.video-wrap iframe, .video-wrap video{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-placeholder{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem;
  background:linear-gradient(160deg, #2a1b4d, #100a1e 70%);
  cursor:pointer;
}
.video-placeholder .play{
  width:78px; height:78px; border-radius:50%;
  background:linear-gradient(135deg, var(--green), var(--green-bright));
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-green);
}
.video-placeholder .play svg{ width:26px; height:26px; margin-left:4px; }
.video-placeholder p{ color:var(--gray); font-size:.9rem; }

/* ---------- Botón de sonido del video del hero ---------- */
.video-sound-btn{
  position:absolute; right:16px; bottom:16px; z-index:5;
  width:42px; height:42px; border-radius:50%;
  background:rgba(10,7,20,.65);
  border:1px solid rgba(167,139,250,.35);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
@media (hover:hover){ .video-sound-btn:hover{ background:rgba(124,58,237,.35); border-color:var(--green-bright); transform:scale(1.06); } }
.video-sound-btn svg{ width:19px; height:19px; color:var(--white); }
.video-sound-btn .icon-unmuted{ display:none; }
.video-sound-btn.is-unmuted .icon-muted{ display:none; }
.video-sound-btn.is-unmuted .icon-unmuted{ display:block; }

/* ---------- Trust strip ---------- */
.trust-strip{ display:flex; flex-wrap:wrap; justify-content:center; gap:2.4rem; margin-top:2.6rem; opacity:.85; }
.trust-strip .item{ display:flex; align-items:center; gap:.5rem; font-size:.85rem; color:var(--gray); }
.trust-strip svg{ width:18px; height:18px; color:var(--green-bright); flex-shrink:0; }

/* ---------- Cards / Grid ---------- */
.grid{ display:grid; gap:1.6rem; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media(max-width:900px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.8rem;
  transition:border-color .25s ease, transform .25s ease;
}
@media (hover:hover){ .card:hover{ border-color:rgba(124,58,237,.3); transform:translateY(-3px); } }
.card .icon{
  width:48px; height:48px; border-radius:12px;
  background:rgba(124,58,237,.12);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.1rem;
}
.card .icon svg{ width:24px; height:24px; color:var(--green-bright); }
.card h3{ font-size:1.08rem; margin-bottom:.55rem; }
.card p{ color:var(--gray); font-size:.94rem; }

/* ---------- Checklist ---------- */
.check-list li{
  display:flex; align-items:flex-start; gap:.8rem;
  padding:.85rem 0;
  border-bottom:1px solid var(--border);
  font-size:1rem;
}
.check-list li:last-child{ border-bottom:none; }
.check-list svg{ width:22px; height:22px; flex-shrink:0; color:var(--green-bright); margin-top:2px; }
.check-list strong{ color:var(--white); }

/* ---------- Pricing block ---------- */
.price-box{
  max-width:560px; margin:0 auto;
  background:linear-gradient(180deg, var(--bg-card), var(--bg-card-2));
  border:1px solid rgba(124,58,237,.3);
  border-radius:20px;
  padding:2.6rem 2rem;
  text-align:center;
  box-shadow:0 30px 70px -25px rgba(124,58,237,.25);
}
.price-old{ color:var(--red); text-decoration:line-through; font-size:1.1rem; opacity:.8; margin-bottom:.4rem; }
.price-new{ font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(2.1rem,5vw,2.8rem); color:var(--green-bright); margin-bottom:1.6rem; }
.price-box .btn{ width:100%; }
.price-note{ margin-top:1rem; font-size:.82rem; color:var(--gray-dark); }

/* ---------- Bonus stack ---------- */
.bonus-row{
  display:flex; align-items:center; gap:1.1rem;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:1.1rem 1.3rem;
  margin-bottom:.9rem;
}
.bonus-row .tag{
  flex-shrink:0;
  font-size:.7rem; font-weight:800; letter-spacing:1px;
  color:#06200f; background:var(--yellow);
  padding:.3rem .6rem; border-radius:6px;
}
.bonus-row .info{ flex:1; }
.bonus-row .info h4{ font-size:.98rem; margin-bottom:.15rem; }
.bonus-row .info p{ font-size:.84rem; color:var(--gray); }
.bonus-row .val{ flex-shrink:0; font-size:.85rem; }
.bonus-row .val .old{ text-decoration:line-through; color:var(--gray-dark); }
.bonus-row .val .new{ color:var(--green-bright); font-weight:700; }

/* ---------- Testimonials (text) ---------- */
.testimonial-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.8rem;
}
.testimonial-card .stars{ color:var(--yellow); font-size:.95rem; margin-bottom:.9rem; letter-spacing:2px; }
.testimonial-card p{ color:var(--white); font-size:.96rem; margin-bottom:1.2rem; }
.testimonial-card .who{ display:flex; align-items:center; gap:.7rem; }
.testimonial-card .avatar{
  width:42px; height:42px; border-radius:50%;
  background:linear-gradient(135deg, var(--green), var(--green-deep));
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:.9rem; color:#fff;
  flex-shrink:0;
}
.testimonial-card .name{ font-weight:700; font-size:.9rem; }
.testimonial-card .role{ font-size:.78rem; color:var(--gray); }

/* ---------- Testimonial screenshots ---------- */
.screens-wrap{ display:flex; gap:1.6rem; justify-content:center; flex-wrap:wrap; }
.screen-frame{
  width:280px; max-width:100%;
  border-radius:16px; overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 24px 50px -18px rgba(0,0,0,.55);
}
.screen-frame img{ width:100%; display:block; }

/* ---------- Stats ---------- */
.stats-row{ display:flex; justify-content:center; gap:4rem; flex-wrap:wrap; text-align:center; }
.stats-row .num{ font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(2rem,5vw,2.6rem); color:var(--green-bright); }
.stats-row .lbl{ color:var(--gray); font-size:.9rem; font-style:italic; margin-top:.2rem; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  display:flex; align-items:center; justify-content:space-between;
  padding:1.4rem 0; cursor:pointer; font-weight:700; font-size:1.02rem;
  gap:1rem;
}
.faq-q .plus{ flex-shrink:0; width:22px; height:22px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{
  content:''; position:absolute; background:var(--green-bright);
  transition:transform .25s ease;
}
.faq-q .plus::before{ left:0; top:50%; width:100%; height:2px; transform:translateY(-50%); }
.faq-q .plus::after{ top:0; left:50%; width:2px; height:100%; transform:translateX(-50%); }
.faq-item.open .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a p{ color:var(--gray); padding-bottom:1.4rem; font-size:.94rem; }

/* ---------- Bio ---------- */
.bio-wrap{ display:flex; align-items:center; gap:2.6rem; }
.bio-wrap img{ width:200px; height:200px; border-radius:50%; object-fit:cover; border:3px solid rgba(124,58,237,.35); flex-shrink:0; }
.bio-wrap .text p{ color:var(--gray); margin-bottom:1rem; }
@media(max-width:760px){ .bio-wrap{ flex-direction:column; text-align:center; } }

/* ---------- Guarantee ---------- */
.guarantee{
  display:flex; align-items:center; gap:1.6rem;
  background:var(--bg-card);
  border:1px solid rgba(255,201,60,.3);
  border-radius:var(--radius);
  padding:1.8rem 2rem;
  max-width:760px; margin:0 auto;
}
.guarantee .badge{
  flex-shrink:0; width:74px; height:74px; border-radius:50%;
  background:rgba(255,201,60,.12); border:2px solid var(--yellow);
  display:flex; align-items:center; justify-content:center;
}
.guarantee .badge svg{ width:36px; height:36px; color:var(--yellow); }
@media(max-width:600px){ .guarantee{ flex-direction:column; text-align:center; } }

/* ---------- Footer ---------- */
footer{ padding:3rem 0 2.4rem; border-top:1px solid var(--border); text-align:center; }
footer .nav-logo{ justify-content:center; margin-bottom:1rem; }
footer p{ color:var(--gray-dark); font-size:.8rem; max-width:640px; margin:0 auto .5rem; }
footer a.link{ color:var(--gray); text-decoration:underline; }


/* ---------- Back to top ---------- */
.to-top{
  position:fixed; bottom:24px; right:24px; width:48px; height:48px; border-radius:50%;
  background:var(--green); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  opacity:0; pointer-events:none; transform:translateY(10px);
  transition:opacity .3s, transform .3s; z-index:250;
  box-shadow:var(--shadow-green);
}
.to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
.to-top svg{ width:20px; height:20px; }

/* ============================================
   PÁGINA DE PAGO
   ============================================ */
.countdown-bar{
  background:linear-gradient(135deg, #1a0b33, #2a0f3e);
  padding:1.4rem 0;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.countdown-bar .lbl{ font-weight:700; font-size:.95rem; letter-spacing:1px; margin-bottom:.6rem; }
.countdown{ display:flex; justify-content:center; gap:.9rem; margin-bottom:.5rem; }
.countdown .seg{ text-align:center; }
.countdown .seg .n{ font-family:'Sora',sans-serif; font-weight:800; font-size:1.7rem; background:rgba(255,255,255,.08); border-radius:8px; padding:.3rem .7rem; min-width:54px; display:inline-block; }
.countdown .seg .l{ font-size:.65rem; letter-spacing:1.5px; color:var(--gray); margin-top:.3rem; }
.countdown-bonus{ font-size:.85rem; color:var(--gray); }

.pago-layout{ display:grid; grid-template-columns:1.05fr .95fr; gap:3rem; padding:3.5rem 0 4rem; align-items:start; }
@media(max-width:960px){ .pago-layout{ grid-template-columns:1fr; } }

.checkout-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:2.2rem;
}
.checkout-card h2{ font-size:1.3rem; margin-bottom:1.5rem; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:1rem; }
@media(max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:.82rem; color:var(--gray); margin-bottom:.4rem; }
.field input, .field select, .StripeElement{
  width:100%;
  background:var(--bg-soft);
  border:1px solid var(--border);
  border-radius:9px;
  padding:.85rem .95rem;
  color:var(--white);
  font-size:.95rem;
  font-family:inherit;
}
.field input:focus, .StripeElement--focus{ outline:none; border-color:var(--green-bright); }
.field input::placeholder{ color:var(--gray); opacity:1; }
.sub-label{ margin-top:.8rem; }
.pay-section-label{ display:flex; align-items:center; gap:.55rem; color:var(--white); font-weight:700; font-size:.95rem; margin-bottom:.9rem; }
.pay-section-label i{ color:var(--yellow); }
.card-brands{ display:flex; gap:.6rem; font-size:1.5rem; color:var(--gray-dark); margin-bottom:.9rem; }
.field select{ color:var(--white); }
.field select option{ color:#fff; background:var(--bg-card); }

/* ---------- Selector de moneda ---------- */
.currency-switch-label{ text-align:center; font-size:1.05rem; font-weight:700; color:#f5f7f8; margin-bottom:.9rem; }
.currency-switch{ display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1.2rem; }
.currency-opt{
  flex:1 1 auto; min-width:84px;
  background:var(--bg-soft);
  border:1px solid var(--border);
  color:var(--gray);
  font-weight:700; font-size:.85rem;
  padding:.6rem .8rem;
  border-radius:9px;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
@media (hover:hover){ .currency-opt:hover{ border-color:var(--green-bright); color:var(--white); } }
.currency-opt.is-active{
  background:linear-gradient(135deg, var(--green-deep), var(--green));
  border-color:var(--green);
  color:#fff;
}
.phone-row{ display:flex; gap:.6rem; }
.phone-row select{ max-width:90px; }

.order-summary{ margin:1.6rem 0; padding:1.2rem 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.order-summary .row{ display:flex; justify-content:space-between; align-items:center; padding:.5rem 0; font-size:.95rem; }
.order-summary .row.total{ font-weight:800; font-size:1.15rem; color:var(--green-bright); }

.pay-info{ display:flex; align-items:center; gap:.6rem; font-size:.78rem; color:var(--gray-dark); margin-top:.9rem; justify-content:center; }
.pay-info i{ color:var(--yellow); font-size:.95rem; }

.paypal-section{ margin-top:1.4rem; }
.or-divider{ display:flex; align-items:center; text-align:center; gap:.8rem; margin-bottom:1rem; color:var(--gray-dark); font-size:.85rem; }
.or-divider::before, .or-divider::after{ content:""; flex:1; height:1px; background:var(--border); }
#paypal-button-container{ min-height:45px; }
.paypal-unavailable{ display:flex; align-items:center; gap:.6rem; font-size:.82rem; color:var(--yellow); background:rgba(255,201,60,.08); border:1px solid rgba(255,201,60,.35); border-radius:10px; padding:.8rem 1rem; }
.paypal-unavailable i{ font-size:1rem; }

.bump{
  margin-top:1.4rem;
  background:rgba(255,201,60,.08);
  border:1px dashed rgba(255,201,60,.45);
  border-radius:12px;
  padding:1.1rem 1.2rem;
  font-size:.88rem;
  color:var(--gray);
}
.bump strong{ color:var(--yellow); }

#card-errors{ color:var(--red); font-size:.85rem; margin-top:.5rem; min-height:1.2em; }

.pago-side h3{ font-size:1.1rem; margin-bottom:1.2rem; text-align:center; }
.pago-side .testimonial-card{ margin-bottom:1rem; }
.pago-side .screens-wrap{ align-items:center; }

.help-box{
  display:flex; align-items:center; justify-content:space-between; gap:1.4rem; flex-wrap:wrap;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:2rem;
  margin-top:1rem;
}
@media(max-width:600px){ .help-box{ flex-direction:column; text-align:center; } }

/* ============================================
   PÁGINA DE GRACIAS
   ============================================ */
.thanks-wrap{ min-height:100vh; display:flex; align-items:center; padding:6rem 0; }
.thanks-box{ max-width:680px; margin:0 auto; text-align:center; }
.thanks-icon{
  width:90px; height:90px; border-radius:50%;
  background:rgba(124,58,237,.12); border:2px solid var(--green-bright);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 1.6rem;
}
.thanks-icon svg{ width:44px; height:44px; color:var(--green-bright); }
.thanks-box h1{ font-size:clamp(1.7rem,4vw,2.4rem); margin-bottom:1rem; }
.thanks-box .sub{ color:var(--gray); margin-bottom:2.2rem; }
.thanks-steps{ text-align:left; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.8rem; margin-bottom:2rem; }
.thanks-steps li{ display:flex; gap:1rem; padding:.7rem 0; }
.thanks-steps .num{ flex-shrink:0; width:30px; height:30px; border-radius:50%; background:rgba(124,58,237,.15); color:var(--green-bright); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:.85rem; }

/* ---------- Productos entregados (gracias.html) ---------- */
.thanks-products{ display:flex; flex-direction:column; gap:1rem; margin:0 0 1.6rem; text-align:left; }
.thanks-product-row{ flex-wrap:wrap; }
.thanks-product-row .info{ text-align:left; }
.thanks-product-row .info p{ font-size:.84rem; color:var(--gray); margin-top:.15rem; }
.thanks-product-row .btn{ flex-shrink:0; }
@media(max-width:560px){
  .thanks-product-row{ flex-direction:column; align-items:flex-start; }
  .thanks-product-row .btn{ width:100%; }
}

/* utility */
.mt-1{ margin-top:1rem; } .mt-2{ margin-top:2rem; } .mb-1{ margin-bottom:1rem; } .mb-2{ margin-bottom:2rem; }
