/* ==========================================================================
   HeroCoach — landing (getherocoach.com)
   DS Nocturne (mismos tokens que el hub de la app), Inter vendorizada.
   Tamaños de texto de UI: 13px default · 12px S · 11px XS; la copia de
   marketing (leads, títulos) escala aparte.
   ========================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-700.woff2") format("woff2"); }

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --color-bg: #060a14;
  --color-bg-2: #0a1122;
  --color-surface: #111a2e;
  --color-surface-2: #182238;
  --color-text: #e3ebf7;
  --color-text-soft: #9fb0cc;
  --color-muted: #6f809e;
  --color-accent: #3390ce;
  --color-accent-bright: #7dccee;
  --color-gold: #c8aa6e;
  --color-border: rgba(214, 226, 242, 0.12);
  --color-border-strong: rgba(214, 226, 242, 0.2);
  --fav: #3ecf8e;
  --bad: #ef5a5a;
  --even: #e6b450;
  --font-heading: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Cascadia Mono", Consolas, monospace;
  --radius: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-bright); text-decoration: none; }
b { font-weight: 600; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: color-mix(in srgb, var(--color-accent) 45%, transparent); }

html[data-lang="es"] [lang="en"], html[data-lang="en"] [lang="es"] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- barra de progreso de scroll ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
  transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
  box-shadow: 0 0 12px var(--color-accent);
}

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--color-border);
}
.nav-inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--color-text); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.brand img { filter: drop-shadow(0 0 10px rgba(125, 204, 238, .55)); }
.brand b { color: var(--color-accent-bright); font-weight: 700; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--color-text-soft); font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--color-text); background: rgba(214, 226, 242, .06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 600 11px var(--font-body); letter-spacing: .06em; color: var(--color-text-soft);
  background: transparent; border: 1px solid var(--color-border-strong); border-radius: 999px;
  padding: 6px 11px; cursor: pointer; transition: color .2s, border-color .2s;
}
.lang:hover { color: var(--color-text); border-color: var(--color-accent); }

/* ---------- botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 13px var(--font-body); border-radius: 11px; padding: 10px 16px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn .ic { font-size: 18px; }
.btn-sm { padding: 7px 12px; font-size: 12px; border-radius: 9px; }
.btn-sm .ic { font-size: 16px; }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 13px; }
.btn-lg .ic { font-size: 20px; }
.btn-primary {
  color: #03101c;
  background: linear-gradient(180deg, #8fd6f3, var(--color-accent-bright) 45%, #4fb1e2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 8px 28px -6px rgba(51, 144, 206, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 36px -6px rgba(51, 144, 206, .85); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--color-text); background: rgba(214, 226, 242, .04); border-color: var(--color-border-strong); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--color-accent) 70%, transparent); background: rgba(51, 144, 206, .1); }
.btn-ghost .ic { transition: transform .25s var(--ease-out); }
.btn-ghost:hover .ic { transform: translateX(3px); }

/* Borde cónico giratorio en el CTA principal */
.btn-glow::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; padding: 2px;
  background: conic-gradient(from var(--angle), transparent 0 60%, #fff 75%, var(--color-accent-bright) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 3.2s linear infinite; opacity: .9;
}
.btn-glow { isolation: isolate; }
@keyframes spin { to { --angle: 360deg; } }

/* ---------- elementos comunes ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--color-accent-bright);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent-bright); box-shadow: 0 0 0 3px rgba(125, 204, 238, .18), 0 0 12px var(--color-accent-bright); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(125, 204, 238, 0), 0 0 18px var(--color-accent-bright); } }

.section { position: relative; padding: 120px 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; margin-top: 14px; }
.sec-sub { color: var(--color-text-soft); font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 620px; }

.frame {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--color-bg-2);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, var(--color-border));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(51, 144, 206, .35);
}
.frame::after { /* reflejo superior */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 18%);
}
[data-zoom] { cursor: zoom-in; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: calc(var(--nav-h) + 76px) 0 40px; overflow: hidden; isolation: isolate; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.aurora { position: absolute; inset: -20% -10% auto; height: 1100px; z-index: -2; pointer-events: none; filter: blur(70px); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 720px; height: 520px; left: 8%; top: 4%; background: radial-gradient(closest-side, rgba(51, 144, 206, .55), transparent); animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 620px; height: 480px; right: 6%; top: 10%; background: radial-gradient(closest-side, rgba(125, 204, 238, .35), transparent); animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 560px; height: 420px; left: 38%; top: 34%; background: radial-gradient(closest-side, rgba(200, 170, 110, .16), transparent); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 80px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-80px, -60px) scale(1.2); } }
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(214, 226, 242, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 226, 242, .045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
}

.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .kicker {
  padding: 6px 13px 6px 11px; border-radius: 999px;
  background: rgba(51, 144, 206, .1); border: 1px solid rgba(125, 204, 238, .25);
}
.js-ver-chip:not(:empty)::before { content: " · "; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.035em; margin: 22px 0 22px; font-weight: 700; }
.grad {
  background: linear-gradient(100deg, #fff 0%, var(--color-accent-bright) 30%, #3390ce 55%, var(--color-accent-bright) 80%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--color-text-soft); max-width: 680px; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--color-text-soft); }
.trust .ic { color: var(--fav); font-size: 16px; }

/* Escenario con la captura principal: se endereza al hacer scroll (--p 0→1) */
.stage { margin-top: 64px; perspective: 1800px; }
.stage-inner {
  position: relative;
  transform: rotateX(calc(22deg * (1 - var(--p, 0)))) scale(calc(.9 + .1 * var(--p, 0))) translateY(calc(-30px * var(--p, 0)));
  transform-origin: 50% 0; transform-style: preserve-3d; will-change: transform;
}
.stage .frame-main { border-radius: 18px; }
.stage .frame-main::before { /* halo inferior */
  content: ""; position: absolute; inset: auto 10% -1px; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--color-accent-bright), transparent);
}
.stage-inner::after { /* sombra/brillo proyectado */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -60px; height: 120px; z-index: -1;
  background: radial-gradient(closest-side, rgba(51, 144, 206, .45), transparent); filter: blur(30px);
}

.float {
  position: absolute; z-index: 3;
  translate: calc(var(--mx, 0) * var(--depth, 1) * 10px) calc(var(--my, 0) * var(--depth, 1) * 10px);
  transition: translate .6s var(--ease-out), opacity .8s var(--ease-out);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-10px); } }
.float-lane, .float-toast, .float-wr {
  display: flex; align-items: center; gap: 11px; border-radius: 14px; padding: 11px 15px;
  background: color-mix(in srgb, var(--color-surface) 80%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .75);
}
.float-lane { top: 11%; left: -4%; }
.float-lane div { display: flex; flex-direction: column; line-height: 1.25; }
.float-lane small, .float-toast small { font-size: 11px; color: var(--color-muted); }
.float-lane b { font-size: 13px; }
.float-toast { top: 26%; right: -5%; max-width: 300px; animation-duration: 7s; animation-delay: -1.5s; border-color: color-mix(in srgb, var(--fav) 40%, var(--color-border)); }
.float-toast div { display: flex; flex-direction: column; line-height: 1.3; }
.float-toast b { font-size: 13px; }
.toast-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(51, 144, 206, .18); color: var(--color-accent-bright); font-size: 18px; flex: none; }
.float-toast .ok { color: var(--fav); font-size: 20px; }
.float-wr { bottom: 12%; right: -3%; flex-direction: column; align-items: flex-start; gap: 0; font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .08em; animation-duration: 8s; animation-delay: -3s; }
.wr-num { font: 700 26px var(--font-mono); color: var(--fav); letter-spacing: -0.02em; text-transform: none; }
.wr-num small { font-size: 14px; margin-left: 1px; }
.float-shot { margin: 0; bottom: -7%; left: -6%; width: 46%; border-radius: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--bad) 35%, var(--color-border)); box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .85); animation-duration: 7s; animation-delay: -4s; }

/* entrada del hero */
.hero .stage { opacity: 0; transform: translateY(60px); transition: opacity 1.2s var(--ease-out) .35s, transform 1.4s var(--ease-out) .35s; }
.hero.is-ready .stage { opacity: 1; transform: none; }
.hero .float { opacity: 0; }
.hero.is-ready .float { opacity: 1; transition-delay: 0s, 1.1s; }
.hero.is-ready .float-shot { transition-delay: 0s, 1.3s; }
.hero.is-ready .float-toast { transition-delay: 0s, 1.6s; }
.hero.is-ready .float-wr { transition-delay: 0s, 1.9s; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0; margin-top: 90px;
  border-block: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(17, 26, 46, .5), rgba(6, 10, 20, .2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-row span { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-text-soft); white-space: nowrap; }
.marquee-row i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--color-gold); opacity: .7; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   FLUJO (sticky story)
   ========================================================================== */
.flow-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-step { position: relative; display: flex; gap: 20px; min-height: 64vh; padding: 12vh 0; opacity: .35; transition: opacity .6s var(--ease-out); }
.flow-step:first-child { padding-top: 4vh; }
.flow-step:last-child { min-height: 50vh; }
.flow-step.is-active { opacity: 1; }
.step-num { font: 700 13px var(--font-mono); color: var(--color-accent-bright); padding-top: 4px; opacity: .8; }
.flow-step .step-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-bright); padding: 5px 10px; border-radius: 999px; background: rgba(51, 144, 206, .12); border: 1px solid rgba(51, 144, 206, .3); }
.step-tag .ic { font-size: 14px; }
.flow-step .tag-bad { color: #ff8a8a; background: rgba(239, 90, 90, .1); border-color: rgba(239, 90, 90, .3); }
.flow-step .tag-gold { color: #e3cc95; background: rgba(200, 170, 110, .12); border-color: rgba(200, 170, 110, .35); }
.flow-step .tag-good { color: #7ee2b3; background: rgba(62, 207, 142, .1); border-color: rgba(62, 207, 142, .3); }
.flow-step h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: 16px 0 12px; }
.flow-step p { color: var(--color-text-soft); font-size: 16px; }
.step-shot { display: none; margin: 22px 0 0; max-width: 460px; border-radius: 12px; overflow: hidden; }

.flow-screen { position: relative; }
.flow-sticky { position: sticky; top: calc(var(--nav-h) + 40px); display: flex; flex-direction: column; gap: 18px; }
.flow-frame { aspect-ratio: 2360 / 1520; }
.flow-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: scale(1.04) translateY(10px); filter: blur(6px);
  transition: opacity .7s var(--ease-out), transform 1s var(--ease-out), filter .7s var(--ease-out);
}
.flow-frame img.is-active { opacity: 1; transform: none; filter: none; }
.flow-stage { position: relative; }
.flow-mods { position: absolute; inset: 0; pointer-events: none; }
.flow-mods img {
  position: absolute; right: -5%; bottom: 6%; width: var(--w, 36%); height: auto;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
  box-shadow: 0 30px 70px -18px rgba(0, 0, 0, .9), 0 0 40px -12px rgba(51, 144, 206, .45);
  opacity: 0; transform: translateY(24px) scale(.94);
  transition: opacity .55s var(--ease-out), transform .8s var(--ease-out);
}
.flow-mods img.is-active { opacity: 1; transform: none; transition-delay: .18s; }
.flow-rail { position: relative; height: 3px; border-radius: 3px; background: var(--color-border); overflow: hidden; }
.flow-rail-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--flow, .2)); background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright)); transition: transform .6s var(--ease-out); box-shadow: 0 0 10px var(--color-accent); }
.flow-phases { display: flex; justify-content: space-between; gap: 8px; }
.flow-phases > span { flex: 1; text-align: center; font-size: 12px; font-weight: 500; color: var(--color-muted); padding: 7px 4px; border-radius: 8px; border: 1px solid transparent; transition: color .4s, background .4s, border-color .4s; }
.flow-phases > span.is-active { color: var(--color-text); background: rgba(51, 144, 206, .2); border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); }

/* ==========================================================================
   HUB (tabs)
   ========================================================================== */
.hub::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 85% 40%, rgba(51, 144, 206, .14), transparent 70%);
}
.tab-list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-border); margin-bottom: 36px; }
.tab {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px;
  font: 500 13px var(--font-body); color: var(--color-text-soft);
  background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}
.tab .ic { font-size: 18px; }
.tab:hover { color: var(--color-text); }
.tab.is-active { color: var(--color-text); background: rgba(51, 144, 206, .2); border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); }
.tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-accent-bright); transform-origin: 0 50%; transform: scaleX(0); }
.tab.is-active .tab-bar { animation: tabprog var(--tab-ms, 7000ms) linear forwards; }
.tabs.is-paused .tab.is-active .tab-bar { animation-play-state: paused; }
@keyframes tabprog { to { transform: scaleX(1); } }

.tab-panels { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.tab-copy { position: relative; display: grid; }
.tab-text { grid-area: 1 / 1; opacity: 0; transform: translateX(-16px); pointer-events: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.tab-text.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tab-text h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.tab-text p { color: var(--color-text-soft); font-size: 16px; margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 13px; color: var(--color-text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(62, 207, 142, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%233ecf8e'%3E%3Cpath d='M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(62, 207, 142, .3);
}
.tab-frame { aspect-ratio: 2360 / 1520; }
.tab-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out);
}
.tab-frame img.is-active { opacity: 1; transform: none; }

/* ==========================================================================
   LÍNEAS + CIFRAS
   ========================================================================== */
.numbers { padding: 40px 0 100px; }
.lanes { display: flex; justify-content: center; gap: 18px; margin-bottom: 48px; }
.lanes img {
  width: 58px; height: 58px; padding: 12px; border-radius: 16px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.lanes img:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); box-shadow: 0 10px 30px -8px rgba(200, 170, 110, .4); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  text-align: center; padding: 26px 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg-2));
  border: 1px solid var(--color-border);
}
.stat b { display: block; font: 700 46px/1 var(--font-mono); letter-spacing: -0.03em; background: linear-gradient(180deg, #fff, var(--color-accent-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--color-text-soft); }

/* ==========================================================================
   FUNCIONES (bento con spotlight)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius);
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: transform .35s var(--ease-out), border-color .35s;
}
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border)); }
.spot::before { /* foco que sigue al ratón */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(125, 204, 238, .13), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.card-ic {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(51, 144, 206, .14); border: 1px solid rgba(51, 144, 206, .32); color: var(--color-accent-bright); font-size: 22px;
}
.card-ic img { width: 22px; height: 22px; }
.card { display: flex; flex-direction: column; }
.card-shot {
  margin: 20px -6px -6px; margin-top: auto; padding-top: 18px; border-radius: 12px; overflow: hidden;
}
.card-shot img { border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); transition: transform .5s var(--ease-out); }
.card:hover .card-shot img { transform: translateY(-3px) scale(1.01); }
.card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--color-text-soft); font-size: 13px; line-height: 1.6; }
.card .link-arrow { margin-top: 14px; align-self: flex-start; }

/* ==========================================================================
   MODO ATRIBUTOS
   ========================================================================== */
.attr-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.attr-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.attr-card { padding: 22px; }
.attr-card .card-ic { margin-bottom: 14px; }
.attr-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.attr-chips li {
  font-size: 11px; font-weight: 500; color: var(--color-text); padding: 4px 10px; border-radius: 999px;
  background: rgba(214, 226, 242, .04); border: 1px solid var(--color-border-strong);
}
.attr-demo {
  position: sticky; top: calc(var(--nav-h) + 24px); padding: 24px; border-radius: var(--radius);
  background: radial-gradient(420px circle at 0 0, rgba(51, 144, 206, .16), transparent 65%), var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
}
.attr-demo-tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-bright); }
.attr-demo-ctx { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--color-text-soft); }
.attr-pick {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--color-bg) 72%, transparent); border: 1px solid var(--color-border);
}
.attr-pick b { font-size: 16px; }
.attr-reasons { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.attr-reasons li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text); }
.attr-reasons b {
  display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; font-size: 13px;
}
.attr-reasons .up b { color: #7ee2b3; background: rgba(62, 207, 142, .12); border: 1px solid rgba(62, 207, 142, .3); }
.attr-reasons .down b { color: #f19999; background: rgba(232, 90, 90, .12); border: 1px solid rgba(232, 90, 90, .3); }

/* ==========================================================================
   SEGURIDAD
   ========================================================================== */
.safety-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.safety-copy h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; margin-top: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 13px; font-weight: 600; }
.link-arrow .ic { font-size: 16px; transition: transform .25s var(--ease-out); }
.link-arrow:hover .ic { transform: translateX(4px); }
.safety-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; border-radius: 18px; background: var(--color-surface); border: 1px solid var(--color-border); }
.safety-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; transition: background .25s; }
.safety-list li:hover { background: rgba(214, 226, 242, .04); }
.safety-list li + li { border-top: 1px solid var(--color-border); }
.safety-list div { display: flex; flex-direction: column; line-height: 1.4; }
.safety-list b { font-size: 15px; }
.safety-list div > span { font-size: 13px; color: var(--color-text-soft); }
.safe-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; font-size: 18px; color: var(--fav); background: rgba(62, 207, 142, .12); border: 1px solid rgba(62, 207, 142, .35); }

/* ==========================================================================
   INSTALACIÓN
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.steps::before { /* conector */
  content: ""; position: absolute; top: 47px; left: 60px; right: 60px; height: 1px; z-index: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright), var(--color-accent));
  opacity: .5; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease-out) .3s;
}
.steps.is-in::before { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; padding: 28px; border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-border); }
.step-dot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 20px;
  font: 700 15px var(--font-mono); color: #03101c; background: linear-gradient(180deg, #8fd6f3, var(--color-accent-bright));
  box-shadow: 0 0 0 5px var(--color-surface), 0 0 24px rgba(125, 204, 238, .5);
}
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { color: var(--color-text-soft); font-size: 13px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-border); transition: border-color .3s, background .3s; }
.faq-list details[open] { border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border)); background: color-mix(in srgb, var(--color-surface) 85%, var(--color-accent) 6%); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 15px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { font-size: 22px; color: var(--color-muted); transition: transform .35s var(--ease-out), color .3s; }
.faq-list details[open] summary .ic { transform: rotate(180deg); color: var(--color-accent-bright); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq-a > p { overflow: hidden; padding: 0 22px; color: var(--color-text-soft); font-size: 13px; line-height: 1.65; }
.faq-list details.is-open .faq-a { grid-template-rows: 1fr; }
.faq-list details.is-open .faq-a > p { padding-bottom: 20px; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final { padding-top: 40px; padding-bottom: 80px; }
.final-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 72px 24px; border-radius: 24px;
  background: radial-gradient(700px 300px at 50% 0%, rgba(51, 144, 206, .28), transparent 70%), var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  display: flex; flex-direction: column; align-items: center;
}
.final-glow {
  position: absolute; z-index: -1; inset: -50%; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent, rgba(125, 204, 238, .16), transparent 30%);
  animation: spin 12s linear infinite;
}
.final-logo { filter: drop-shadow(0 0 24px rgba(125, 204, 238, .7)); animation: flame 3.5s ease-in-out infinite; margin-bottom: 22px; }
@keyframes flame { 50% { transform: translateY(-6px) scale(1.04); filter: drop-shadow(0 0 36px rgba(125, 204, 238, .95)); } }
.final-card h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.final-card .sec-sub { margin: 14px auto 30px; }
.final-card .cta-row { margin-top: 0; }
.small { margin-top: 14px; font-size: 12px; color: var(--color-muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--color-border); padding: 40px 0 48px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { font-size: 13px; color: var(--color-text-soft); }
.footer nav a:hover { color: var(--color-text); }
.disclaimer { margin-top: 26px; font-size: 11px; line-height: 1.6; color: var(--color-muted); max-width: 860px; }
.copy { margin-top: 12px; font-size: 11px; color: var(--color-muted); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1600px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(3, 6, 12, .82); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in .35s var(--ease-out); }
.lightbox[open]::backdrop { animation: fade-in .3s ease; }
.lightbox img { max-width: min(1600px, 94vw); max-height: 88vh; width: auto; border-radius: 14px; border: 1px solid var(--color-border-strong); box-shadow: 0 40px 100px rgba(0, 0, 0, .8); }
.lightbox-close {
  position: absolute; top: -16px; right: -16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-surface-2); border: 1px solid var(--color-border-strong); color: var(--color-text); font-size: 20px; cursor: pointer;
}
@keyframes lb-in { from { opacity: 0; transform: scale(.94) translateY(10px); } }
@keyframes fade-in { from { opacity: 0; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .section { padding: 88px 0; }
  .flow-grid, .tab-panels, .safety-grid, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .attr-grid { grid-template-columns: 1fr; }
  .attr-demo { position: static; }
  .flow-screen { display: none; }
  .flow-step { opacity: 1; min-height: 0; padding: 28px 0; }
  .step-shot { display: block; }
  .tab-copy { order: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap .sec-head { position: static; margin-bottom: 0; }
  .float-lane { left: 2%; top: 4%; }
  .float-toast { right: 2%; top: auto; bottom: 30%; }
  .float-wr { display: none; }
  .float-shot { left: 2%; bottom: -10%; width: 52%; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .wrap, .nav-inner { padding: 0 18px; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .nav .btn-sm span { display: none; }
  .btn-lg { width: 100%; }
  .cta-row { width: 100%; }
  .bento, .steps, .attr-groups { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .lanes { gap: 10px; }
  .lanes img { width: 50px; height: 50px; padding: 10px; }
  .stat b { font-size: 36px; }
  .float-toast, .float-lane { display: none; }
  .float-shot { width: 64%; bottom: -14%; }
  .tab { padding: 9px 12px; }
  .marquee-row span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .stage-inner { transform: none; }
  .embers { display: none; }
}
