/* =========================================================
   Landings TR (estilo tech / ROG): fondo oscuro, gradientes, escenas con scroll
   ========================================================= */
.ld {
	--bg: #07060d; --bg2: #0e0b1c; --panel: #141029; --ink-l: #f4f1ff; --mute-l: #a59fbd;
	--a1: #f07a1c; --a2: #ffb067; --v1: #6b3ff0; --v2: #2b1a6b;
	background: var(--bg); color: var(--ink-l); overflow-x: hidden;
}
.ld--lens { --a1: #f07a1c; --v1: #7b3fe4; }
.ld ::selection { background: var(--a1); color: #fff; }
.ld .wa-float { z-index: 60; }
.ld-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Header mínimo del embudo */
.ld-top { position: fixed; inset: 0 0 auto; z-index: 70; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 4vw, 40px); transition: background .3s, backdrop-filter .3s, box-shadow .3s; }
.ld-top.is-solid { background: rgb(7 6 13 / .72); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.ld-top__img { width: 72px; height: auto; }

/* Botones */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; background: linear-gradient(135deg, var(--a2), var(--a1) 55%, #d9620c); color: #fff; font: 800 .95rem/1 var(--f-body); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; box-shadow: 0 18px 40px -16px rgb(240 122 28 / .9), inset 0 1px 0 rgb(255 255 255 / .35); transition: transform .25s var(--ease), box-shadow .25s; }
.ld-btn:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgb(240 122 28 / 1), inset 0 1px 0 rgb(255 255 255 / .35); }
.ld-btn .icon { transition: transform .25s; }
.ld-btn:hover .icon { transform: translateX(4px); }
.ld-btn--sm { min-height: 42px; padding: 0 18px; font-size: .78rem; }
.ld-btn--lg { min-height: 62px; padding: 0 36px; font-size: 1.02rem; }

/* Tipografía */
.ld-eyebrow { margin: 0 0 14px; color: var(--a2); font: 800 .78rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; }
.ld-h1 { margin: 0; font: italic 900 clamp(2.8rem, 7.5vw, 6.4rem)/.92 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; }
.ld-h1 span { display: block; }
.ld-h1--sm { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.ld-h2 { margin: 0; font: italic 900 clamp(2rem, 4.6vw, 3.6rem)/.98 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; }
.ld-grad { background: linear-gradient(100deg, var(--a2) 0%, var(--a1) 40%, #c48bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-lead { max-width: 34ch; margin: 22px 0 28px; color: var(--mute-l); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.55; }

/* Precio + confianza */
.ld-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.ld-price { display: inline-flex; align-items: baseline; gap: 10px; }
.ld-price strong { font: 900 2rem/1 var(--f-display); }
.ld-price s { color: var(--mute-l); }
.ld-price em { padding: 4px 9px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 800 .78rem/1 var(--f-body); font-style: normal; }
.ld-price--soon { color: var(--mute-l); font-weight: 600; }
.ld-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; color: var(--mute-l); font-size: .88rem; }
.ld-trust li { display: inline-flex; align-items: center; gap: 7px; }
.ld-trust .icon { color: var(--a2); }

/* Brillos de fondo */
.ld-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.ld-glow--a { width: 52vw; height: 52vw; right: -8vw; top: 6vh; background: radial-gradient(circle, var(--v1), transparent 65%); }
.ld-glow--b { width: 36vw; height: 36vw; right: 18vw; top: 34vh; background: radial-gradient(circle, var(--a1), transparent 65%); opacity: .35; }
.ld-glow--c { width: 70vw; height: 70vw; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--v2), transparent 62%); opacity: .8; }
.ld-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 20%, #fff6, transparent), radial-gradient(1.5px 1.5px at 40% 80%, #fff5, transparent), radial-gradient(1px 1px at 85% 65%, #fff7, transparent), radial-gradient(1px 1px at 10% 70%, #fff4, transparent), radial-gradient(1px 1px at 55% 45%, #fff3, transparent); opacity: .7; }

/* 1 · HERO */
.ld-hero { --hp: 0; position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: radial-gradient(120% 80% at 70% 30%, var(--bg2), var(--bg) 70%); }
.ld-hero__bg { position: absolute; inset: 0; }
.ld-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; width: min(1240px, 100% - 32px); margin-inline: auto; padding: 110px 0 80px; }
.ld-hero__copy { min-width: 0; opacity: calc(1 - var(--hp) * 1.4); transform: translateY(calc(var(--hp) * -60px)); }
.ld-hero__media { position: relative; display: grid; place-items: center; }
.ld-hero__float { width: min(560px, 100%); transform: translateY(calc(var(--hp) * -90px)) scale(calc(1 + var(--hp) * .18)) rotate(calc(var(--hp) * -8deg)); will-change: transform; }
.ld-hero__img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgb(0 0 0 / .6)) drop-shadow(0 0 40px rgb(107 63 240 / .35)); animation: ld-float 6s ease-in-out infinite; }
.ld--lens .ld-hero__float { width: min(640px, 100%); }
.ld--lens .ld-hero__img { border-radius: 28px; box-shadow: 0 40px 90px -30px rgb(123 63 228 / .7); animation-duration: 7s; }
@keyframes ld-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.ld-scroll { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 46px; border: 2px solid rgb(255 255 255 / .35); border-radius: 999px; transform: translateX(-50%); opacity: calc(1 - var(--hp) * 4); }
.ld-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: ld-wheel 1.6s ease-in-out infinite; }
@keyframes ld-wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Entrada del hero */
.ld-js .ld-in { opacity: 0; transform: translateY(26px); }
.ld-ready .ld-in { opacity: 1; transform: none; transition: opacity .9s var(--ease) calc(var(--d, 0) * 110ms), transform .9s var(--ease) calc(var(--d, 0) * 110ms); }

/* Indicador lateral (estilo ROG) */
.ld-rail { position: fixed; right: 22px; top: 50%; z-index: 50; display: grid; gap: 14px; justify-items: end; transform: translateY(-50%); }
.ld-rail__brand { margin-bottom: 10px; writing-mode: vertical-rl; color: rgb(196 139 255 / .55); font: italic 900 .9rem/1 var(--f-display); letter-spacing: .3em; }
.ld-rail__dot { position: relative; display: block; width: 10px; height: 10px; border: 1.5px solid rgb(255 255 255 / .45); transform: rotate(45deg); transition: all .3s; }
.ld-rail__dot em { position: absolute; right: 22px; top: 50%; color: #fff; font: 800 .7rem/1 var(--f-body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateY(-50%) rotate(-45deg) translateX(8px); transform-origin: right center; transition: all .3s; }
.ld-rail__dot.is-on { background: var(--a1); border-color: var(--a1); box-shadow: 0 0 14px var(--a1); }
.ld-rail__dot.is-on em { opacity: 1; }

/* 2 · ESCENA FIJA */
.ld-scene { --p: 0; --lens: #f2c94c; position: relative; height: calc(var(--n) * 85vh + 100vh); background: linear-gradient(180deg, var(--bg), var(--bg2) 30%, var(--bg2) 70%, var(--bg)); }
.ld-scene__stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 26px; width: min(1200px, 100% - 32px); margin-inline: auto; padding: 84px 0 40px; }
.ld-scene__grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(20px, 4vw, 60px); }
.ld-steps { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.ld-step { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid rgb(255 255 255 / .07); border-radius: 18px; background: rgb(255 255 255 / .025); color: var(--mute-l); cursor: pointer; opacity: .45; transform: translateX(0); transition: all .5s var(--ease); }
.ld-step__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / .06); color: var(--ink-l); transition: all .5s var(--ease); }
.ld-step__txt { display: grid; gap: 4px; }
.ld-step__txt strong { color: var(--ink-l); font: 800 1.15rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.ld-step__txt span { font-size: .95rem; line-height: 1.45; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.ld-step.is-on { opacity: 1; transform: translateX(10px); border-color: rgb(240 122 28 / .45); background: linear-gradient(120deg, rgb(240 122 28 / .14), rgb(107 63 240 / .12)); box-shadow: 0 20px 50px -30px rgb(240 122 28 / .7); }
.ld-step.is-on .ld-step__ico { background: linear-gradient(135deg, var(--a2), var(--a1)); color: #fff; box-shadow: 0 0 22px rgb(240 122 28 / .55); }
.ld--lens .ld-step.is-on .ld-step__ico { background: var(--c); box-shadow: 0 0 24px var(--c); }
.ld-step.is-on .ld-step__txt span { max-height: 90px; opacity: 1; }
.ld-step.is-past { opacity: .6; }
.ld-stage { position: relative; display: grid; place-items: center; min-height: 52vh; }
.ld-orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.ld-orbit span { position: absolute; width: min(470px, 80vw); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgb(196 139 255 / .25); animation: ld-rot 40s linear infinite; }
.ld-orbit span + span { width: min(340px, 60vw); border-style: solid; border-color: rgb(240 122 28 / .18); animation-duration: 26s; animation-direction: reverse; }
.ld-orbit::before { content: ""; position: absolute; width: min(380px, 70vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(107 63 240 / .55), rgb(240 122 28 / .18) 45%, transparent 68%); filter: blur(20px); }
@keyframes ld-rot { to { transform: rotate(360deg); } }
.ld-stage__prod { --rot: 0deg; position: relative; width: min(420px, 74vw); transform: rotate(var(--rot)) scale(calc(.94 + var(--p) * .12)); transition: transform .2s linear; }
.ld-stage__prod img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .6)); }
.ld-scene__bar { height: 3px; border-radius: 3px; background: rgb(255 255 255 / .08); overflow: hidden; }
.ld-scene__bar span { display: block; height: 100%; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--a1), #c48bff); }

/* Lentes: el color de la luna cambia con el scroll */
.ld-glasses { width: min(560px, 90vw); height: auto; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .55)); transform: rotate(calc(var(--p) * 6deg - 3deg)); transition: transform .2s linear; }
.ld-lens { fill: var(--lens); fill-opacity: .82; transition: fill .7s var(--ease); }
.ld--lens .ld-stage::before { content: ""; position: absolute; width: min(520px, 86vw); aspect-ratio: 1.6; border-radius: 50%; background: radial-gradient(circle, var(--lens), transparent 66%); opacity: .45; filter: blur(30px); transition: background .7s var(--ease); }
.ld-stage__name { position: absolute; bottom: 0; margin: 0; color: var(--lens); font: italic 900 clamp(2rem, 5vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; transition: color .7s var(--ease); text-shadow: 0 0 30px rgb(0 0 0 / .6); }

/* 3 · BENTO (tarjetas con gradiente, estilo ROG) */
.ld-bento { padding: clamp(80px, 12vw, 140px) 0; background: var(--bg); }
.ld-bento .ld-h2 { margin-bottom: 34px; }
.ld-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.ld-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 26px; border-radius: 26px; background: linear-gradient(160deg, #1d1640 0%, #120d2a 55%, #0d0a1d 100%); border: 1px solid rgb(255 255 255 / .07); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .4s; }
.ld-card::after { content: ""; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(107 63 240 / .45), transparent 65%); z-index: -1; transition: transform .6s var(--ease); }
.ld-card:hover { transform: translateY(-4px); border-color: rgb(240 122 28 / .35); }
.ld-card:hover::after { transform: scale(1.2); }
.ld-card--lg { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, #3a1b78 0%, #1c1145 50%, #0e0a20 100%); }
.ld-card--lg::after { background: radial-gradient(circle, rgb(240 122 28 / .5), transparent 65%); }
.ld-card--img { grid-column: 1 / -1; min-height: 300px; justify-content: center; padding-right: 50%; background: linear-gradient(110deg, #0e0a20 0%, #1d1640 55%, #3a1b78 100%); }
.ld-card--img h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.ld-card--img p { max-width: 36ch; font-size: 1.02rem; }
.ld-card__img { position: absolute; inset: 0 0 0 50%; z-index: -1; display: grid; place-items: center; padding: 18px; }
.ld-card__img img { max-width: 80%; max-height: 280px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgb(0 0 0 / .6)); }
.ld--lens .ld-card--img .ld-card__img { padding: 0; inset: 0 0 0 40%; }
.ld--lens .ld-card--img .ld-card__img img { max-width: none; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.ld--lens .ld-card--img .ld-card__img img { max-height: none; }
.ld--lens .ld-card--img::before { content: ""; position: absolute; inset: 0 0 0 40%; z-index: 0; background: linear-gradient(90deg, #0e0a20 0%, transparent 45%); pointer-events: none; }
.ld-card__ico { position: absolute; top: 24px; left: 24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgb(255 255 255 / .08); color: var(--a2); }
.ld-card .ld-card__stat { margin: 0; font: italic 900 clamp(2.6rem, 5vw, 4.4rem)/.9 var(--f-display); background: linear-gradient(100deg, #fff, var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-card.ld-card--lg .ld-card__stat { font-size: clamp(4rem, 9vw, 7.5rem); }
.ld-card h3 { margin: 0; font: 800 1.2rem/1.15 var(--f-display); text-transform: uppercase; color: var(--ink-l); }
.ld-card p { margin: 0; color: var(--mute-l); font-size: .95rem; line-height: 1.45; }

/* Revelado al hacer scroll */
.ld-js .ld-reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform .9s var(--ease) calc(var(--d, 0) * 90ms); }
.ld-js .ld-reveal.is-in { opacity: 1; transform: none; }

/* 4 · CIERRE */
.ld-final { position: relative; padding: clamp(90px, 13vw, 160px) 0; overflow: hidden; background: var(--bg); }
.ld-final__bg { position: absolute; inset: 0; }
.ld-final__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(24px, 5vw, 70px); }
.ld-final__media { display: grid; place-items: center; }
.ld-final__media img { width: auto; max-width: min(460px, 100%); max-height: 70vh; height: auto; filter: drop-shadow(0 40px 60px rgb(0 0 0 / .6)); }
.ld--lens .ld-final__media img { border-radius: 26px; }
.ld-final .ld-buy { margin-top: 28px; }

/* Barra de compra fija */
.ld-sticky { position: fixed; left: 50%; bottom: 18px; z-index: 65; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 22px; border: 1px solid rgb(255 255 255 / .1); border-radius: 999px; background: rgb(20 16 41 / .82); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .8); transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.ld-sticky.is-on { transform: translate(-50%, 0); opacity: 1; }
.ld-sticky__name { font-weight: 700; white-space: nowrap; }
.ld-sticky .ld-price strong { font-size: 1.2rem; }
.ld-sticky .ld-price s, .ld-sticky .ld-price em { display: none; }

.ld-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: min(1200px, 100% - 32px); margin: 0 auto; padding: 30px 0 110px; border-top: 1px solid rgb(255 255 255 / .07); color: var(--mute-l); font-size: .85rem; }
.ld-foot__img { width: 64px; height: auto; opacity: .8; }
.ld-foot p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
	.ld-hero__inner { grid-template-columns: 1fr; text-align: center; padding: 96px 0 90px; gap: 10px; }
	.ld-hero__media { order: -1; }
	.ld-hero__float { width: min(380px, 82vw); }
	.ld--lens .ld-hero__float { width: min(520px, 92vw); }
	.ld-lead { margin-inline: auto; }
	.ld-buy, .ld-trust { justify-content: center; }
	.ld-scene__grid { grid-template-columns: 1fr; gap: 10px; }
	.ld-stage { order: -1; min-height: 34vh; }
	.ld-stage__prod { width: min(260px, 58vw); }
	.ld-glasses { width: min(380px, 86vw); }
	.ld-scene__head { text-align: center; }
	.ld-steps { gap: 8px; }
	.ld-step { padding: 12px 14px; }
	.ld-step:not(.is-on) { display: none; }
	.ld-step.is-on { transform: none; }
	.ld-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(170px, auto); gap: 12px; }
	.ld-card { padding: 20px; border-radius: 22px; }
	.ld-card__ico { top: 18px; left: 18px; width: 42px; height: 42px; }
	.ld-final__inner { grid-template-columns: 1fr; text-align: center; }
	.ld-final .ld-buy, .ld-final .ld-trust { justify-content: center; }
	.ld-rail { display: none; }
}
@media (max-width: 960px) {
	.ld-card--img { padding-right: 26px; padding-top: 230px; justify-content: flex-end; }
	.ld-card__img, .ld--lens .ld-card--img .ld-card__img { inset: 0 0 auto 0; height: 230px; }
	.ld--lens .ld-card--img::before { inset: 0; background: linear-gradient(0deg, #0e0a20 30%, transparent 70%); }
}
@media (max-width: 560px) {
	.ld-h1 { font-size: 9.4vw; }
	.ld-h1--sm { font-size: 10vw; }
	.ld-h2 { font-size: 8.2vw; }
	.ld-hero__inner, .ld-scene__stick { width: calc(100% - 32px); }
	.ld-hero__float { width: min(300px, 74vw); }
	.ld-lead { font-size: 1rem; margin: 16px auto 22px; }
	.ld-price strong { font-size: 1.6rem; }
	.ld-hero .ld-btn, .ld-final .ld-btn { width: 100%; }
	.ld-grid { grid-template-columns: 1fr 1fr; }
	.ld-card--lg { grid-column: span 2; grid-row: span 1; min-height: 260px; }
	.ld-sticky { left: 12px; right: 12px; bottom: 12px; transform: translateY(140%); justify-content: space-between; padding-left: 16px; }
	.ld-sticky.is-on { transform: none; }
	.ld-sticky__name { display: none; }
	.ld .wa-float { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
	.ld-hero__img, .ld-orbit span, .ld-scroll span { animation: none; }
	.ld-js .ld-in, .ld-js .ld-reveal { opacity: 1; transform: none; transition: none; }
}

/* Barra de admin de WordPress (solo administradores) */
.admin-bar .ld-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .ld-top { top: 46px; } }
