/* ===== FLUJO TV — NUEVAPAGINA (TEMA BLANCO + NARANJA) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

:root{
  --bg:#ffffff;
  --bg-soft:#FFF6EE;
  --bg-soft-2:#FFF0E1;
  --surface:#ffffff;
  --text:#15181D;
  --text-soft:#565D6B;
  --muted:#8A8F98;
  --primary:#FF6A00;
  --primary-2:#FF8A3D;
  --primary-dark:#E05200;
  --border:rgba(21,24,29,.09);
  --shadow-sm:0 8px 22px rgba(21,24,29,.06);
  --shadow-md:0 22px 48px rgba(21,24,29,.10);
  --shadow-orange:0 22px 46px rgba(255,106,0,.24);
  --radius:20px;
  --dark:#12100E;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  padding-top: 82px;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
  position: relative;
}

/* Texto solo para lectores de pantalla / buscadores (no se ve, pero da contexto de SEO) */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== REVEAL ON SCROLL ===== */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.9,.3,1), transform .7s cubic-bezier(.22,.9,.3,1);
}

.reveal.in-view{ opacity: 1; transform: none; }

.reveal-stagger .reveal:nth-child(1){ transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2){ transition-delay: .08s; }
.reveal-stagger .reveal:nth-child(3){ transition-delay: .16s; }
.reveal-stagger .reveal:nth-child(4){ transition-delay: .24s; }
.reveal-stagger .reveal:nth-child(5){ transition-delay: .32s; }
.reveal-stagger .reveal:nth-child(6){ transition-delay: .4s; }

/* ===== HEADER (Topbar blanco) ===== */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(21,24,29,.04);
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 18px;
}

.logo img{
  height: 40px;
  width: auto;
}

.menu{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.menu-link{
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 13px;
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  transition: opacity .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.menu-link:hover{ color: var(--primary); background: var(--bg-soft); transform: translateY(-1px); }

.menu-link.active{
  color: var(--primary);
  background: var(--bg-soft);
}

.topbar-cta{
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255,106,0,.30);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}

.topbar-cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,106,0,.38); filter: brightness(1.04); }

.menu-btn{
  display: none;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  margin-left: 10px;
}

.menu-btn:hover{ transform: translateY(-1px); background: var(--bg-soft-2); }

/* ===== MOBILE MENU ===== */
.mobile-menu{
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 16px;
  width: min(280px, 88vw);
  overflow: hidden;
  z-index: 9998;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.mobile-menu.open{ display: block; opacity: 1; transform: translateY(0); pointer-events: auto; }

.mobile-menu .menu-link{
  display: block;
  padding: 13px 14px;
  margin: 2px 0;
  color: var(--text);
  border-radius: 12px;
}

.mobile-menu .menu-link:hover{ background: var(--bg-soft); }

.mobile-menu-cta{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 4px 2px;
  padding: 13px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(255,106,0,.3);
}

@media (max-width: 860px){
  .menu{ display: none; }
  .topbar-cta{ display: none; }
  .menu-btn{ display: inline-flex; margin-left: auto; }
}

/* ===== FOOTER (oscuro para contraste) ===== */
.site-footer{
  background: var(--dark);
  padding: 46px 0 34px;
  margin-top: 0;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 22px;
  align-items: start;
}

.footer-brand{ display: flex; align-items: center; gap: 12px; }

.footer-title{
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.footer-title span{ color: var(--primary); }

.footer-text{ margin: 10px 0 10px; font-weight: 500; color: rgba(255,255,255,.6); }

.footer-link{
  color: rgba(255,255,255,.85);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 2px;
}

.footer-link:hover{ border-bottom-color: var(--primary); color: var(--primary); }

.footer-heading{ margin: 0 0 10px; font-family: "Poppins", "Inter", sans-serif; font-weight: 700; color: #fff; }

.footer-contact{ margin: 0 0 8px; font-weight: 500; color: rgba(255,255,255,.6); }

.footer-contact a{ color: rgba(255,255,255,.85); text-decoration: none; transition: color .15s ease; }
.footer-contact a:hover{ color: var(--primary); }

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

/* ===== HERO: ESCENA CSS (TV + CONTROL) + NAV FLOTANTE ===== */
.new-hero-wrap{ padding: 18px 18px 0; }

.new-hero{
  position: relative;
  width: 100%;
  height: min(88vh, 720px);
  min-height: 480px;
  border-radius: 30px;
  overflow: hidden;
  /* café tostado cálido, más claro que el negro anterior, pero aún con
     suficiente contraste para el texto blanco */
  background: radial-gradient(120% 100% at 50% 20%, #4a2e18 0%, #2e1c10 55%, #1c110a 100%);
  box-shadow: 0 34px 80px rgba(21,24,29,.22);
}

.new-hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(74,46,24,.12) 0%, rgba(46,28,16,.32) 45%, rgba(20,12,7,.88) 100%),
    linear-gradient(90deg, rgba(255,106,0,.18), transparent 55%);
  z-index: 1;
}

/* --- Escena: TV + control remoto, 100% CSS --- */
.hero-scene{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-scene-glow{
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(60vw, 620px);
  height: min(60vw, 620px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,106,0,.35), transparent 65%);
  filter: blur(20px);
  animation: heroGlowPulse 4s ease-in-out infinite;
}

@keyframes heroGlowPulse{
  0%, 100%{ opacity: .65; transform: translate(-50%, -50%) scale(1); }
  50%{ opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-scene-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .5;
  animation: heroBlobDrift 10s ease-in-out infinite alternate;
}

.hero-scene-blob-1{ width: 220px; height: 220px; left: 6%; top: 12%; background: radial-gradient(circle, rgba(255,138,61,.28), transparent 70%); }
.hero-scene-blob-2{ width: 180px; height: 180px; right: 8%; bottom: 14%; background: radial-gradient(circle, rgba(255,106,0,.24), transparent 70%); animation-duration: 12s; animation-direction: alternate-reverse; }
.hero-scene-blob-3{ width: 160px; height: 160px; right: 18%; top: 8%; background: radial-gradient(circle, rgba(255,205,140,.18), transparent 70%); animation-duration: 8s; }

@keyframes heroBlobDrift{
  from{ transform: translateY(0) scale(1); }
  to{ transform: translateY(-22px) scale(1.1); }
}

.hero-tv{
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 26vw, 420px);
}

.hero-tv-frame{
  background: linear-gradient(160deg, #2b2b2e, #0c0c0d);
  border-radius: 14px;
  padding: 4.5%;
  box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 1px 1px rgba(255,255,255,.08);
}

.hero-tv-screen{
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.hero-tv-content{
  position: absolute;
  inset: 0;
  /* siempre claro/vivo (blanco crema a naranja), sin fase oscura que se vea turbia */
  background: linear-gradient(120deg, #fff6ec, #ffcf8a, #ff8a3d, #ff6a00, #fff6ec);
  background-size: 300% 300%;
  animation: heroScreenShift 6s ease-in-out infinite;
}

@keyframes heroScreenShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.hero-tv-thumbs{
  position: absolute;
  left: 8%;
  bottom: 14%;
  display: flex;
  gap: 5%;
}

.hero-tv-thumbs span{
  width: 12%;
  aspect-ratio: 3 / 2;
  border-radius: 3px;
  background: rgba(255,255,255,.85);
  animation: heroThumbPop 3s ease-in-out infinite;
}

.hero-tv-thumbs span:nth-child(1){ animation-delay: 0s; }
.hero-tv-thumbs span:nth-child(2){ background: rgba(255,255,255,.55); animation-delay: .3s; }
.hero-tv-thumbs span:nth-child(3){ background: rgba(255,255,255,.55); animation-delay: .6s; }
.hero-tv-thumbs span:nth-child(4){ background: rgba(255,255,255,.4); animation-delay: .9s; }

@keyframes heroThumbPop{
  0%, 100%{ transform: translateY(0); opacity: .7; }
  50%{ transform: translateY(-15%); opacity: 1; }
}

.hero-tv-scan{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.08) 50%, transparent 100%);
  background-size: 100% 300%;
  animation: heroScanline 5s linear infinite;
}

@keyframes heroScanline{
  0%{ background-position: 0 -100%; }
  100%{ background-position: 0 200%; }
}

.hero-tv-neck{
  width: 18%;
  height: 3%;
  min-height: 6px;
  background: linear-gradient(160deg, #2b2b2e, #0c0c0d);
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

.hero-tv-base{
  width: 32%;
  height: 3px;
  background: #0c0c0d;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}

.hero-remote{
  position: absolute;
  left: 8%;
  bottom: -6%;
  width: clamp(46px, 5.5vw, 70px);
  aspect-ratio: 70 / 190;
  background: linear-gradient(180deg, #1c1c1e, #050505);
  border-radius: 16px;
  opacity: .85;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  transform: rotate(-8deg);
}

.hero-remote-btn{
  display: block;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary);
  margin: 18% auto 0;
  animation: heroBtnPress 2.4s ease-in-out infinite;
}

@keyframes heroBtnPress{
  0%, 100%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(255,106,0,.5); }
  50%{ transform: scale(.9); box-shadow: 0 0 0 6px rgba(255,106,0,0); }
}

.hero-remote-dpad{
  display: block;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #3a3a3c;
  margin: 16% auto 0;
}

.hero-remote-dot{
  display: block;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #555;
  margin: 14% auto 0;
}

@media (max-width: 640px){
  .hero-remote{ display: none; }
  /* En móvil el TV competía por el mismo espacio central que el texto; se
     deja solo el resplandor + manchas de color como fondo ambiental */
  .hero-tv{ display: none; }
}

.new-hero-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 150px;
}

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

/* .hero-float-wrap se centra con left:50% + translateX(-50%); necesita su
   propio keyframe para no perder ese translateX cuando termina la animación
   de entrada (si no, en móvil se desborda del viewport hacia la derecha). */
@keyframes heroFloatUp{
  from{ opacity: 0; transform: translateX(-50%) translateY(22px); }
  to{ opacity: 1; transform: translateX(-50%) translateY(0); }
}

.new-hero-badge,
.new-hero-kicker,
.new-hero-giant-wrap,
.new-hero-subtitle,
.new-hero-actions{
  animation: heroUp .8s cubic-bezier(.22,.9,.3,1) both;
}

.hero-float-wrap{
  animation: heroFloatUp .8s cubic-bezier(.22,.9,.3,1) both;
}

.new-hero-badge{ animation-delay: .05s; }
.new-hero-kicker{ animation-delay: .14s; }
.new-hero-kicker-2{ animation-delay: .20s; }
.new-hero-giant-wrap{ animation-delay: .30s; }
.new-hero-subtitle{ animation-delay: .42s; }
.new-hero-actions{ animation-delay: .52s; }
.hero-float-wrap{ animation-delay: .62s; }

.new-hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .4px;
  padding: 8px 16px;
  border-radius: 999px;
}

.new-hero-badge .dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: dotPulse 1.8s ease-in-out infinite;
}

@keyframes dotPulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(255,106,0,.55); }
  50%{ box-shadow: 0 0 0 6px rgba(255,106,0,0); }
}

.new-hero-kicker{
  margin: 0;
  color: rgba(255,255,255,.85);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  font-size: clamp(16px, 2.8vw, 28px);
}

.new-hero-kicker-2{ margin-bottom: 6px; }

.new-hero-giant-wrap{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
  margin: 6px 0 14px;
}

.new-hero-giant{
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  font-size: clamp(48px, 11vw, 150px);
  color: #fff;
  user-select: none;
  text-shadow: 0 0 80px rgba(255,106,0,.35), 0 0 160px rgba(255,255,255,.15);
  background: linear-gradient(100deg, var(--primary-2) 20%, #fff 45%, var(--primary) 55%, var(--primary-2) 80%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineSweep 3.2s linear infinite;
}

@keyframes shineSweep{
  0%{ background-position: 0% 50%; }
  100%{ background-position: -250% 50%; }
}

.new-hero-subtitle{
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: clamp(13px, 2vw, 16px);
}

.new-hero-actions{
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Botón vidrio líquido (liquid glass) */
.liquid-glass{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  background-blend-mode: luminosity;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.15);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.liquid-glass::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass:hover{
  transform: translateY(-3px) scale(1.02);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.2), 0 14px 30px rgba(255,106,0,.35);
}

/* ===== BORDE "GLASS" REUTILIZABLE (firma visual del sitio) =====
   Mismo truco de máscara con gradiente que .liquid-glass, aplicado
   como filo brillante sobre botones y tarjetas que ya tienen su
   propio fondo (naranja, video, blanco), sin tocar ese fondo. */
.topbar-cta,
.hero-float-cta,
.hero-float-nav,
.buy-btn,
.panel-buy,
.marquee-card,
.pay-card,
.whatsapp-float{
  position: relative;
}

.topbar-cta::before,
.hero-float-cta::before,
.hero-float-nav::before,
.buy-btn::before,
.panel-buy::before,
.marquee-card::before,
.pay-card::before,
.whatsapp-float::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(180deg,
    rgba(255,255,255,.55) 0%, rgba(255,255,255,.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,.15) 80%, rgba(255,255,255,.55) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Nav flotante — vidrio blanco */
.hero-float-wrap{
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(600px, 94%);
}

.hero-float-nav{
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 22px 50px rgba(21,24,29,.28);
}

.hero-float-logo{
  width: 52px;
  height: 36px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 4px 6px;
}

.hero-float-logo img{ width: 100%; height: 100%; object-fit: contain; }

.hero-float-link{
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}

.hero-float-link:hover{ background: var(--bg-soft); color: var(--primary); }

.hero-float-cta{
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255,106,0,.35);
  transition: transform .18s ease, filter .18s ease;
}

.hero-float-cta:hover{ transform: translateY(-1px); filter: brightness(1.06); }

.hero-float-chip{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: 0 0 auto;
}

@media (max-width: 640px){
  .new-hero{ height: 640px; border-radius: 22px; }
  .new-hero-content{ padding: 30px 16px 130px; }

  /* Antes se ocultaban "Planes"/"Paneles" del pill flotante; ahora se
     compactan para que quepan junto al botón sin perder el acceso rápido */
  .hero-float-logo{ width: 40px; height: 28px; }
  .hero-float-link{ padding: 7px 8px; font-size: 11px; }
  .hero-float-cta{ padding: 8px 11px; font-size: 11px; gap: 4px; }
  .hero-float-chip{ display: none; }
}

/* ===== BLOBS DECORATIVOS ===== */
.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  animation: blobFloat 9s ease-in-out infinite alternate;
}

.blob-orange{ background: radial-gradient(circle, rgba(255,106,0,.35), transparent 70%); }
.blob-peach{ background: radial-gradient(circle, rgba(255,138,61,.30), transparent 70%); }

@keyframes blobFloat{
  from{ transform: translateY(0) scale(1); }
  to{ transform: translateY(-26px) scale(1.08); }
}

/* ===== MARQUEE DISPOSITIVOS ===== */
.marquee-section{ padding: 46px 0; background: var(--bg-soft); position: relative; overflow: hidden; }

.marquee-mask{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  perspective: 800px;
}

.marquee-track{
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}

.marquee-track:hover{ animation-play-state: paused; }

@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.marquee-card{
  flex: 0 0 auto;
  width: 150px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}

.marquee-card:hover{
  border-color: rgba(255,106,0,.35);
  transform: translateY(-6px) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg));
  box-shadow: var(--shadow-orange);
}

.marquee-card .device-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft-2);
  display: grid;
  place-items: center;
}

.marquee-card img{
  width: 30px;
  height: 26px;
  object-fit: contain;
}

.marquee-card span{
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
}

/* ===== SEO INTRO ===== */
.seo-intro{ padding: 46px 0 10px; background: var(--bg); }

.seo-intro p{
  margin: 0 0 12px;
  color: var(--text-soft);
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.seo-intro strong{ color: var(--text); }

/* TITULOS */
.section-title{
  text-align: center;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: -.01em;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  position: relative;
}

.section-title::after{
  content: "";
  display: block;
  width: 0;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width .6s cubic-bezier(.22,.9,.3,1) .1s;
}

.section-title.in-view::after{ width: 64px; }

.section-text{
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--text-soft);
  font-weight: 600;
  line-height: 1.7;
}

/* FUNCIONES */
.features{ padding: 60px 0 64px; background: var(--bg-soft); position: relative; overflow: hidden; }

.features-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.features-image img{
  width: 100%;
  max-width: 460px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 24px 34px rgba(21,24,29,.16));
}

.features-list{ display: grid; gap: 16px; }

.feature{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature:hover{
  transform: translateX(6px);
  box-shadow: var(--shadow-orange);
  border-color: rgba(255,106,0,.3);
}

.feature-num{
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.feature h3{ margin: 0 0 4px; color: var(--text); font-size: 16px; font-weight: 800; }

.feature p{ margin: 0; color: var(--text-soft); font-weight: 500; line-height: 1.55; font-size: 14px; }

/* ===== PLANES ===== */
.planes-block{
  padding: 64px 0 40px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.plans-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.plan-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,.9,.3,1), box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}

.plan-card:hover{
  transform: translateY(-12px) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg));
  box-shadow: var(--shadow-orange);
  border-color: rgba(255,106,0,.35);
}

.plan-card.popular{ border-color: rgba(255,106,0,.5); box-shadow: var(--shadow-orange); }

.plan-ribbon{
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .5px;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255,106,0,.4);
  animation: ribbonPulse 2.4s ease-in-out infinite;
}

@keyframes ribbonPulse{
  0%, 100%{ box-shadow: 0 10px 24px rgba(255,106,0,.4); }
  50%{ box-shadow: 0 10px 30px rgba(255,106,0,.65); }
}

.badge{
  position: absolute;
  top: -10px;
  right: 16px;
  background: #E31B1B;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}

.plan-name{ text-align: center; margin: 12px 0 8px; font-weight: 800; letter-spacing: .7px; color: var(--text); }

.plan-devicons{ text-align: center; opacity: .85; margin-bottom: 6px; font-size: 16px; }

.plan-price{
  text-align: center;
  margin: 8px 0 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.currency{ font-weight: 800; opacity: .8; color: var(--text); }

.amount{
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .3s ease;
}

.plan-card:hover .amount{ transform: scale(1.06); }

.plan-divider{ border: none; border-top: 1px solid var(--border); margin: 10px 0 14px; }

.plan-features{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
}

.plan-features li{ display: flex; align-items: flex-start; gap: 10px; color: var(--text-soft); }

.plan-features li::before{
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #E9FBF2;
  color: #0FA968;
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.accent{ color: var(--primary); font-weight: 800; }

.buy-btn{
  margin-top: auto;
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 15px 12px;
  border-radius: 12px;
  letter-spacing: .5px;
  box-shadow: 0 14px 28px rgba(255,106,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}

.buy-btn::after{
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.buy-btn:hover::after{ left: 130%; }

.buy-btn:hover{ transform: translateY(-3px); box-shadow: 0 18px 36px rgba(255,106,0,.4); }

.buy-btn:active{ transform: translateY(-1px) scale(.99); }

/* ===== PANELES ===== */
.paneles-block{ padding: 60px 0 60px; background: var(--bg-soft); position: relative; overflow: hidden; }

.panel-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.panel-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,.9,.3,1), box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}

.panel-card:hover{
  transform: translateY(-12px) rotateX(calc(2deg + var(--tiltx, 0deg))) rotateY(var(--tilty, 0deg));
  box-shadow: var(--shadow-orange);
  border-color: rgba(255,106,0,.3);
}

.panel-card.featured{
  box-shadow: 0 0 0 2px rgba(255,106,0,.5), var(--shadow-orange);
  position: relative;
}

.panel-card.featured::before{
  content: "MÁS POPULAR";
  position: absolute;
  top: 14px;
  right: -34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  padding: 5px 40px;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 6px 14px rgba(255,106,0,.4);
  animation: ribbonPulse 2.4s ease-in-out infinite;
}

.panel-head{
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary), var(--primary-2), var(--primary));
  background-size: 220% 220%;
  animation: panelShimmer 6s ease infinite;
  padding: 16px 12px;
  text-align: center;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  font-size: 13px;
}

@keyframes panelShimmer{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.panel-body{ padding: 20px 20px 18px; display: flex; flex-direction: column; }

.panel-credits{
  text-align: center;
  margin: 8px 0 2px;
  font-weight: 800;
  opacity: .75;
  letter-spacing: .4px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text);
}

.panel-price{
  text-align: center;
  margin: 8px 0 16px;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .3s ease;
}

.panel-card:hover .panel-price{ transform: scale(1.05); }

.panel-price span{ font-size: 17px; opacity: .7; margin-right: 4px; -webkit-text-fill-color: var(--text); color: var(--text); }

.panel-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
}

.panel-list li{ display: flex; gap: 10px; align-items: flex-start; color: var(--text-soft); }

.panel-list li::before{
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #E9FBF2;
  color: #0FA968;
  font-weight: 800;
  flex: 0 0 auto;
}

.orange{ color: var(--primary); font-weight: 800; }

.panel-buy{
  margin-top: 14px;
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 12px;
  border-radius: 999px;
  letter-spacing: .5px;
  width: 85%;
  align-self: center;
  margin-bottom: 6px;
  box-shadow: 0 14px 28px rgba(255,106,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}

.panel-buy::after{
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.panel-buy:hover::after{ left: 130%; }

.panel-buy:hover{ transform: translateY(-3px); box-shadow: 0 18px 36px rgba(255,106,0,.4); }

.panel-buy:active{ transform: translateY(-1px) scale(.99); }

/* FAQS */
.faqs{ padding: 60px 0 70px; background: var(--bg); }

.faq{
  max-width: 820px;
  margin: 14px auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq.open{ border-color: rgba(255,106,0,.35); box-shadow: var(--shadow-orange); }

.faq-q{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.faq-icon{
  opacity: .7;
  color: var(--primary);
  transition: transform .3s ease;
  flex: 0 0 auto;
}

.faq-a{
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--text-soft);
  font-weight: 500;
  transition: max-height .35s ease, padding .35s ease;
}

.faq.open .faq-a{ padding: 0 20px 18px; }
.faq.open .faq-icon{ transform: rotate(180deg); }

/* ===== MEDIOS DE PAGO (tarjetas premium tipo banco) ===== */
.pagos-block{
  padding: 70px 0 90px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.pay-fan{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 56px;
  padding: 30px 0 20px;
  position: relative;
  z-index: 1;
  perspective: 1100px;
}

.pay-card{
  position: relative;
  width: 300px;
  aspect-ratio: 1.586;
  border-radius: 22px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 26px 56px rgba(21,24,29,.22);
  transition: transform .5s cubic-bezier(.22,.9,.3,1), box-shadow .5s ease;
  will-change: transform;
}

.pay-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.4) 45%, transparent 65%);
  background-size: 260% 260%;
  animation: payShimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes payShimmer{
  0%{ background-position: 130% -20%; }
  50%{ background-position: -30% 120%; }
  100%{ background-position: 130% -20%; }
}


.pay-card:nth-child(1){ transform: rotate(-13deg) translate(30px, 10px); z-index: 1; }
.pay-card:nth-child(2){ transform: rotate(-4deg) translate(14px, -8px); z-index: 2; margin-left: -108px; }
.pay-card:nth-child(3){ transform: rotate(4deg) translate(-14px, -8px); z-index: 3; margin-left: -108px; }
.pay-card:nth-child(4){ transform: rotate(13deg) translate(-30px, 10px); z-index: 4; margin-left: -108px; }

.pay-card:hover{
  transform: translateY(-38px) rotate(0deg) scale(1.16) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg)) !important;
  z-index: 10 !important;
  box-shadow: 0 46px 80px rgba(21,24,29,.34);
}

.pay-card-binance{ background: linear-gradient(155deg, #1c1f26 0%, #08090b 70%, #000 100%); }
.pay-card-paypal{ background: linear-gradient(155deg, #24357e 0%, #0b1440 100%); }
.pay-card-transfer{ background: linear-gradient(155deg, var(--primary-2) 0%, var(--primary-dark) 100%); }

.pay-card-cards{
  background: linear-gradient(155deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 100%);
  color: var(--text);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 26px 56px rgba(21,24,29,.14);
}

.pay-card-top{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-brand{ font-weight: 800; font-size: 19px; letter-spacing: .2px; }
.pay-card-binance .pay-brand{ color: #F0B90B; }
.pay-card-paypal .pay-brand{ font-style: italic; }

.binance-mark{
  width: 17px;
  height: 17px;
  background: #F0B90B;
  transform: rotate(45deg);
  border-radius: 3px;
  flex: 0 0 auto;
}

.visa-mark{
  position: relative;
  z-index: 1;
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  color: #1A1F71;
}

.pay-circles{
  position: absolute;
  right: 24px;
  bottom: 60px;
  z-index: 1;
  display: flex;
  align-items: center;
}

.mc-circle{ width: 28px; height: 28px; border-radius: 50%; display: inline-block; }
.mc-red{ background: #EB001B; }
.mc-orange{ background: #F79E1B; margin-left: -11px; mix-blend-mode: multiply; }

.pay-mark-transfer{ position: relative; z-index: 1; color: #fff; }
.pay-mark-transfer svg{ width: 30px; height: 30px; }

.pay-card-bottom{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pay-name{ font-weight: 800; font-size: 18px; }
.pay-sub{ font-size: 13px; font-weight: 600; opacity: .7; }
.pay-card-cards .pay-sub{ color: rgba(21,24,29,.65); }

@media (max-width: 900px){
  .pay-fan{
    justify-content: flex-start;
    overflow-x: auto;
    padding: 26px 6px 20px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .pay-card{
    width: 240px;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .pay-card:nth-child(1),
  .pay-card:nth-child(2),
  .pay-card:nth-child(3),
  .pay-card:nth-child(4){
    transform: rotate(0deg);
    margin-left: 14px;
  }

  .pay-card:hover{ transform: translateY(-16px) scale(1.06) !important; }
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 16px 34px rgba(255,106,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover{ transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 40px rgba(255,106,0,.55); }

.whatsapp-float svg{ width: 28px; height: 28px; }

.whatsapp-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,106,0,.55);
  animation: ringPulse 2.2s ease-out infinite;
}

@keyframes ringPulse{
  0%{ transform: scale(1); opacity: .8; }
  100%{ transform: scale(1.7); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .plans-grid{ grid-template-columns: repeat(2, 1fr); }
  .panel-grid{ grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 650px){
  .plans-grid{ grid-template-columns: 1fr; }
  .panel-grid{ grid-template-columns: 1fr; }
  .whatsapp-float{ width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
