/* RemoteDeck — web del producto. Misma paleta que la app (frontend/dashboard/globals.css). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #0B0F16;
  --bg-2: #0D121B;
  --surface-1: #10161F;
  --surface-2: #151C27;
  --surface-3: #1B2330;
  --card: #2A3342;
  --border: #1C2431;
  --border-light: #263041;
  --green: #14D39A;
  --green-dim: #10AD7E;
  --green-glow: rgba(20, 211, 154, 0.22);
  --violet: #8B5CF6;
  --violet-glow: rgba(139, 92, 246, 0.22);
  --red: #F43F5E;
  --text: #E5E7EB;
  --text-2: #9AA3B2;
  --text-3: #5B6577;
  --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0.05, 0.55, 0.95);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --metal: linear-gradient(180deg, #F4F5F7 0%, #C9CDD3 55%, #9AA0A8 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgba(20, 211, 154, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Luz de fondo (la misma de la app) ───────────────────────────── */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient > span { position: absolute; will-change: transform, opacity; }
.ambient-haze { width: 70vw; height: 70vh; left: -20vw; top: -25vh; background: radial-gradient(closest-side, rgba(20, 211, 154, 0.13), transparent); animation: rd-drift-a 13s var(--ease-soft) infinite alternate; }
.ambient-violet { width: 80vw; height: 85vh; right: -30vw; top: 10vh; background: radial-gradient(closest-side, rgba(139, 92, 246, 0.28), transparent); animation: rd-drift-b 16s var(--ease-soft) infinite alternate; }
.ambient-arc { border-radius: 50%; border-top: 2px solid rgba(120, 255, 210, 0.9); }
.ambient-arc i { position: absolute; inset: -14px; border-radius: 50%; border-top: 30px solid rgba(20, 211, 154, 0.5); filter: blur(24px); }
.ambient-arc-1 { width: 160vw; height: 90vh; left: -70vw; bottom: -52vh; transform: rotate(-10deg); animation: rd-arc-1 11s var(--ease-soft) infinite alternate; }
.ambient-arc-2 { width: 120vw; height: 80vh; left: 22vw; bottom: -62vh; opacity: 0.5; transform: rotate(-4deg); animation: rd-arc-2 14s var(--ease-soft) infinite alternate; }
@keyframes rd-arc-1 { from { transform: translate3d(0,0,0) rotate(-10deg); opacity: .8; } to { transform: translate3d(5vw,-5vh,0) rotate(-6.5deg); opacity: .6; } }
@keyframes rd-arc-2 { from { transform: translate3d(0,0,0) rotate(-4deg); opacity: .45; } to { transform: translate3d(-6vw,-4vh,0) rotate(-7deg); opacity: .7; } }
@keyframes rd-drift-a { from { transform: translate3d(0,0,0); opacity: .85; } to { transform: translate3d(8vw,6vh,0); opacity: 1; } }
@keyframes rd-drift-b { from { transform: translate3d(0,0,0) scale(1); opacity: .9; } to { transform: translate3d(-8vw,-6vh,0) scale(1.08); opacity: 1; } }

/* ── Botones ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, #2BE6AE 0%, var(--green) 45%, var(--green-dim) 100%);
  color: #04110C;
  box-shadow: 0 0 0 1px rgba(20, 211, 154, .4), 0 10px 30px -8px rgba(20, 211, 154, .55), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(20, 211, 154, .6), 0 16px 40px -8px rgba(20, 211, 154, .7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--border-light); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: #34405400; border-color: #34405A; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ── Cabecera ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 15, 22, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 19px; letter-spacing: -0.02em; }
.brand img { height: 22px; width: auto; }
.brand span { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-light); width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-mobile { display: none; }

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.open { display: flex; flex-direction: column; gap: 2px; padding: 8px var(--gutter) 18px; background: rgba(11, 15, 22, .96); border-bottom: 1px solid var(--border); }
  .nav-mobile a { padding: 12px 4px; color: var(--text-2); font-weight: 500; border-bottom: 1px solid var(--border); }
  .nav-mobile a:last-child { border-bottom: 0; }
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding: 132px 0 96px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); z-index: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  border: 1px solid var(--border-light); background: rgba(255,255,255,.03); color: var(--text-2); font-size: 13px; font-weight: 500;
}
.eyebrow b { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: var(--green-glow); color: var(--green); font-weight: 600; font-size: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 4.6vw, 64px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.02; }
.metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glow-text { background: linear-gradient(100deg, #6FF5CB 0%, var(--green) 40%, #A78BFA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; max-width: 34em; color: var(--text-2); font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; color: var(--text-3); font-size: 13.5px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ico { width: 15px; height: 15px; color: var(--green); }

@media (max-width: 980px) {
  .hero { padding: 116px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-note { justify-content: center; }
}
@media (max-width: 520px) {
  .hero-cta .btn { width: 100%; }
}

/* ── Demo interactiva: móvil → PC ────────────────────────────────── */
.demo { position: relative; aspect-ratio: 1.16; width: 100%; max-width: 640px; margin: 0 auto; user-select: none; -webkit-user-select: none; }
.demo-beam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.demo-beam path { fill: none; vector-effect: non-scaling-stroke; }
.beam-track { stroke: rgba(20, 211, 154, .14); stroke-width: 1.5; stroke-dasharray: 3 6; }
.beam-pulse { stroke: url(#beamGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.18 1; stroke-dashoffset: 0.18; opacity: 0; filter: drop-shadow(0 0 6px rgba(20, 211, 154, .9)); }
.demo.firing .beam-pulse { animation: beam 0.62s var(--ease) forwards; }
@keyframes beam { 0% { stroke-dashoffset: 0.18; opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }

/* Monitor */
.demo-pc { position: absolute; right: 0; top: 0; width: 84%; z-index: 1; }
.pc-frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; padding: 8px;
  background: linear-gradient(160deg, #2A3342, #141A24 60%, #0F141C);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 80px -20px var(--violet-glow);
}
.pc-screen { position: relative; height: 100%; border-radius: 8px; overflow: hidden; background: radial-gradient(120% 90% at 85% 100%, rgba(139,92,246,.45), transparent 55%), radial-gradient(90% 70% at 0% 0%, rgba(20,211,154,.22), transparent 60%), #0C111A; }
.pc-stand { width: 22%; height: 34px; margin: 0 auto; background: linear-gradient(180deg, #1A212D, #10151D); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.pc-base { width: 38%; height: 7px; margin: 0 auto; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #2A3342, #141A24); }
.pc-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; display: flex; align-items: center; justify-content: center; gap: 1.6%; background: rgba(12, 16, 24, .75); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.06); }
.pc-taskbar i { width: 3.2%; aspect-ratio: 1; border-radius: 22%; background: rgba(255,255,255,.14); }
.pc-taskbar i:first-child { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.pc-taskbar i.rd { background: url("logo-mark.svg") center / 70% no-repeat, #151C27; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.pc-clock { position: absolute; right: 2.4%; font-size: clamp(7px, 1.3vw, 10px); color: var(--text-2); font-variant-numeric: tabular-nums; }

.pc-window {
  position: absolute; left: 31%; top: 8%; width: 62%; height: 64%;
  border-radius: 8px; background: rgba(21, 28, 39, .92); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); overflow: hidden;
  transform-origin: 30% 80%;
  font-size: clamp(8px, 1.45vw, 12px);
}
.pc-window.swap { animation: win-in .45s var(--ease); }
@keyframes win-in { from { opacity: 0; transform: translateY(6%) scale(.94); } to { opacity: 1; transform: none; } }
.win-bar { display: flex; align-items: center; gap: 6px; height: 13%; padding: 0 5%; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--text-2); font-weight: 500; }
.win-bar::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F87171; box-shadow: 10px 0 0 #FBBF24, 20px 0 0 #34D399; margin-right: 22px; }
.win-body { position: relative; height: 87%; padding: 6% 6%; color: var(--text); }
.win-body .big { font-size: 1.9em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.win-body .muted { color: var(--text-2); }
.win-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; height: 100%; text-align: center; }
.win-center .ico { width: 30%; height: auto; aspect-ratio: 1; stroke-width: 1.5; }
.live-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 5px; background: var(--red); color: #fff; font-weight: 700; font-size: .85em; letter-spacing: .06em; }
.live-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scene-thumb { position: absolute; inset: 22% 6% 8%; border-radius: 6px; background: linear-gradient(135deg, #1E293B, #0F172A); overflow: hidden; }
.scene-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 30% 70%, rgba(20,211,154,.5), transparent 60%), radial-gradient(50% 60% at 80% 30%, rgba(139,92,246,.6), transparent 60%); }
.scene-thumb::after { content: ""; position: absolute; right: 5%; bottom: 8%; width: 24%; aspect-ratio: 4/3; border-radius: 4px; background: #334155; border: 2px solid rgba(255,255,255,.7); }
.player { display: flex; gap: 6%; align-items: center; height: 100%; }
.player-art { width: 38%; aspect-ratio: 1; border-radius: 8px; background: conic-gradient(from 210deg, #14D39A, #8B5CF6, #F472B6, #14D39A); box-shadow: 0 10px 30px -10px rgba(139,92,246,.8); }
.player-bar { height: 4px; margin-top: 10%; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.player-bar i { display: block; height: 100%; width: 35%; background: var(--green); animation: progress 8s linear infinite; }
@keyframes progress { to { width: 100%; } }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 1.6em; margin-top: 8%; }
.eq i { width: 4px; background: var(--green); border-radius: 2px; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; } .eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
.code-lines { display: grid; gap: 7%; margin-top: 2%; }
.code-lines i { display: block; height: .62em; border-radius: 3px; background: rgba(255,255,255,.12); }
.code-lines i.k { background: rgba(139,92,246,.7); } .code-lines i.s { background: rgba(20,211,154,.6); } .code-lines i.f { background: rgba(96,165,250,.6); }
.typed { margin-top: 5%; line-height: 1.5; white-space: pre-line; }
.typed::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--green); animation: blink .8s steps(1) infinite; }
.mail-field { display: flex; gap: 6px; padding-bottom: 4%; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--text-2); }
.vol { display: flex; flex-direction: column; justify-content: center; gap: 12%; height: 100%; }
.vol-row { display: grid; grid-template-columns: 28% 1fr; align-items: center; gap: 6%; color: var(--text-2); }
.vol-row b { display: block; height: 5px; border-radius: 5px; background: rgba(255,255,255,.1); position: relative; }
.vol-row b i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: linear-gradient(90deg, var(--green-dim), var(--green)); transition: width .8s var(--ease); }
.pc-lock { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2%; background: rgba(8, 11, 17, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.pc-lock.on { opacity: 1; }
.pc-lock .t { font-size: clamp(22px, 5vw, 44px); font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc-lock .d { font-size: clamp(8px, 1.4vw, 12px); color: var(--text-2); }
.pc-flash { position: absolute; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.pc-flash.on { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

.pc-toast {
  position: absolute; right: 3%; bottom: 12%; z-index: 6;
  display: flex; align-items: center; gap: 8px; padding: 2.2% 3%; max-width: 52%;
  border-radius: 8px; background: rgba(21, 28, 39, .95); border: 1px solid var(--border-light);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.8);
  font-size: clamp(8px, 1.3vw, 11.5px); line-height: 1.3;
  opacity: 0; transform: translateY(20%);
  transition: opacity .3s, transform .4s var(--ease);
}
.pc-toast.on { opacity: 1; transform: none; }
.pc-toast .ok { flex: none; width: 1.8em; height: 1.8em; display: grid; place-items: center; border-radius: 50%; background: var(--green-glow); color: var(--green); }
.pc-toast .ok .ico { width: 1.1em; height: 1.1em; stroke-width: 2.5; }
.pc-toast b { display: block; font-weight: 600; }
.pc-toast small { color: var(--text-2); font-size: .92em; }

/* Móvil */
.demo-phone { position: absolute; left: 0; bottom: 0; width: 37%; z-index: 2; filter: drop-shadow(0 30px 50px rgba(0,0,0,.65)); }
.phone-body { position: relative; aspect-ratio: 9 / 18.5; border-radius: 15% / 7.3%; padding: 5.5%; background: linear-gradient(145deg, #3A4352, #1A202B 40%, #0E1219); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 60px -10px var(--green-glow); }
.phone-screen { position: relative; height: 100%; border-radius: 11% / 5.3%; overflow: hidden; background: radial-gradient(90% 50% at 100% 100%, rgba(139,92,246,.35), transparent 70%), radial-gradient(80% 40% at 0% 0%, rgba(20,211,154,.18), transparent 70%), var(--bg); display: flex; flex-direction: column; padding: 15% 7% 8%; }
.phone-screen::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.2%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.phone-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: clamp(7px, 1.3vw, 10.5px); font-weight: 650; }
.phone-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 99px; color: var(--green); background: var(--green-glow); font-size: .85em; font-weight: 600; white-space: nowrap; }
.phone-pill .dot { width: 5px; height: 5px; }
.phone-tabs { display: flex; gap: 4px; margin: 8% 0 6%; font-size: clamp(6px, 1.1vw, 9px); }
.phone-tabs span { padding: 2px 7px; border-radius: 99px; color: var(--text-2); border: 1px solid var(--border-light); }
.phone-tabs span.on { color: var(--text); background: var(--surface-3); }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.tile {
  position: relative; aspect-ratio: 1; border-radius: 22%; border: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8%;
  background: linear-gradient(165deg, #2E3848, #222A37); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 10px -4px rgba(0,0,0,.6);
  font-size: clamp(5.5px, 1vw, 8.5px); font-weight: 600; line-height: 1.1; text-align: center;
  transition: transform .15s var(--ease), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.tile .ico { width: 42%; height: auto; aspect-ratio: 1; stroke-width: 1.9; }
.tile span { max-width: 92%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile[data-c="green"] { color: #5EEAC0; } .tile[data-c="violet"] { color: #C4B5FD; } .tile[data-c="red"] { color: #FDA4AF; } .tile[data-c="blue"] { color: #93C5FD; } .tile[data-c="amber"] { color: #FCD34D; }
.tile span { color: var(--text); }
.tile:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(20,211,154,.35), 0 6px 14px -4px rgba(0,0,0,.6); }
.tile.pressed { transform: scale(.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 2px var(--green), 0 0 24px var(--green-glow); }
.tile.pressed::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: tile-ring .6s var(--ease) forwards; box-shadow: 0 0 0 0 rgba(20,211,154,.7); }
@keyframes tile-ring { to { box-shadow: 0 0 0 14px rgba(20,211,154,0); } }
.phone-foot { margin-top: auto; text-align: center; font-size: clamp(6px, 1vw, 8.5px); color: var(--text-3); }
.demo-hint { position: absolute; left: 1%; bottom: -36px; display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; }
.demo-hint .ico { width: 15px; height: 15px; transform: rotate(-90deg); color: var(--green); }

@media (max-width: 980px) {
  .demo { margin-top: 24px; max-width: 560px; }
  .demo-hint { left: 50%; transform: translateX(-50%); white-space: nowrap; }
}

/* ── Franja de acciones ──────────────────────────────────────────── */
.marquee { position: relative; display: grid; gap: 12px; padding: 26px 0; border-block: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.012), transparent); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { overflow: hidden; }
/* Dos grupos idénticos: al desplazar -50% el segundo ocupa el sitio exacto del primero (bucle sin salto). */
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; will-change: transform; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.marquee-group { display: flex; flex-shrink: 0; gap: 12px; padding-right: 12px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-light); background: var(--surface-1); color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { color: var(--text); border-color: rgba(20,211,154,.35); background: rgba(20,211,154,.06); }
.chip .ico { width: 16px; height: 16px; color: var(--green); }
.marquee-row.reverse .chip .ico { color: #A78BFA; }
.marquee-row.reverse .chip:hover { border-color: rgba(139,92,246,.4); background: rgba(139,92,246,.07); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Secciones ───────────────────────────────────────────────────── */
.section { position: relative; overflow-x: clip; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 880px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 14px; color: var(--green); font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.035em; }
.section-head p { margin-top: 18px; color: var(--text-2); font-size: clamp(16px, 1.5vw, 18px); }

/* Bento de funciones */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 28px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)), var(--surface-1);
  border: 1px solid var(--border);
  transition: border-color .3s, transform .4s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(20, 211, 154, .09), transparent 60%); }
.card:hover { border-color: var(--border-light); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.card-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: var(--green-glow); color: var(--green); box-shadow: inset 0 0 0 1px rgba(20,211,154,.25); }
.card-icon.v { background: var(--violet-glow); color: #A78BFA; box-shadow: inset 0 0 0 1px rgba(139,92,246,.3); }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.card-visual { margin-top: 24px; }
@media (max-width: 980px) { .span-4, .span-3, .span-2 { grid-column: span 6; } }
@media (min-width: 640px) and (max-width: 980px) { .span-2 { grid-column: span 3; } }

/* Visual: red mundial */
.net { position: relative; height: 150px; border-radius: 14px; border: 1px solid var(--border); background: radial-gradient(ellipse at 50% 120%, rgba(20,211,154,.12), transparent 60%), var(--bg-2); overflow: hidden; }
.net > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-node { position: absolute; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.net-node .bubble { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--border-light); color: var(--text); }
.net-node.a { left: 8%; } .net-node.b { right: 8%; } .net-node.c { left: 50%; transform: translate(-50%, -50%); }
.net-node.c .bubble { width: 56px; height: 56px; border-radius: 50%; background: var(--green-glow); color: var(--green); border-color: rgba(20,211,154,.4); box-shadow: 0 0 30px var(--green-glow); }
.net-line { stroke: rgba(20, 211, 154, .35); stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.net-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.net-tags span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); }

/* Visual: macro */
.steps { display: grid; gap: 8px; counter-reset: s; }
.step { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--surface-3); color: var(--text); font-size: 12px; font-weight: 600; }
.step b { color: var(--text); font-weight: 600; }
.card.in .step { animation: step-in .5s var(--ease) both; }
.card.in .step:nth-child(2) { animation-delay: .12s; } .card.in .step:nth-child(3) { animation-delay: .24s; } .card.in .step:nth-child(4) { animation-delay: .36s; }
@keyframes step-in { from { opacity: 0; transform: translateX(-10px); } }

/* Visual: directo */
.live-row { display: flex; gap: 10px; }
.live-tile { flex: 1; aspect-ratio: 1; max-width: 86px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(165deg, #2E3848, #222A37); font-size: 11px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.live-tile .ico { width: 24px; height: 24px; }
.live-tile.rec { box-shadow: inset 0 0 0 1.5px var(--red), 0 0 20px rgba(244,63,94,.35); color: #FDA4AF; }
.live-tile.muted { color: #FDA4AF; }
.live-tile.scene { color: #5EEAC0; box-shadow: inset 0 0 0 1.5px var(--green), 0 0 20px var(--green-glow); }

/* Visual: mezclador */
.mixer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 170px; }
.fader { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.fader-track { position: relative; flex: 1; width: 8px; border-radius: 8px; background: var(--surface-3); }
.fader-fill { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 8px; background: linear-gradient(0deg, var(--green-dim), var(--green)); height: var(--v); transition: height 1.2s var(--ease); }
.fader-knob { position: absolute; left: 50%; bottom: var(--v); width: 26px; height: 14px; transform: translate(-50%, 50%); border-radius: 5px; background: linear-gradient(180deg, #F4F5F7, #9AA0A8); box-shadow: 0 2px 6px rgba(0,0,0,.6); transition: bottom 1.2s var(--ease); }
.fader:nth-child(even) .fader-fill { background: linear-gradient(0deg, #7C3AED, var(--violet)); }

/* Visual: bandeja */
.tray-mock { position: relative; height: 170px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: radial-gradient(100% 80% at 100% 100%, rgba(139,92,246,.3), transparent 60%), var(--bg-2); }
.tray-panel { position: absolute; right: 12px; bottom: 34px; display: grid; grid-template-columns: repeat(4, 30px); gap: 6px; padding: 10px; border-radius: 12px; background: rgba(21, 28, 39, .92); border: 1px solid var(--border-light); box-shadow: 0 16px 30px -10px rgba(0,0,0,.8); animation: tray-pop 4s var(--ease) infinite; }
.tray-panel i { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(165deg, #2E3848, #222A37); }
.tray-panel i:nth-child(3n+1) { box-shadow: inset 0 0 0 1px rgba(20,211,154,.5); }
.tray-panel i:nth-child(5) { box-shadow: inset 0 0 0 1px rgba(139,92,246,.6); }
.tray-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 12px; background: rgba(12,16,24,.9); border-top: 1px solid var(--border); }
.tray-bar i { width: 12px; height: 12px; border-radius: 3px; background: rgba(255,255,255,.15); }
.tray-bar i.rd { width: 14px; height: 14px; background: url("logo-mark.svg") center / contain no-repeat; }
@keyframes tray-pop { 0%, 12% { opacity: 0; transform: translateY(8px) scale(.96); } 22%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(8px) scale(.96); } }

/* Visual: perfiles inteligentes */
.smart { display: grid; gap: 8px; }
.smart-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.smart-row .ico { width: 16px; height: 16px; color: var(--text-3); }
.smart-row b { margin-left: auto; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-glow); }
.smart-row.on { border-color: rgba(20,211,154,.35); color: var(--text); }

/* Visual: sincronización PC ↔ móvil */
.sync { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 28px); padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-2); }
.sync-pc, .sync-phone { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-light); }
.sync-pc { grid-template-columns: repeat(4, 22px); }
.sync-phone { grid-template-columns: repeat(2, 22px); border-radius: 14px; padding: 14px 10px; }
.sync i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(165deg, #2E3848, #222A37); }
.sync i.g { box-shadow: inset 0 0 0 1px rgba(20,211,154,.6); }
.sync i.v { box-shadow: inset 0 0 0 1px rgba(139,92,246,.7); }
.sync i.new { background: var(--green); box-shadow: 0 0 12px var(--green-glow); animation: sync-new 3.2s var(--ease) infinite; }
.sync-phone i.new { animation-delay: .5s; }
.sync-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--green); background: var(--green-glow); box-shadow: 0 0 24px var(--green-glow); }
@keyframes sync-new { 0%, 15% { opacity: 0; transform: scale(.5); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.5); } }
.sync + .net-tags { margin-top: 16px; }

/* Cómo funciona */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.how-step { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface-1); }
.how-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 700; font-size: 17px; color: var(--green); background: var(--bg); border: 1px solid rgba(20,211,154,.4); box-shadow: 0 0 24px var(--green-glow); }
.how-step h3 { margin-top: 22px; font-size: 21px; }
.how-step p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.how-step .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.how-step .meta span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); }
.how-line { position: absolute; top: 54px; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(20,211,154,.5), rgba(139,92,246,.5), transparent); z-index: -1; }
@media (max-width: 880px) { .how { grid-template-columns: 1fr; } .how-line { display: none; } }

/* Casos de uso */
.uses { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.use-tabs { display: grid; gap: 10px; }
.use-tab { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 20px 22px; text-align: left; border-radius: 16px; border: 1px solid var(--border); background: transparent; transition: background .3s, border-color .3s; }
.use-tab .card-icon { margin: 0; flex: none; }
.use-tab b { display: block; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.use-tab small { display: block; margin-top: 4px; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.use-tab[aria-selected="true"] { background: var(--surface-1); border-color: var(--border-light); box-shadow: inset 3px 0 0 var(--green); }
.use-tab:hover:not([aria-selected="true"]) { background: rgba(255,255,255,.02); }
.deck { padding: clamp(16px, 3vw, 28px); border-radius: 24px; background: linear-gradient(180deg, #1A212C, #10151D); border: 1px solid var(--border-light); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 8px rgba(255,255,255,.015); }
.deck-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.deck-head .phone-pill { font-size: 12px; padding: 4px 10px; }
.deck-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 14px); }
.deck-grid .tile { font-size: clamp(10px, 1.2vw, 12.5px); border-radius: 18px; gap: 10%; }
.deck-grid .tile .ico { width: 34%; }
.deck-grid .tile span { white-space: normal; padding: 0 4px; line-height: 1.15; }
.deck-grid.swap .tile { animation: tileIn .45s var(--ease) both; }
.deck-grid.swap .tile:nth-child(2) { animation-delay: .03s; } .deck-grid.swap .tile:nth-child(3) { animation-delay: .06s; } .deck-grid.swap .tile:nth-child(4) { animation-delay: .09s; } .deck-grid.swap .tile:nth-child(5) { animation-delay: .12s; } .deck-grid.swap .tile:nth-child(6) { animation-delay: .15s; } .deck-grid.swap .tile:nth-child(7) { animation-delay: .18s; } .deck-grid.swap .tile:nth-child(8) { animation-delay: .21s; }
@keyframes tileIn { from { opacity: 0; transform: scale(.85); } }
@media (max-width: 880px) { .uses { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .deck-grid .tile span { font-size: 9.5px; } }

/* Seguridad */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust .card { text-align: left; }
@media (max-width: 880px) { .trust { grid-template-columns: 1fr; } }

/* Precios */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px; border-radius: 12px; border: 1px solid var(--border-light); background: var(--surface-1); }
.billing-toggle button { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.billing-toggle button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.billing-toggle em { font-style: normal; font-size: 11.5px; padding: 2px 6px; border-radius: 5px; color: var(--green); background: var(--green-glow); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface-1); }
.plan h3 { font-size: 18px; font-weight: 650; }
.plan-desc { margin-top: 6px; color: var(--text-2); font-size: 14.5px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.price b { font-size: 48px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--text-2); font-size: 15px; }
.price-note { min-height: 1.5em; margin-top: 6px; color: var(--text-3); font-size: 13px; }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.plan li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--green); stroke-width: 2.25; }
.plan li.off { color: var(--text-3); }
.plan li.off .ico { color: var(--text-3); }
.plan .btn { margin-top: auto; }
.plan.featured { border-color: transparent; background: linear-gradient(var(--surface-1), var(--surface-1)) padding-box, linear-gradient(160deg, rgba(20,211,154,.8), rgba(139,92,246,.8)) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -30px rgba(139,92,246,.45), 0 0 60px -20px var(--green-glow); }
.plan-badge { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #04110C; background: linear-gradient(90deg, var(--green), #A78BFA); }
.trial-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--border-light); color: var(--text-2); font-size: 15px; text-align: center; }
.trial-banner strong { color: var(--text); }
.price-fine { margin-top: 16px; text-align: center; color: var(--text-3); font-size: 13px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* Preguntas */
.faq { display: grid; gap: 10px; align-content: start; }
.faq details { border-radius: 16px; border: 1px solid var(--border); background: var(--surface-1); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--border-light); background: var(--surface-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 18px; height: 18px; color: var(--text-2); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; }
.faq .answer a { color: var(--green); }

/* Llamada final */
.final { position: relative; isolation: isolate; overflow: hidden; margin: 0; border-radius: 32px; padding: clamp(64px, 9vw, 112px) var(--gutter); text-align: center; border: 1px solid var(--border-light); background: var(--bg-2); }
.final .ambient-arc-1 { bottom: -70%; height: 120%; } .final .ambient-arc-2 { bottom: -78%; height: 110%; }
.final .ambient-violet { top: -20%; }
.final-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.final img { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 18px; box-shadow: 0 20px 50px -10px rgba(139,92,246,.6); }
.final h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.04em; }
.final p { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.final .hero-cta { justify-content: center; }
@media (max-width: 520px) { .final { border-radius: 24px; } }

/* Pie */
.footer { position: relative; overflow: hidden; padding: 72px 0 40px; margin-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer p { margin-top: 14px; max-width: 30em; color: var(--text-3); font-size: 14px; }
.footer h4 { margin-bottom: 14px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ── Páginas de texto (legal, descarga, confirmaciones) ──────────── */
.page-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding: 150px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.035em; }
.page-hero p { margin-top: 14px; color: var(--text-2); font-size: 17px; max-width: 40em; }
.page-hero .wrap { position: relative; z-index: 1; }
.prose > * { max-width: 780px; }
.prose { padding-top: 56px; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.prose h2 { margin: 48px 0 14px; color: var(--text); font-size: 24px; letter-spacing: -0.02em; }
.prose h3 { margin: 28px 0 8px; color: var(--text); font-size: 18px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20,211,154,.4); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { color: var(--text); background: var(--surface-1); font-weight: 600; }
.prose .updated { color: var(--text-3); font-size: 14px; }
.prose .box { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--border-light); background: var(--surface-1); }
.pend { padding: 1px 6px; border-radius: 5px; color: #FBBF24; background: rgba(251,191,36,.12); border: 1px dashed rgba(251,191,36,.45); font-style: normal; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-nav a { padding: 6px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); border: 1px solid var(--border-light); }
.legal-nav a[aria-current="page"] { color: var(--text); background: var(--surface-3); }

.center-page { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100dvh; margin-top: -72px; display: grid; place-items: center; padding: 120px var(--gutter) 64px; text-align: center; }
.center-card { position: relative; z-index: 1; max-width: 520px; }
.center-card .big-ok { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%; color: var(--green); background: var(--green-glow); box-shadow: 0 0 0 1px rgba(20,211,154,.4), 0 0 60px var(--green-glow); }
.center-card .big-ok .ico { width: 40px; height: 40px; stroke-width: 2.25; }
.center-card h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.035em; }
.center-card p { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.center-card .hero-cta { justify-content: center; }

.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.dl-card { padding: 32px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface-1); }
.dl-card h2 { margin: 18px 0 8px; font-size: 24px; }
.dl-card p { color: var(--text-2); font-size: 15px; }
.dl-card ol { margin: 18px 0 26px; padding-left: 20px; color: var(--text-2); font-size: 15px; display: grid; gap: 8px; }
.dl-card .fine { margin-top: 14px; color: var(--text-3); font-size: 13px; }
@media (max-width: 820px) { .dl-grid { grid-template-columns: 1fr; } }

/* ── Pulido ──────────────────────────────────────────────────────── */
/* Barra de lectura bajo la cabecera */
.nav-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--green), #A78BFA); opacity: 0; transition: opacity .3s; pointer-events: none; }
.nav.scrolled .nav-progress { opacity: .9; }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }

/* Tarjetas con pie: el contenido extra se apoya abajo */
.bento .card { display: flex; flex-direction: column; }
.bento .card > .card-icon { align-self: flex-start; }
.bento .mixer, .bento .tray-mock { flex: 1; height: auto; min-height: 170px; }

/* Directos: estado real */
.live-tile.rec { animation: rec-pulse 2s ease-in-out infinite; }
@keyframes rec-pulse { 50% { box-shadow: inset 0 0 0 1.5px var(--red), 0 0 34px rgba(244,63,94,.55); } }
.live-status { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.live-status > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.ls-app { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; white-space: nowrap; }
.ls-app .ico { width: 15px; height: 15px; color: var(--text-3); }
.ls-val { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ls-val.rec { color: #FDA4AF; }
.ls-val.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.4s steps(2, start) infinite; }
.ls-val b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
@keyframes blink { to { opacity: .25; } }

/* Perfiles: fila activa que va cambiando */
.smart-row { transition: border-color .4s, color .4s, background .4s; }
.smart-row b { transition: color .4s, background .4s; }
.smart-row:not(.on) b { color: var(--text-2); background: var(--surface-3); }
.smart-row.on { background: rgba(20,211,154,.05); }
.smart-row.on .ico { color: var(--green); }
.smart-now { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--text-2); }
.smart-now .phone-pill { font-size: 12px; padding: 3px 9px; }
.smart-now b { color: var(--text); font-weight: 600; display: inline-block; }
.smart-now b.swap { animation: word-in .45s var(--ease); }
@keyframes word-in { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }

/* Cómo funciona: mini ilustraciones */
.how-visual { display: flex; align-items: center; gap: 12px; height: 64px; margin-top: auto; padding: 0 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); font-size: 13px; }
.how-step p { margin-bottom: 22px; }
.hv-file { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; color: var(--green); background: var(--green-glow); }
.hv-file .ico { width: 17px; height: 17px; }
.hv-dl-body { flex: 1; min-width: 0; display: grid; gap: 7px; color: var(--text); font-weight: 500; }
.hv-dl-body i { display: block; height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.hv-dl-body b { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-dim), var(--green)); transform-origin: 0 50%; animation: dl-fill 4s var(--ease) infinite; }
.hv-ok { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; color: #04110C; background: var(--green); animation: dl-ok 4s var(--ease) infinite; }
.hv-ok .ico { width: 14px; height: 14px; stroke-width: 3; }
@keyframes dl-fill { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
@keyframes dl-ok { 0%, 55% { opacity: 0; transform: scale(.4); } 65%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.4); } }
.hv-add img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.hv-add > span:not(.hv-plus) { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.hv-add b { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-add small { color: var(--text-3); font-size: 12px; }
.hv-plus { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; color: var(--green); border: 1px solid rgba(20,211,154,.4); font-size: 18px; line-height: 1; animation: plus-tap 3.2s var(--ease) infinite; }
@keyframes plus-tap { 0%, 60%, 100% { transform: none; background: transparent; } 68% { transform: scale(.85); background: var(--green-glow); } 78% { transform: none; } }
.hv-tiles { justify-content: center; gap: 10px; }
.hv-tiles i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(165deg, #2E3848, #222A37); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); animation: hv-press 4s var(--ease) infinite; }
.hv-tiles i .ico { width: 18px; height: 18px; }
.hv-tiles i[data-c="green"] { color: #5EEAC0; } .hv-tiles i[data-c="violet"] { color: #C4B5FD; } .hv-tiles i[data-c="amber"] { color: #FCD34D; } .hv-tiles i[data-c="blue"] { color: #93C5FD; }
.hv-tiles i:nth-child(2) { animation-delay: 1s; } .hv-tiles i:nth-child(3) { animation-delay: 2s; } .hv-tiles i:nth-child(4) { animation-delay: 3s; }
@keyframes hv-press { 0%, 22%, 100% { transform: none; } 6% { transform: scale(.86); box-shadow: 0 0 0 2px var(--green), 0 0 20px var(--green-glow); } }

/* Casos de uso: cambio automático y color por caso */
.use-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green), #A78BFA); opacity: 0; }
.uses.auto .use-tab[aria-selected="true"] .use-progress { opacity: .8; animation: use-fill var(--use-ms, 6000ms) linear forwards; }
@keyframes use-fill { to { transform: scaleX(1); } }
.deck { position: relative; isolation: isolate; }
.deck::before { content: ""; position: absolute; inset: -18% -12%; z-index: -1; border-radius: 50%; filter: blur(50px); opacity: .6; transition: background .8s; background: radial-gradient(closest-side, rgba(20,211,154,.2), transparent); pointer-events: none; }
.deck[data-tone="office"]::before { background: radial-gradient(closest-side, rgba(139,92,246,.26), transparent); }
.deck[data-tone="create"]::before { background: radial-gradient(closest-side, rgba(251,191,36,.13), transparent); }
.deck-grid .tile { cursor: pointer; }

/* Seguridad: recorrido de una orden */
.trust-flow { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: start; gap: 0 12px; margin: 0 auto 16px; padding: 36px clamp(16px, 4vw, 48px) 30px; border-radius: 24px; border: 1px solid var(--border); background: radial-gradient(60% 120% at 50% 0%, rgba(139,92,246,.1), transparent 70%), var(--surface-1); }
.tf-node { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 110px; }
.tf-node b { margin-top: 8px; font-size: 15px; font-weight: 600; }
.tf-node small { color: var(--text-3); font-size: 12.5px; }
.tf-bubble { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface-3); border: 1px solid var(--border-light); }
.tf-hub .tf-bubble { width: 64px; height: 64px; border-radius: 50%; color: #C4B5FD; background: var(--violet-glow); border-color: rgba(139,92,246,.45); box-shadow: 0 0 40px rgba(139,92,246,.35); }
.tf-blocked { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: #FDA4AF; background: rgba(244,63,94,.08); border: 1px dashed rgba(244,63,94,.4); white-space: nowrap; }
.tf-blocked .ico { width: 13px; height: 13px; stroke-width: 2.5; }
.tf-link { position: relative; height: 2px; margin-top: 28px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(20,211,154,.45) 0 6px, transparent 6px 12px); }
.tf-link i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); animation: tf-travel 2.4s var(--ease-soft) infinite; }
.tf-link.late i { animation-delay: 1.2s; }
.tf-link span { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
@keyframes tf-travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes tf-travel-v { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
@media (max-width: 760px) {
  .trust-flow { grid-template-columns: 1fr; justify-items: center; gap: 0; padding: 28px 16px; }
  .tf-link { width: 2px; height: 46px; margin: 12px 0; background: repeating-linear-gradient(180deg, rgba(20,211,154,.45) 0 6px, transparent 6px 12px); }
  .tf-link i { left: 50%; margin: 0 0 0 -5px; top: 0; animation-name: tf-travel-v; }
  .tf-link span { top: 50%; left: 14px; transform: translateY(-50%); }
}

/* Precios: el número cambia con un pequeño salto */
.price b.bump, .price-note.bump { animation: word-in .45s var(--ease); }

/* Preguntas: dos columnas */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-side h2 { font-size: clamp(30px, 4vw, 44px); }
.faq-side > p { margin-top: 16px; color: var(--text-2); font-size: 16.5px; }
.faq-help { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-1); transition: border-color .25s, background .25s; }
.faq-help .card-icon { margin: 0; flex: none; }
.faq-help b { display: block; font-size: 15.5px; font-weight: 600; }
.faq-help small { display: block; color: var(--text-2); font-size: 13.5px; }
.faq-help > .ico { margin-left: auto; color: var(--text-3); transition: transform .25s var(--ease), color .25s; }
.faq-help:hover { border-color: var(--border-light); background: var(--surface-2); }
.faq-help:hover > .ico { transform: translateX(3px); color: var(--green); }
.faq summary:hover, .faq details[open] summary { color: #fff; }
.faq details[open] summary .ico { color: var(--green); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@media (max-width: 880px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Pie: marca grande */
.footer-mark { margin: 48px 0 -8px; text-align: center; font-size: min(14vw, 178px); font-weight: 800; white-space: nowrap; letter-spacing: -0.06em; line-height: .9; user-select: none; background: linear-gradient(180deg, rgba(229,231,235,.13), rgba(229,231,235,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-mark + .footer-bottom { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient > span, .marquee-track, .net-line, .tray-panel, .sync i.new, .eq i, .player-bar i, .live-badge::before, .live-tile.rec, .ls-val.rec i, .hv-dl-body b, .hv-ok, .hv-plus, .hv-tiles i, .tf-link i, .use-progress { animation: none !important; }
  .hv-ok { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .demo.firing .beam-pulse { animation: none; }
}
/* Mini panel: una ventana de fondo para que el escritorio no quede vacío */
.tray-mock::before { content: ""; position: absolute; left: 14px; top: 14px; width: 48%; height: calc(100% - 64px); border-radius: 10px; border: 1px solid var(--border-light); background: linear-gradient(var(--surface-3), var(--surface-3)) 0 0 / 100% 18px no-repeat, repeating-linear-gradient(180deg, transparent 0 12px, rgba(255,255,255,.05) 12px 18px) 12px 30px / calc(100% - 24px) calc(100% - 42px) no-repeat, var(--surface-1); opacity: .8; }
