/* ============================================================
   F01 Pro — capa FX (2026-11-16). Va DESPUÉS de f01-tech.css.
   Aurora, luz al cursor, capturas en 3D, muro de pantallas,
   recorrido fijo al hacer scroll, haces de luz y meteoros.
   Nada de contenido depende de una animación para verse: los
   estados ocultos solo existen bajo html.fx-on (lo pone f01-fx.js)
   y todo se apaga con prefers-reduced-motion.
   ============================================================ */
@property --fx-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes fx-spin { to { --fx-a: 360deg; } }
:root { --fx-o1: #ff7a1a; --fx-o2: #ffb35c; --fx-b1: #4f7cff; --fx-v1: #9b5cff; }

/* ── Haz de luz que recorre el borde ── */
.fx-beam { position: relative; }
.fx-beam::after, body.landing .hero-shot .app-window::after {
  content: ''; display: block; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 5;
  background: conic-gradient(from var(--fx-a), transparent 0 62%, rgba(255, 122, 26, .0) 66%, var(--fx-o1) 82%, #fff 88%, var(--fx-b1) 93%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: fx-spin 6s linear infinite;
}

/* ── Hero: aurora + luz al cursor ── */
body.landing .hero { background: #070a11; }
body.landing .hero-grid-bg { overflow: hidden; -webkit-mask-image: none; mask-image: none; background-image: none; }
body.landing .hero-grid-bg::before {
  content: ''; position: absolute; left: 50%; top: -38%; width: 1500px; height: 900px; margin-left: -750px; border-radius: 50%;
  background: conic-gradient(from 200deg at 50% 50%, var(--fx-o1), var(--fx-v1) 25%, var(--fx-b1) 45%, transparent 60%, var(--fx-o2) 85%, var(--fx-o1));
  filter: blur(90px); opacity: .5; animation: fx-aurora 18s ease-in-out infinite alternate;
}
@keyframes fx-aurora { 0% { transform: rotate(0deg) scale(1) translateX(-6%); } 50% { transform: rotate(40deg) scale(1.15) translateX(6%); } 100% { transform: rotate(-25deg) scale(1.05) translateX(-2%); } }
body.landing .hero-grid-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 28%), #000 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .12) 100%);
          mask-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 28%), #000 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .12) 100%);
}
body.landing .hero-spot { display: block; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 28%), rgba(255, 150, 70, .18), transparent 62%); }
body.landing .hero-content h1 em { background: linear-gradient(90deg, var(--fx-o2), var(--fx-o1), #ff5fa2, var(--fx-o2)); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: fx-shine 5s linear infinite; }
@keyframes fx-shine { to { background-position: 250% center; } }
body.landing .hero-actions .btn-primary { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 12px 40px -10px rgba(255, 122, 26, .75); }
body.landing .hero-actions .btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 16px 56px -8px rgba(255, 122, 26, .95); }

/* Captura principal en 3D que se endereza al bajar + abanico de capturas */
body.landing .hero-shot { perspective: 2200px; max-width: 1060px; margin-top: 76px; }
body.landing .hero-shot::before { left: -8%; right: -8%; top: -12%; bottom: 20%; background: radial-gradient(55% 70% at 50% 45%, rgba(255, 122, 26, .42), rgba(79, 124, 255, .18) 55%, transparent 75%); filter: blur(30px); }
body.landing .hero-shot .app-window { position: relative; z-index: 2; transform: rotateX(var(--hx, 14deg)) scale(var(--hs, .94)) !important; transform-origin: 50% 0; will-change: transform; }
body.landing .hero-side { position: absolute; top: 9%; width: 46%; z-index: 1; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .85); opacity: .9; will-change: transform; }
body.landing .hero-side img { display: block; width: 100%; height: auto; }
body.landing .hero-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 10, 17, .15), rgba(7, 10, 17, .6)); }
body.landing .hs-l { left: -17%; transform: translate3d(calc(var(--fan, 0) * -4%), 0, 0) rotateY(28deg) rotateX(6deg) scale(.9); transform-origin: 100% 50%; }
body.landing .hs-r { right: -17%; transform: translate3d(calc(var(--fan, 0) * 4%), 0, 0) rotateY(-28deg) rotateX(6deg) scale(.9); transform-origin: 0 50%; }
body.landing .float-card { transform: translate3d(0, var(--fy, 0px), 0) !important; transition: transform .12s linear; animation: fx-pop .7s .9s cubic-bezier(.2, 1.4, .4, 1) both; }
body.landing .fc-2 { animation-delay: 1.1s; } body.landing .fc-3 { animation-delay: 1.3s; }
@keyframes fx-pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
body.landing .float-card i { box-shadow: 0 0 0 0 rgba(255, 138, 61, .5); animation: fx-ping 2.6s ease-out infinite; }
@keyframes fx-ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 138, 61, 0); } }

/* ── Titulares: palabra por palabra con desenfoque ── */
html.fx-on .fx-w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), filter .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 55ms); }
html.fx-on .fx-in .fx-w { opacity: 1; filter: none; transform: none; }

/* ── Capturas: inclinación 3D con brillo al pasar el cursor ── */
body.landing .app-window.fx { transform: translate3d(0, var(--py, 0px), 0) perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)) !important; transition: transform .25s ease-out, box-shadow .3s; }
body.landing .app-window.fx::after { content: ''; display: block; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .3), transparent 45%); }
body.landing .app-window.fx:hover { --lift: -8px; }
body.landing .app-window.fx:hover::after { opacity: 1; }
/* aparecen con barrido */
html.fx-on body.landing .fx-wipe { clip-path: inset(0 0 100% 0 round 10px); opacity: .2; transition: clip-path 1s cubic-bezier(.2, .7, .2, 1), opacity .6s; }
html.fx-on body.landing .fx-wipe.fx-in { clip-path: inset(0 0 0 0 round 10px); opacity: 1; }

/* ── Tarjetas con luz que sigue al cursor ── */
.fx-spot { position: relative; isolation: isolate; }
.fx-spot::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(280px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 122, 26, .16), transparent 65%); }
.fx-spot::before { content: ''; display: block !important; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(220px circle at var(--sx, 50%) var(--sy, 50%), var(--fx-o1), rgba(79, 124, 255, .7) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.fx-spot:hover::after, .fx-spot:hover::before { opacity: 1; }
body.landing .fx-spot:hover { transform: translateY(-4px); transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .2s; }
html.fx-on .fx-rise { opacity: 0; transform: translateY(26px) scale(.97); filter: blur(6px); transition: opacity .7s, transform .8s cubic-bezier(.2, .7, .2, 1), filter .7s; transition-delay: calc(var(--i, 0) * 80ms); }
html.fx-on .fx-rise.fx-in { opacity: 1; transform: none; filter: none; }

/* ── Cifras ── */
body.landing .stat-cell .num { background: linear-gradient(120deg, #0f1522 30%, var(--fx-o1)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 2.9rem; }
body.landing .stat-cell { position: relative; overflow: hidden; }
body.landing .stat-cell::after { content: ''; position: absolute; left: 24px; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--fx-o1), transparent); transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
body.landing .stat-cell.visible::after { width: 60%; }

/* ============================================================
   MURO DE PANTALLAS EN 3D
   ============================================================ */
.fx-wall { position: relative; height: 760px; margin-top: 96px; overflow: hidden; background: #070a11; color: #fff; isolation: isolate; padding: 0 !important; }
.fx-wall-plane { position: absolute; left: 50%; top: 50%; width: 2100px; height: 1700px; margin: -850px 0 0 -1050px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  transform: rotateX(54deg) rotateZ(-38deg) translateZ(0); transform-style: preserve-3d; }
.fx-wall-scene { position: absolute; inset: 0; perspective: 1600px; }
.fx-wall-col { display: flex; flex-direction: column; gap: 22px; animation: fx-up 46s linear infinite; will-change: transform; }
.fx-wall-col:nth-child(even) { animation-name: fx-down; animation-duration: 54s; }
.fx-wall-col:nth-child(3n) { animation-duration: 62s; }
@keyframes fx-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes fx-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.fx-wall-col img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 873; object-fit: cover; object-position: 0 0; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 50px -20px #000; cursor: zoom-in; transition: transform .35s, box-shadow .35s, filter .35s; filter: brightness(.96); }
.fx-wall-col img:hover { transform: translateZ(60px) scale(1.06); filter: none; box-shadow: 0 40px 80px -20px rgba(255, 122, 26, .55); }
.fx-wall:hover .fx-wall-col { animation-play-state: paused; }
.fx-wall::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 46% 52% at 50% 50%, rgba(7, 10, 17, .94) 0%, rgba(7, 10, 17, .62) 42%, transparent 68%), linear-gradient(180deg, #070a11 0%, transparent 16%, transparent 84%, #070a11 100%), linear-gradient(90deg, #070a11 0%, transparent 12%, transparent 88%, #070a11 100%); }
.fx-wall-copy { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, 88vw); text-align: center; pointer-events: none; }
.fx-wall-copy > * { pointer-events: auto; }
.fx-wall-copy .eyebrow { color: var(--fx-o2) !important; }
.fx-wall-copy h2 { color: #fff !important; font-size: clamp(2rem, 4.4vw, 3.4rem) !important; letter-spacing: -0.04em !important; margin-bottom: 14px; }
.fx-wall-copy h2 b { font-weight: inherit; background: linear-gradient(90deg, var(--fx-o2), var(--fx-o1)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fx-wall-copy p { color: rgba(255, 255, 255, .72); font-size: 1.05rem; margin: 0 auto 24px; max-width: 480px; }

/* ============================================================
   RECORRIDO FIJO: el texto avanza, la pantalla cambia
   ============================================================ */
.fx-tour { background: #fff; padding-bottom: 40px !important; }
.fx-tour-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; margin-top: 24px; }
.fx-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.fx-step.on { opacity: 1; }
.fx-step .n { font-family: var(--t-mono); font-size: .74rem; letter-spacing: .12em; color: var(--t-accent-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.fx-step .n::after { content: ''; height: 1px; width: 0; background: var(--t-accent); transition: width .8s cubic-bezier(.2, .7, .2, 1) .15s; }
.fx-step.on .n::after { width: 64px; }
.fx-step h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 14px; }
.fx-step p { color: var(--t-muted); font-size: 1.08rem; line-height: 1.65; max-width: 420px; margin: 0; }
.fx-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; perspective: 1800px; }
.fx-stage-in { position: relative; width: 100%; aspect-ratio: 1600 / 900; }
.fx-stage-in::before { content: ''; position: absolute; inset: -14% -10%; z-index: -1; filter: blur(50px); opacity: .55; border-radius: 50%;
  background: conic-gradient(from var(--fx-a), var(--fx-o1), var(--fx-v1), var(--fx-b1), var(--fx-o2), var(--fx-o1)); animation: fx-spin 14s linear infinite; }
.fx-frame { position: absolute; inset: 0; margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid rgba(15, 21, 34, .12); box-shadow: 0 40px 90px -30px rgba(11, 15, 23, .55);
  opacity: 0; transform: rotateY(-16deg) rotateX(6deg) translate3d(8%, 6%, -160px) scale(.9); filter: blur(6px);
  transition: opacity .7s, transform .9s cubic-bezier(.2, .7, .2, 1), filter .7s; cursor: zoom-in; }
.fx-frame.prev { transform: rotateY(14deg) rotateX(-4deg) translate3d(-8%, -8%, -160px) scale(.9); }
.fx-frame.on { opacity: 1; transform: rotateY(-5deg) rotateX(2deg); filter: none; z-index: 2; }
.fx-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; display: block; }
.fx-frame figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 8px; font-family: var(--t-mono); font-size: .7rem; letter-spacing: .04em; color: #fff; background: rgba(11, 15, 23, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.fx-dots { position: absolute; right: -26px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.fx-dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--t-line-strong); transition: height .4s, background .4s; }
.fx-dots i.on { height: 26px; background: var(--t-accent); }

/* ============================================================
   PLUGINS POR GIRO — sección oscura con brillo
   ============================================================ */
body.landing .hub { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(900px 500px at 85% 0%, rgba(255, 122, 26, .16), transparent 70%), radial-gradient(800px 500px at 0% 60%, rgba(79, 124, 255, .12), transparent 70%), #070a11; }
body.landing .hub::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
body.landing .hub h2, body.landing .hub h3, body.landing .hub-diff b, body.landing .hub-gal-h b, body.landing .hub-scope-h b, body.landing .hub-scope-list b { color: #fff; }
body.landing .hub .eyebrow { color: var(--fx-o2); }
body.landing .hub .section-sub, body.landing .hub-lead, body.landing .hub-diff span, body.landing .hub-scope-h span, body.landing .hub-scope-list span { color: rgba(255, 255, 255, .64); }
body.landing .hub-tabs { border-bottom-color: rgba(255, 255, 255, .1); }
body.landing .hub-tab { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.landing .hub-tab:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
body.landing .hub-tab .ti { color: rgba(255, 255, 255, .55); }
body.landing .hub-tab .st-ok { color: #6fdc92; }
body.landing .hub-tab .st-soon { color: rgba(255, 255, 255, .4); }
body.landing .hub-tab:has(.st-soon) { background: transparent; color: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .12); }
body.landing .hub-tab[aria-selected="true"] { background: linear-gradient(135deg, var(--fx-o1), #e85d04); border-color: transparent; color: #fff; box-shadow: 0 10px 36px -8px rgba(255, 122, 26, .8); }
body.landing .hub-tab[aria-selected="true"] .ti, body.landing .hub-tab[aria-selected="true"] .st-ok, body.landing .hub-tab[aria-selected="true"] .st-soon { color: #fff; }
body.landing .hub-panel { animation: fx-panel .7s cubic-bezier(.2, .7, .2, 1); }
@keyframes fx-panel { from { opacity: 0; filter: blur(10px); transform: translateY(18px) scale(.985); } to { opacity: 1; filter: none; transform: none; } }
body.landing .hub .plugin-tag { border-color: rgba(255, 138, 61, .4); color: var(--fx-o2); background: rgba(255, 122, 26, .08); }
body.landing .hub .plugin-tag.soon-tag { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .6); background: none; }
body.landing .hub-diff { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.landing .hub-diff:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .09) !important; }
body.landing .hub-diff i { background: linear-gradient(135deg, rgba(255, 122, 26, .28), rgba(255, 122, 26, .08)); color: var(--fx-o2); box-shadow: 0 0 22px -4px rgba(255, 122, 26, .6); }
body.landing .hub-more li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); }
body.landing .hub .btn-outline { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .18); color: #fff; }
body.landing .hub .btn-outline:hover { border-color: rgba(255, 255, 255, .45); color: #fff; }
body.landing .hub .btn-primary { box-shadow: 0 12px 40px -10px rgba(255, 122, 26, .75); }
body.landing .hub .app-window { border-color: rgba(255, 255, 255, .14); box-shadow: 0 40px 90px -30px #000, 0 0 70px -30px rgba(255, 122, 26, .55); }
body.landing .hub .app-window-bar { background: #151b27; border-bottom-color: rgba(255, 255, 255, .07); }
body.landing .hub .app-window-bar span { background: rgba(255, 255, 255, .18); }
body.landing .hub .app-window-bar em { color: rgba(255, 255, 255, .55); }
body.landing .hub .feature-media::before { display: block; inset: -6% -8%; z-index: 0; filter: blur(46px); opacity: .5; border-radius: 50%; background: conic-gradient(from var(--fx-a), var(--fx-o1), var(--fx-v1), var(--fx-b1), var(--fx-o1)); animation: fx-spin 12s linear infinite; }
body.landing .hub-gal-wrap { border-top-color: rgba(255, 255, 255, .1); }
body.landing .hub-gal-h span { color: rgba(255, 255, 255, .45); }
body.landing .hub-gallery figcaption { background: #10151f; color: rgba(255, 255, 255, .66); border-top-color: rgba(255, 255, 255, .08); }
body.landing .hub-gallery { scrollbar-color: rgba(255, 255, 255, .25) transparent; }
body.landing .hub-scope { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
body.landing .hub-scope-main { border-bottom-color: rgba(255, 255, 255, .1); }
body.landing .hub-scope-main li { color: #fff; }
body.landing .hub-scope-list li > i { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--fx-o2); }
body.landing .hub-compat { background: #fff; color: var(--t-text); border-color: transparent; }
body.landing .hub .gl { border-bottom-color: rgba(255, 255, 255, .4); }
body.landing .hub-compat .gl { border-bottom-color: rgba(91, 100, 114, .7); }

/* ── Bloques oscuros: aurora lenta y meteoros ── */
body.landing .cierre-cta { background: #070a11; }
body.landing .cierre-cta::after { content: ''; position: absolute; left: 50%; top: -70%; width: 1300px; height: 800px; margin-left: -650px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 180deg, var(--fx-o1), var(--fx-v1) 30%, var(--fx-b1) 50%, transparent 65%, var(--fx-o1)); filter: blur(90px); opacity: .45; animation: fx-aurora 20s ease-in-out infinite alternate; }
body.landing .cierre-cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; }
.fx-meteor { position: absolute; top: -10%; width: 1px; height: 120px; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .9)); transform: rotate(-35deg); animation: fx-meteor linear infinite; }
.fx-meteor::after { content: ''; position: absolute; bottom: -1px; left: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px var(--fx-o2); }
@keyframes fx-meteor { 0% { transform: translate3d(0, 0, 0) rotate(-35deg); opacity: 0; } 8% { opacity: 1; } 60% { opacity: 1; } 100% { transform: translate3d(520px, 760px, 0) rotate(-35deg); opacity: 0; } }
body.landing .ampliar-card { overflow: visible; }
body.landing .ampliar-card.fx-beam::after { padding: 2px; }
body.landing .quote-summary.fx-beam::after { animation-duration: 9s; }

/* ── Barras de la reforma: crecen al entrar ── */
html.fx-on body.landing .reforma-bar { transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s cubic-bezier(.2, 1.2, .3, 1); transition-delay: calc(var(--i, 0) * 120ms); }
html.fx-on body.landing .reforma-wrap.fx-in .reforma-bar { transform: none; }

/* ── Responsive ── */
@media (max-width: 992px) {
  body.landing .hero-side { display: none; }
  .fx-tour-grid { grid-template-columns: 1fr; gap: 0; }
  .fx-stage { order: -1; top: 58px; height: auto; padding: 14px 0 18px; z-index: 5; background: linear-gradient(180deg, #fff 82%, rgba(255, 255, 255, 0)); }
  .fx-stage-in::before { inset: 0; opacity: .3; }
  .fx-frame.on { transform: none; }
  .fx-dots { display: none; }
  .fx-step { min-height: 62vh; justify-content: flex-start; padding-top: 12vh; }
  .fx-wall { height: 620px; margin-top: 72px; }
  .fx-wall-plane { width: 1500px; height: 1300px; margin: -650px 0 0 -750px; gap: 14px; grid-template-columns: repeat(4, 1fr); }
  .fx-wall-col { gap: 14px; }
  .fx-wall-col:nth-child(5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-beam::after, body.landing .hero-shot .app-window::after, body.landing .hero-grid-bg::before, body.landing .cierre-cta::after, .fx-wall-col, .fx-stage-in::before, body.landing .hub .feature-media::before, body.landing .hero-content h1 em, body.landing .float-card, body.landing .float-card i, body.landing .hub-panel { animation: none !important; }
  .fx-meteor { display: none; }
  body.landing .hero-shot .app-window, body.landing .app-window.fx { transform: none !important; }
  html.fx-on .fx-w, html.fx-on .fx-rise, html.fx-on body.landing .fx-wipe, html.fx-on body.landing .reforma-bar { opacity: 1; filter: none; transform: none; clip-path: none; transition: none; }
  .fx-frame { transition: opacity .2s; transform: none !important; filter: none; }
}

/* position: sticky del recorrido necesita que body no sea contenedor de scroll */
body.landing { overflow-x: clip; }

/* ============================================================
   FX — INTENSIDAD ALTA (segunda pasada)
   ============================================================ */
/* Luz que persigue al cursor sobre las zonas oscuras */
.fx-cursor { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1400; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle, rgba(255, 122, 26, .30) 0%, rgba(155, 92, 255, .16) 38%, transparent 68%); mix-blend-mode: screen; will-change: transform; }
.fx-cursor.on { opacity: 1; }

/* Hero más vivo: aurora intensa, captura que sigue al cursor, línea de escaneo */
body.landing .hero-grid-bg::before { opacity: .78; filter: blur(80px); animation-duration: 12s; }
body.landing .hero-content h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); text-shadow: 0 0 80px rgba(255, 122, 26, .35); }
body.landing .hero-shot .app-window { transform: rotateX(calc(var(--hx, 14deg) + var(--my2, 0deg))) rotateY(var(--mx2, 0deg)) scale(var(--hs, .94)) !important; transition: transform .2s ease-out;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .04), 0 0 120px -10px rgba(255, 122, 26, .65), 0 60px 140px -30px rgba(79, 124, 255, .55), 0 40px 100px -30px #000; animation: fx-rise3d 1.3s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fx-rise3d { from { filter: blur(14px); translate: 0 120px; scale: .8; } to { filter: none; translate: 0 0; scale: 1; } }
body.landing .hero-shot .app-window::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 28%; z-index: 4; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(180deg, transparent, rgba(255, 150, 70, 0) 40%, rgba(255, 170, 90, .35) 96%, #fff 100%); animation: fx-scan 4.5s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes fx-scan { 0% { transform: translateY(-110%); opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(400%); opacity: 0; } }
body.landing .hero-shot .app-window::after { padding: 2.5px; animation-duration: 3.5s; filter: drop-shadow(0 0 10px var(--fx-o1)); }
body.landing .hero-side { opacity: 1; animation: fx-rise3d 1.3s .5s cubic-bezier(.2, .7, .2, 1) both; box-shadow: 0 0 80px -20px rgba(155, 92, 255, .7), 0 30px 80px -20px #000; }
body.landing .hero-side::after { background: linear-gradient(180deg, transparent, rgba(7, 10, 17, .45)); }
body.landing .hs-l { left: -22%; } body.landing .hs-r { right: -22%; }
body.landing .float-card { box-shadow: 0 0 40px -6px rgba(255, 122, 26, .55), 0 16px 40px -16px #000; border-color: rgba(255, 138, 61, .35); }

/* Botones principales: degradado vivo + barrido de luz */
body.landing .btn-primary { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #ff7a1a, #e85d04 55%, #ff5fa2 140%); border-color: transparent; }
body.landing .btn-primary::after { content: ''; display: block; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: -1; transform: skewX(-22deg); background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .55), transparent); animation: fx-sweep 3.2s ease-in-out infinite; }
@keyframes fx-sweep { 0%, 55% { left: -70%; } 100% { left: 140%; } }
body.landing .btn-primary:hover { background: linear-gradient(135deg, #ff8a33, #ff5a00 55%, #ff5fa2 120%); border-color: transparent; }

/* Cifras gigantes con degradado vivo */
body.landing .stat-cell { padding: 40px 24px; }
body.landing .stat-cell .num { font-size: clamp(3rem, 5.4vw, 4.6rem); font-weight: 600; background: linear-gradient(100deg, #0f1522, var(--fx-o1), var(--fx-v1), #0f1522); background-size: 300% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: fx-shine 7s linear infinite; }

/* Banda cinética: tipografía enorme que se inclina con la velocidad del scroll */
body.landing .marquee { width: 100vw; margin-left: calc(50% - 50vw); padding: 56px 0 30px; -webkit-mask-image: none; mask-image: none; transform: skewY(-2.2deg); }
body.landing .marquee-track { gap: 0; animation-duration: 38s; }
body.landing .marquee-item { padding: 0 34px; font-size: clamp(3rem, 7.5vw, 6.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(15, 21, 34, .28); transform: skewX(var(--sk, 0deg)); transition: transform .25s ease-out; }
body.landing .marquee-item:nth-child(3n+1) { -webkit-text-stroke: 0; background: linear-gradient(90deg, var(--fx-o1), #ff5fa2, var(--fx-v1)); -webkit-background-clip: text; background-clip: text; }
body.landing .marquee-item i { display: none; }
body.landing .marquee-item::after { content: '\2726'; margin-left: 68px; font-size: .45em; vertical-align: middle; -webkit-text-stroke: 0; -webkit-text-fill-color: var(--fx-o1); }
body.landing .marquee .gl { border: 0; }

/* Muro: gira y se acerca con el scroll */
.fx-wall { height: 880px; }
.fx-wall-plane { transform: rotateX(54deg) rotateZ(calc(-50deg + var(--wp, .5) * 26deg)) scale(calc(.9 + var(--wp, .5) * .32)); transition: transform .15s linear; }
.fx-wall-col img { filter: none; border-color: rgba(255, 255, 255, .22); box-shadow: 0 0 40px -10px rgba(79, 124, 255, .45), 0 20px 50px -20px #000; }
.fx-wall-col img:hover { transform: translateZ(90px) scale(1.12); box-shadow: 0 0 90px -6px rgba(255, 122, 26, .9), 0 40px 80px -20px #000; }
.fx-wall::after { content: ''; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; margin: -250px 0 0 -450px; z-index: 1; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: .5;
  background: conic-gradient(from var(--fx-a), var(--fx-o1), var(--fx-v1), var(--fx-b1), var(--fx-o1)); animation: fx-spin 10s linear infinite; }
.fx-wall-copy h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem) !important; text-shadow: 0 0 60px rgba(0, 0, 0, .9); }

/* Recorrido: número gigante detrás y destello al cambiar */
.fx-stage::before { content: attr(data-n); position: absolute; right: -4%; top: 50%; transform: translateY(-58%); z-index: -1; font-family: var(--t-mono); font-weight: 700; font-size: clamp(14rem, 30vw, 26rem); line-height: 1; letter-spacing: -0.08em; color: transparent; -webkit-text-stroke: 2px rgba(232, 93, 4, .16); pointer-events: none; }
.fx-stage-in::before { opacity: .85; inset: -18% -14%; }
.fx-frame { box-shadow: 0 0 100px -20px rgba(255, 122, 26, .55), 0 50px 110px -30px rgba(11, 15, 23, .7); }
.fx-frame.on { transform: rotateY(-9deg) rotateX(4deg) scale(1.04); }
.fx-frame::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-20deg); pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); }
.fx-frame.on::after { animation: fx-glare 1.1s .15s ease-out both; }
@keyframes fx-glare { from { left: -60%; } to { left: 140%; } }
.fx-step h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.fx-step.on h3 { background: linear-gradient(100deg, #0f1522 40%, var(--fx-o1)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fx-step.on h3 .fx-w { -webkit-text-fill-color: transparent; }

/* Tarjetas que se inclinan hacia el cursor */
body.landing .fx-spot { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .25s ease-out, border-color .2s, box-shadow .3s; }
body.landing .fx-spot:hover { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-6px) scale(1.02); box-shadow: 0 30px 60px -30px rgba(255, 122, 26, .55); }
.fx-spot::after { background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 122, 26, .26), transparent 65%); }
html.fx-on body.landing .fx-rise:not(.fx-in) { transform: translateY(26px) scale(.97); }

/* Galerías tipo coverflow: las capturas giran según su posición */
body.landing .hub-gallery { perspective: 1400px; padding-top: 26px; padding-bottom: 34px; }
body.landing .hub-gallery .app-window.fx { transform: rotateY(calc(var(--cf, 0deg) + var(--ry, 0deg))) rotateX(var(--rx, 0deg)) scale(var(--cs, 1)) translateY(var(--lift, 0px)) !important; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, filter .35s; filter: brightness(var(--cb, 1)); }
body.landing .hub .hub-gallery .app-window.fx:hover { box-shadow: 0 0 80px -10px rgba(255, 122, 26, .8), 0 40px 90px -30px #000; }
/* al cambiar de pestaña las capturas entran volando */
body.landing .hub-panel:not([hidden]) .hub-media { animation: fx-fly .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fx-fly { from { transform: perspective(1400px) translateX(120px) rotateY(-28deg) scale(.86); filter: blur(10px); } to { transform: none; filter: none; } }
body.landing .hub .feature-media::before { opacity: .85; }
body.landing .hub-tab[aria-selected="true"] { animation: fx-glow 2.4s ease-in-out infinite; }
@keyframes fx-glow { 50% { box-shadow: 0 10px 56px -4px rgba(255, 122, 26, 1); } }

/* Cierre más intenso */
body.landing .cierre-cta::after { opacity: .7; animation-duration: 12s; }
body.landing .cierre-cta h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); text-shadow: 0 0 80px rgba(255, 122, 26, .45); }
.fx-meteor { height: 180px; }

@media (max-width: 992px) {
  .fx-wall { height: 660px; }
  .fx-stage::before { display: none; }
  .fx-frame.on { transform: none; }
  body.landing .marquee { padding: 40px 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-cursor { display: none; }
  body.landing .hero-shot .app-window, body.landing .hero-shot .app-window::before, body.landing .btn-primary::after, body.landing .stat-cell .num, body.landing .hub-tab[aria-selected="true"], body.landing .hub-panel .hub-media, body.landing .hero-side, .fx-wall::after, .fx-frame.on::after { animation: none !important; }
  body.landing .fx-spot, body.landing .fx-spot:hover, body.landing .hub-gallery .app-window.fx, .fx-wall-plane { transform: none !important; }
  body.landing .marquee-item { transform: none; }
}
