/* =========================================================
   IAPIPS — Vídeo explicativo animado (HTML/CSS/SVG)
   Todo escala con el ancho del reproductor (unidades cqw).
   ========================================================= */
.xp__frame { container-type: inline-size; text-align: left; }
.xp__frame:fullscreen { border-radius: 0; display: grid; place-items: center; background: #0b0b0d; }
.xp__frame:fullscreen .xp__stage { aspect-ratio: 16/9; height: auto; max-height: 100vh; width: min(100vw, 177.78vh); inset: auto; position: relative; }

.xp__stage { position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(160,32,255,.10), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0/4cqw 4cqw,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/4cqw 4cqw,
    #050308; }

/* ---------- escenas ---------- */
.sc { position: absolute; inset: 0; padding: 5.5cqw 7cqw 14cqw; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: scale(1.02); transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s; }
.sc.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.sc__center { margin: auto; text-align: center; display: grid; gap: 1.2cqw; justify-items: center; position: relative; z-index: 1; }
.sc__bgviz { position: absolute; inset: 20% 0 0; width: 100%; height: 80%; opacity: .5; }

/* elementos animados: las entradas (--d) las anima explainer.js con WAAPI */
.xp.is-paused .xp__stage *, .xp.is-paused .xp__stage *::before, .xp.is-paused .xp__stage *::after { animation-play-state: paused !important; }

/* tipografía cinética */
.k { font-family: var(--serif); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.k em { font-style: italic; color: var(--gold); }
.k--md { font-size: 4.4cqw; color: var(--muted); }
.k--lg { font-size: 4.6cqw; }
.k--xl { font-size: 6.6cqw; margin-top: 1.2cqw; }
.k--red em { color: #f03b2a; }
.tag { font-family: var(--mono); font-size: 1.15cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4cqw; }

/* diagnóstico */
.vs { margin-top: auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 3cqw; align-items: center; }
.vs__col { display: flex; flex-wrap: wrap; gap: 1cqw; align-items: center; }
.vs__h { width: 100%; font-family: var(--mono); font-size: 1.1cqw; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: .4cqw; }
.vs__h--gold { color: var(--gold); }
.vs__arrow { font-size: 4cqw; color: var(--gold); }
.chip { font-size: 1.7cqw; padding: .8cqw 1.6cqw; border-radius: 99px; border: 1px solid var(--line-2); position: relative; }
.chip--x { color: var(--dim); }
.chip--x::after { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 2px; background: #f03b2a; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.sc.is-on .chip--x::after { transform: scaleX(1); transition-delay: calc(var(--d) + 1.4s); }
.chip--ok { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: transparent; font-weight: 500; }

/* tarjetas comparativas */
.duo { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.card { border: 1px solid var(--line-2); border-radius: 1.4cqw; padding: 1.8cqw; background: rgba(255,255,255,.02); display: grid; gap: 1cqw; align-content: start; }
.card svg { width: 100%; height: 11cqw; }
.card__h { font-family: var(--mono); font-size: 1.1cqw; letter-spacing: .18em; text-transform: uppercase; }
.card--bad .card__h { color: #f03b2a; }
.card--good { border-color: rgba(160,32,255,.45); background: rgba(160,32,255,.05); }
.card--good .card__h { color: var(--gold); }
.card__f { font-size: 1.45cqw; color: var(--muted); }
.card__f b { color: var(--ink); font-weight: 500; }
.big { height: 11cqw; display: flex; flex-direction: column; justify-content: center; }
.big span { font-family: var(--serif); font-size: 8cqw; line-height: 1; color: var(--ink); }
.big small { font-size: 1.4cqw; color: var(--muted); }

/* gráficos grandes */
.costs, .isoos, .mc { position: relative; margin-top: auto; height: 21cqw; }
.costs svg, .isoos svg, .mc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.costs__legend { position: absolute; left: 0; top: -1cqw; display: flex; gap: 2cqw; }
.lgx { font-size: 1.3cqw; color: var(--muted); display: inline-flex; align-items: center; gap: .6cqw; }
.lgx::before { content: ""; width: 2cqw; height: 2px; }
.lgx--gold::before { background: var(--gold); } .lgx--red::before { background: #f03b2a; }
.costs__tags { position: absolute; right: 0; top: -1.2cqw; display: flex; gap: .8cqw; }
.drop { font-family: var(--mono); font-size: 1.15cqw; color: #f03b2a; border: 1px solid rgba(240,59,42,.4); padding: .4cqw .9cqw; border-radius: 99px; background: rgba(240,59,42,.07); }
.isoos__l { position: absolute; top: -1.4cqw; font-family: var(--mono); font-size: 1.05cqw; letter-spacing: .12em; color: var(--muted); }
.isoos__l--is { left: 0; } .isoos__l--oos { left: 62%; color: var(--green); }
.pill2 { position: absolute; right: 0; font-size: 1.25cqw; padding: .4cqw 1cqw; border-radius: 99px; }
.pill2--red { bottom: 2cqw; color: #f03b2a; border: 1px solid rgba(240,59,42,.45); }
.pill2--green { top: 3.4cqw; color: var(--green); border: 1px solid rgba(69,181,88,.45); }
.mc__limit { position: absolute; left: 0; bottom: 3.1cqw; font-family: var(--mono); font-size: 1.05cqw; letter-spacing: .08em; color: #f03b2a; background: #050308; padding-right: 1cqw; }

/* mapas de calor */
.heat { display: grid; grid-template-columns: repeat(11, 1fr); gap: .35cqw; height: 11cqw; }
.heat i { border-radius: .3cqw; background: rgba(241,237,228,.05); transform: scale(.3); opacity: 0; transition: transform .5s var(--ease), opacity .5s, background .5s; }
.sc.is-on .heat i { transform: none; opacity: 1; transition-delay: var(--hd); }

/* checklist */
.checks { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.3cqw 3cqw; }
.checks li { display: flex; align-items: center; gap: 1.2cqw; font-size: 1.8cqw; color: var(--ink); }
.checks li::before { content: ""; flex: none; width: 2.6cqw; height: 2.6cqw; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/60% no-repeat; }

/* CTA */
.xlogo { display: inline-flex; align-items: center; gap: 1cqw; font-weight: 600; letter-spacing: .2em; font-size: 1.8cqw; }
.xlogo svg { width: 4cqw; height: 4cqw; padding: .7cqw; border: 1px solid var(--line-2); border-radius: 1cqw; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.xp__ctabtn { margin-top: 1.6cqw; height: auto; padding: 1.3cqw 3cqw; font-size: 1.7cqw; }

/* trazos SVG */
.xl { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.xl--thin { stroke-width: 1; }

/* ---------- portada ---------- */
.xp__cover { position: absolute; inset: 0; z-index: 4; background: radial-gradient(120% 90% at 50% 0%, #160a26, #050308 70%); transition: opacity .6s var(--ease), visibility 0s .6s; }
.xp.is-started .xp__cover { opacity: 0; visibility: hidden; }

/* ---------- subtítulos ---------- */
.xp__cap { position: absolute; left: 50%; bottom: 6.4cqw; transform: translateX(-50%); z-index: 3; width: max-content; max-width: 86%;
  text-align: center; font-size: clamp(.7rem, 1.6cqw, 1.1rem); line-height: 1.4; color: var(--ink);
  padding: .5em 1em; border-radius: 10px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s; }
.xp__cap.is-on { opacity: 1; }

/* ---------- controles ---------- */
.xp__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: clamp(.4rem, 1.4cqw, 1rem);
  padding: clamp(.5rem, 1.6cqw, 1rem) clamp(.7rem, 2cqw, 1.4rem); background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0; transition: opacity .4s; }
.xp.is-started .xp__bar { opacity: 1; }
.xp.is-started.is-idle:not(.is-paused) .xp__bar { opacity: 0; }
.xp__btn { width: clamp(28px, 4cqw, 38px); height: clamp(28px, 4cqw, 38px); border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .3s; }
.xp__btn:hover { background: rgba(255,255,255,.1); }
.xp__btn svg { width: 55%; fill: var(--ink); }
.xp__btn--txt svg, [data-xp-full] svg { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xp__btn[aria-pressed="true"] { background: var(--gold); }
.xp__btn[aria-pressed="true"] svg { stroke: var(--gold-ink); }
.xp .i-play { display: none; } .xp.is-paused .i-play { display: block; } .xp.is-paused .i-pause { display: none; }
.xp__track { flex: 1; display: flex; gap: 3px; height: 18px; align-items: center; cursor: pointer; }
.xp__seg { position: relative; flex: var(--w); height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; transition: height .2s; }
.xp__track:hover .xp__seg { height: 6px; }
.xp__seg b { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.xp__time { color: var(--muted); font-size: clamp(.6rem, 1.2cqw, .75rem); min-width: 4.5em; text-align: right; }
.xp__chapter { margin-top: 1rem; min-height: 1.2em; text-align: center; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }


/* =========================================================
   v2 · Escenas de venta
   ========================================================= */
.xp__aurora { position: absolute; inset: -20%; pointer-events: none; opacity: .7;
  background: radial-gradient(35% 40% at 20% 30%, rgba(160,32,255,.16), transparent 70%),
              radial-gradient(30% 35% at 80% 70%, rgba(69,181,88,.08), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate(6%, -4%) rotate(8deg) scale(1.1); } }
.xp__wipe { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(200,150,255,.0) 38%, rgba(200,150,255,.35) 50%, rgba(200,150,255,0) 62%, transparent 70%);
  background-size: 250% 100%; mix-blend-mode: screen; }

/* palabra a palabra */
.sc .w { display: inline-block; white-space: pre; }
.k--hero { font-size: 6.4cqw; max-width: 18ch; line-height: 1.02; }
.k--mega { font-size: 8.6cqw; line-height: 1; }
.k--md2 { font-size: 3.6cqw; margin-top: 1.4cqw; max-width: 14ch; }
.k--num { font-size: 13cqw; line-height: .9; }
.grad, .shine { background: linear-gradient(100deg, #6d12d6 0%, #e6ccff 35%, #a855ff 55%, #f6edff 70%, #6d12d6 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 4s linear infinite; }
.shine em, .grad em { color: transparent; }
@keyframes shine { to { background-position: -220% 0; } }

.moon { margin-top: 2.4cqw; display: inline-flex; align-items: center; gap: 1cqw; padding: .8cqw 1.6cqw; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.moon span { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .5cqw rgba(69,181,88,.15); animation: pulse 1.6s infinite; }
.moon b { font-weight: 400; font-size: 1.15cqw; color: var(--muted); letter-spacing: .1em; }

.emos { display: flex; gap: 1.4cqw; justify-content: center; margin: 1.6cqw 0 .6cqw; }
.emos span { font-family: var(--mono); font-size: 1.5cqw; letter-spacing: .14em; text-transform: uppercase; color: #f03b2a; padding: .7cqw 1.4cqw; border: 1px solid rgba(240,59,42,.4); border-radius: 99px; background: rgba(240,59,42,.07); }
@keyframes jitter { 50% { transform: translate(.3cqw, -.2cqw) rotate(-1.5deg); } }

.trio { display: flex; align-items: center; gap: 1.6cqw; margin-top: 1.6cqw; font-size: 1.9cqw; color: var(--ink); }
.trio i { width: .8cqw; height: .8cqw; transform: rotate(45deg); background: var(--gold); }

.split2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4cqw; align-items: center; height: 100%; }

.term { border: 1px solid var(--line-2); border-radius: 1.4cqw; background: rgba(10,10,12,.85); box-shadow: 0 3cqw 6cqw -3cqw rgba(0,0,0,.8), 0 0 0 1px rgba(160,32,255,.1); overflow: hidden; }
.term__top { display: flex; align-items: center; gap: .6cqw; padding: 1.1cqw 1.4cqw; border-bottom: 1px solid var(--line); }
.term__top i { width: .9cqw; height: .9cqw; border-radius: 50%; background: rgba(255,255,255,.14); }
.term__top span { margin-left: 1cqw; font-size: 1cqw; color: var(--muted); }
.live { color: var(--green); font-weight: 400; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.term__row { display: grid; grid-template-columns: 6cqw 1fr auto; column-gap: 1.4cqw; padding: 1cqw 1.4cqw; border-bottom: 1px solid var(--line); font-size: 1.45cqw; align-items: center; }
.term__row .mono { font-size: 1.15cqw; color: var(--gold); }
.term__row em { font-style: normal; font-family: var(--mono); font-size: 1.3cqw; }
.term__row .up { color: var(--green); } .term__row .dn { color: #f03b2a; }
.term__row small { grid-column: 2 / -1; font-size: 1.1cqw; color: var(--dim); }
.term__note { padding: .8cqw 1.4cqw; font-size: .95cqw; color: var(--dim); }

.pulse { margin-top: auto; display: grid; gap: 2cqw; }
.pulse__row { display: grid; grid-template-columns: 16cqw 1fr; align-items: center; gap: 2cqw; border: 1px solid var(--line); border-radius: 1.2cqw; padding: 1.2cqw 1.6cqw; background: rgba(255,255,255,.02); }
.pulse__row svg { width: 100%; height: 6cqw; overflow: visible; }
.pulse__lbl { font-family: var(--mono); font-size: 1.1cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pulse__lbl--red { color: #f03b2a; }

.badges { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1.1cqw; }
.badges span { display: inline-flex; align-items: center; gap: .8cqw; font-size: 1.75cqw; padding: 1cqw 1.8cqw; border-radius: 99px; border: 1px solid rgba(160,32,255,.35); background: rgba(160,32,255,.06); }
.badges span::before { content: "✓"; color: var(--gold); font-size: .9em; }
.badges .badges__ok { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); font-weight: 600; border: 0; box-shadow: 0 0 4cqw rgba(160,32,255,.45); }
.badges .badges__ok::before { content: none; }

.scale { margin-top: auto; display: grid; grid-template-columns: 1fr .8fr 1.2fr; align-items: center; height: 22cqw; }
.scale__core { justify-self: start; display: grid; justify-items: center; gap: .5cqw; padding: 2cqw 2.6cqw; border-radius: 1.6cqw; border: 1px solid rgba(160,32,255,.5); background: radial-gradient(circle at 50% 0%, rgba(160,32,255,.2), rgba(160,32,255,.03)); box-shadow: 0 0 5cqw rgba(160,32,255,.25); }
.scale__core svg { width: 4cqw; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.scale__core b { font-size: 1.9cqw; font-weight: 500; } .scale__core small { font-size: 1.1cqw; color: var(--muted); }
.scale__wires { width: 100%; height: 100%; overflow: visible; }
.scale__accs { display: grid; gap: 1.2cqw; }
.scale__accs span { font-size: 1.55cqw; padding: 1.1cqw 1.6cqw; border-radius: 1cqw; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); display: flex; align-items: center; gap: 1cqw; }
.scale__accs span::before { content: ""; width: .9cqw; height: .9cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 1.2cqw var(--green); }

.nolist { margin-top: 2cqw; display: grid; gap: 1cqw; }
.nolist li { font-size: 2cqw; display: flex; align-items: center; gap: 1.2cqw; }
.nolist li::before { content: "✕"; display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; font-size: 1.2cqw; color: var(--gold-ink); background: var(--gold); }
.lock { position: relative; justify-self: center; display: grid; justify-items: center; gap: 2cqw; }
.lock svg { width: 13cqw; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; filter: drop-shadow(0 0 2cqw rgba(160,32,255,.5)); }
.lock .mono { font-size: 1.1cqw; color: var(--muted); }
.lock__ring { position: absolute; top: -3cqw; width: 19cqw; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(160,32,255,.35); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stack { margin-top: auto; display: grid; gap: 1cqw; }
.stack li { display: flex; align-items: center; gap: 1.4cqw; font-size: 1.85cqw; color: var(--muted); padding: 1.1cqw 1.6cqw; border-radius: 1cqw; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.stack li::before { content: ""; flex: none; width: 2.4cqw; height: 2.4cqw; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/60% no-repeat; }
.stack b { color: var(--ink); font-weight: 500; }
.stack .stack--pro { border-color: rgba(160,32,255,.5); background: rgba(160,32,255,.07); }
.stack--pro span { margin-left: auto; font-family: var(--mono); font-size: 1.1cqw; letter-spacing: .14em; padding: .3cqw .9cqw; border-radius: 99px; background: var(--gold); color: var(--gold-ink); }

.nosub { font-family: var(--mono); font-size: 1.5cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.nosub s { text-decoration-color: #f03b2a; text-decoration-thickness: 2px; }
.prices { display: flex; gap: 1.8cqw; align-items: end; margin-top: 2.4cqw; }
.pc { display: grid; justify-items: center; gap: .4cqw; padding: 1.8cqw 2.8cqw; border-radius: 1.4cqw; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); position: relative; }
.pc small { font-family: var(--mono); font-size: 1.05cqw; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pc b { font-family: var(--serif); font-weight: 400; font-size: 4.2cqw; line-height: 1; }
.pc--hot { padding: 2.6cqw 3.6cqw; border-color: rgba(160,32,255,.6); background: radial-gradient(circle at 50% 0%, rgba(160,32,255,.22), rgba(160,32,255,.03)); box-shadow: 0 0 6cqw rgba(160,32,255,.3); }
.pc--hot b { font-size: 6cqw; color: var(--gold-2); }
.pc--hot > i { position: absolute; top: -1.2cqw; font-style: normal; font-size: 1cqw; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .35cqw 1cqw; border-radius: 99px; background: var(--gold); color: var(--gold-ink); }

.sc--cta .k--xl { max-width: 20ch; }
.sc.is-on .xp__ctabtn { animation: cta-pulse 2s ease-in-out 3.4s infinite; }
@keyframes cta-pulse { 50% { box-shadow: 0 0 0 1.2cqw rgba(160,32,255,.15), 0 1.6cqw 4cqw -1cqw rgba(160,32,255,.7); } }
.ctafine { font-size: 1.3cqw; color: var(--muted); }
.risk { font-size: .95cqw; color: var(--dim); max-width: 60ch; }
/* ajustes de encaje */
.stack { gap: .6cqw; }
.stack li { padding: .75cqw 1.4cqw; font-size: 1.6cqw; }
.stack li::before { width: 2cqw; height: 2cqw; }
.nosub { color: var(--muted); font-size: 1.7cqw; }
.sc--cta .k--xl { font-size: 5.2cqw; margin-top: .4cqw; }
.sc--cta .sc__center { gap: .9cqw; margin-top: 0; }
.sc--cta .xp__ctabtn { margin-top: .8cqw; }
.sc--cta { padding-top: 4cqw; }
@media (max-width: 560px) { .xp__cap { display: none; } }
/* sonido */
.xp [data-xp-sound][aria-pressed="true"] { background: transparent; }
.xp [data-xp-sound][aria-pressed="true"] svg { stroke: var(--ink); }
.xp [data-xp-sound] .i-mute { display: none; }
.xp [data-xp-sound][aria-pressed="false"] .i-snd { display: none; }
.xp [data-xp-sound][aria-pressed="false"] .i-mute { display: block; }

/* =========================================================
   Royal Violet · tipografía del vídeo (palo seco)
   ========================================================= */
.k { font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; }
.k em { font-style: normal; color: #c58bff; text-shadow: 0 0 2.4cqw rgba(147,18,255,.45); }
.k--red em { color: #ff5a47; text-shadow: 0 0 2cqw rgba(240,59,42,.35); }
.k--hero { font-size: 5.3cqw; max-width: 20ch; }
.k--mega { font-size: 6.8cqw; }
.k--lg { font-size: 3.9cqw; }
.k--md { font-size: 3.1cqw; }
.k--md2 { font-size: 2.9cqw; max-width: 15ch; }
.k--xl { font-size: 5cqw; }
.k--num { font-size: 11cqw; letter-spacing: -0.06em; }
.sc--cta .k--xl { font-size: 4.4cqw; }
.big span, .pc b { font-weight: 600; letter-spacing: -0.04em; }
.xp__stage { background:
    radial-gradient(80% 70% at 50% -10%, rgba(147,18,255,.22), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0/4cqw 4cqw,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/4cqw 4cqw,
    #030206; }
.xp__aurora { background: radial-gradient(35% 40% at 20% 30%, rgba(160,32,255,.22), transparent 70%), radial-gradient(30% 35% at 80% 70%, rgba(255,80,220,.10), transparent 70%); }
.xp__wipe { background: linear-gradient(100deg, transparent 30%, rgba(200,150,255,0) 38%, rgba(200,150,255,.4) 50%, rgba(200,150,255,0) 62%, transparent 70%); background-size: 250% 100%; }
.xp__seg b { background: linear-gradient(90deg, #7a1cf8, #c58bff); }
.chip--ok, .badges .badges__ok, .stack--pro span, .pc--hot > i, .nolist li::before { color: #fff; background: linear-gradient(180deg, #a020ff, #7a1cf8); }
.badges .badges__ok { box-shadow: 0 0 4cqw rgba(147,18,255,.6); }
.xp__btn[aria-pressed="true"] svg { stroke: #fff; }
.xp__btn[aria-pressed="true"] { background: #8f1cff; }

/* =========================================================
   v3 · Dirección dinámica: cámara, transiciones, ritmo
   ========================================================= */
.xp__stage { --beat: 0; background: radial-gradient(90% 70% at 50% -10%, rgba(147,18,255,.24), transparent 60%), #030206; }
.xp__world { position: absolute; inset: 0; z-index: 1; }
.sc { padding: 0; transform: none; transition: none; }
.sc.is-on { z-index: 2; transition: none; }
.sc.is-out { opacity: 1; visibility: visible; z-index: 1; }
.sc__cam { position: absolute; inset: 0; padding: 5.5cqw 7cqw 14cqw; display: flex; flex-direction: column; transform-origin: 50% 45%; }
.sc--cta .sc__cam { padding-top: 4cqw; }

/* fondo vivo: suelo en perspectiva, partículas y pulso al ritmo de la música */
.xp__floor { position: absolute; left: -40%; right: -40%; bottom: -4%; height: 48%; pointer-events: none;
  background-image: linear-gradient(rgba(170,80,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(170,80,255,.6) 1px, transparent 1px);
  background-size: 6cqw 6cqw; transform: perspective(40cqw) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 35%, transparent 80%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 35%, transparent 80%);
  opacity: calc(.14 + var(--beat) * .26); animation: xfloor 1.0714s linear infinite; }
@keyframes xfloor { to { background-position: 0 6cqw, 0 0; } }
.xp__particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.xp__particles::before, .xp__particles::after { content: ""; position: absolute; left: 0; right: 0; top: 0; }
.xp__particles::before { height: calc(100% + 40cqw); background-size: 40cqw 40cqw; animation: xrise1 26s linear infinite;
  background-image: radial-gradient(circle at 12% 18%, rgba(225,200,255,.85) 0 .09cqw, transparent .16cqw), radial-gradient(circle at 63% 41%, rgba(225,200,255,.6) 0 .07cqw, transparent .14cqw),
    radial-gradient(circle at 37% 77%, rgba(225,200,255,.75) 0 .1cqw, transparent .18cqw), radial-gradient(circle at 86% 88%, rgba(225,200,255,.5) 0 .06cqw, transparent .12cqw); }
.xp__particles::after { height: calc(100% + 23cqw); background-size: 23cqw 23cqw; opacity: .55; animation: xrise2 15s linear infinite;
  background-image: radial-gradient(circle at 28% 62%, rgba(197,139,255,.9) 0 .12cqw, transparent .3cqw), radial-gradient(circle at 74% 14%, rgba(197,139,255,.7) 0 .08cqw, transparent .22cqw); }
@keyframes xrise1 { to { transform: translateY(-40cqw); } }
@keyframes xrise2 { to { transform: translateY(-23cqw); } }
.xp__pulse { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 50% 45%, rgba(147,18,255,.2), transparent 70%); opacity: var(--beat); }
.xp__flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 45%, rgba(255,244,255,.95), rgba(197,139,255,.55) 40%, rgba(147,18,255,.15) 80%); }
.xp__ring { position: absolute; z-index: 3; width: 14cqw; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: 0;
  border: .22cqw solid rgba(210,168,255,.95); box-shadow: 0 0 2cqw rgba(147,18,255,.7), inset 0 0 2cqw rgba(147,18,255,.5); }
.xp__wipe { z-index: 3; }

/* tipografía cinética: marcador bajo la palabra clave y brillo al pulso */
.k em { text-shadow: 0 0 calc(2cqw + var(--beat) * 2.2cqw) rgba(147,18,255,calc(.4 + var(--beat) * .35)); }
.k--red em { text-shadow: 0 0 calc(2cqw + var(--beat) * 1.6cqw) rgba(240,59,42,calc(.35 + var(--beat) * .3)); }
.k em.mark { background-image: linear-gradient(90deg, #7a1cf8, #e3c2ff); background-repeat: no-repeat; background-position: 0 98%; background-size: 0% .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .05em; }
.k--red em.mark { background-image: linear-gradient(90deg, #b3180b, #ff8a7a); }
.k--md3 { font-size: 3.4cqw; color: var(--muted); }
.k--mega2 { font-size: 8.2cqw; line-height: 1; letter-spacing: -.05em; }
.sc--hook .moon { margin-top: 1.6cqw; }
.trio i { width: 1.1cqw; height: 1.1cqw; transform: none; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(#d9b3ff, #7a1cf8); }

/* el problema: palabras que golpean a pantalla completa */
.slams { display: grid; place-items: center; min-height: 12cqw; margin-top: 1.4cqw; }
.slams > * { grid-area: 1 / 1; }
.slams span { font-family: var(--serif); font-weight: 700; font-size: 10.5cqw; letter-spacing: -.05em; line-height: 1; color: #ff4a36; opacity: 0;
  text-shadow: .3cqw 0 0 rgba(0,229,255,.45), -.3cqw 0 0 rgba(255,0,140,.5), 0 0 4cqw rgba(240,59,42,.55); }
.sc:is(.is-on, .is-out) .slams span { animation: xslam .62s var(--t) both cubic-bezier(.2,.8,.2,1); }
@keyframes xslam {
  0% { opacity: 0; transform: scale(2.7); filter: blur(14px); }
  18% { opacity: 1; transform: scale(.93); filter: blur(0); }
  30% { transform: scale(1); }
  80% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.12); filter: blur(6px); } }
.slams__final { margin: 0; }

/* cero emociones: duelo humano vs algoritmo */
.versus { margin-top: auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.2cqw; align-items: center; }
.vcard { display: grid; gap: 1cqw; padding: 1.6cqw 1.8cqw; border-radius: 1.4cqw; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.vcard svg { width: 100%; height: 8cqw; overflow: visible; }
.vcard small { font-size: 1.25cqw; color: var(--muted); }
.vcard--bad { border-color: rgba(240,59,42,.35); background: rgba(240,59,42,.04); }
.vcard--good { border-color: rgba(160,32,255,.5); background: radial-gradient(circle at 50% 0%, rgba(160,32,255,.16), rgba(160,32,255,.03));
  box-shadow: 0 0 calc(3cqw + var(--beat) * 3cqw) rgba(147,18,255,calc(.18 + var(--beat) * .25)); }
.vsbadge { width: 7cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 2.4cqw; letter-spacing: -.02em; color: #fff;
  background: linear-gradient(180deg, #a020ff, #7a1cf8); box-shadow: 0 0 0 .6cqw rgba(147,18,255,.18), 0 0 calc(3cqw + var(--beat) * 3cqw) rgba(147,18,255,.65); }

/* validación: anillo de progreso y sello */
.valid { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 3.4cqw; align-items: center; }
.valid .badges { margin-top: 0; }
.gauge { position: relative; width: 17cqw; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge circle { fill: none; stroke-width: 7; }
.gauge__bg { stroke: rgba(255,255,255,.07); }
.gauge__fg { stroke: #b46cff; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(160,32,255,.85)); }
.sc:is(.is-on, .is-out) .gauge__fg { animation: xgauge .5s 4.7s both; }
@keyframes xgauge { from { stroke: #b46cff; } to { stroke: #45b558; filter: drop-shadow(0 0 9px rgba(69,181,88,.9)); } }
.gauge__n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__n b { font-family: var(--serif); font-weight: 700; font-size: 4.6cqw; letter-spacing: -.04em; line-height: 1; }
.gauge__n small { font-family: var(--mono); font-size: .9cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .5cqw; }
.badges .badges__ok { box-shadow: 0 0 calc(3cqw + var(--beat) * 3cqw) rgba(147,18,255,.65); }

/* precio: tarjetas que giran y destello en el pack recomendado */
.prices { perspective: 900px; }
.pc--hot { box-shadow: 0 0 calc(5cqw + var(--beat) * 4cqw) rgba(160,32,255,calc(.25 + var(--beat) * .3)); }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -.15cqw; top: 0; width: .3cqw; height: 2.2cqw; border-radius: 99px; opacity: 0; transform-origin: 50% 0;
  background: linear-gradient(#f3e6ff, rgba(197,139,255,0)); }
.sc:is(.is-on, .is-out) .burst i { animation: xray .95s 2.35s cubic-bezier(.1,.7,.3,1) both; }
@keyframes xray {
  0% { opacity: 0; transform: rotate(calc(var(--i) * 30deg)) translateY(4cqw) scaleY(.3); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: rotate(calc(var(--i) * 30deg)) translateY(12cqw) scaleY(1); } }

/* CTA: ondas alrededor del botón */
.ctawrap { position: relative; display: inline-grid; place-items: center; margin-top: .8cqw; }
.ctawrap .xp__ctabtn { margin-top: 0; }
.cring { position: absolute; inset: 0; border-radius: 99px; border: 1px solid rgba(197,139,255,.75); opacity: 0; pointer-events: none; }
.sc.is-on .cring { animation: xcring 2.2s 2.8s ease-out infinite; }
.sc.is-on .cring--2 { animation-delay: 3.9s; }
@keyframes xcring { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3, 1.9); } }
.scale__core, .lock svg { transition: none; }
.scale__core { box-shadow: 0 0 calc(4cqw + var(--beat) * 3cqw) rgba(160,32,255,calc(.22 + var(--beat) * .25)); }

@media (prefers-reduced-motion: reduce) {
  .xp__floor, .xp__particles::before, .xp__particles::after { animation: none; }
}

/* "Monthly subscription" tachado en directo */
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: .16em; border-radius: 99px; background: #f03b2a;
  box-shadow: 0 0 1cqw rgba(240,59,42,.6); transform: scaleX(0); transform-origin: left; }
.sc:is(.is-on, .is-out) .strike::after { animation: xstrike .45s .7s cubic-bezier(.65,0,.25,1) both; }
@keyframes xstrike { to { transform: scaleX(1); } }
