/* Portada y acceso VIP — colores de starconexion.com */
:root { --bg:#0a0a0a; --surface:#151515; --line:#ffffff14; --text:#f5f5f5; --muted:#a3a3a3; --neon:#ccff00; --neon-hover:#d9ff40; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { background:var(--bg); color:var(--text); font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; line-height:1.6; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
em { font-style:normal; color:var(--neon); }
:focus-visible { outline:2px solid var(--neon); outline-offset:3px; }

/* Encabezado: cápsula flotante con el menú al centro */
.top { position:fixed; top:14px; inset-inline:0; margin-inline:auto; width:min(1200px, calc(100% - 24px)); z-index:20; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; padding:10px 10px 10px 22px; border-radius:999px; background:#0e0e0ea6; border:1px solid #ffffff17; backdrop-filter:blur(18px) saturate(150%); -webkit-backdrop-filter:blur(18px) saturate(150%); box-shadow:0 12px 40px #0006, inset 0 1px 0 #ffffff0f; }
.logo { justify-self:start; }
.logo img { display:block; width:156px; height:auto; transition:width .3s, filter .3s; }
.logo:hover img { filter:drop-shadow(0 0 10px #ccff0066); }
.links { position:relative; display:flex; gap:4px; padding:5px; border-radius:999px; background:#ffffff0a; border:1px solid #ffffff0d; font-size:14px; font-weight:500; color:#c4c4c4; }
.links a { position:relative; z-index:1; padding:8px 16px; border-radius:999px; white-space:nowrap; transition:color .25s; }
.links a:hover { color:var(--text); }
.slider { position:absolute; top:5px; bottom:5px; left:0; width:var(--sw, 0px); translate:var(--sx, 0px) 0; border-radius:999px; background:#ccff001f; box-shadow:inset 0 0 0 1px #ccff0055; opacity:var(--so, 0); transition:translate .35s cubic-bezier(.3,1.2,.4,1), width .35s, opacity .25s; pointer-events:none; }
.links a.current { color:var(--neon); }
.nav-end { justify-self:end; display:flex; align-items:center; gap:8px; }
.burger { display:none; width:42px; height:42px; border-radius:50%; border:1px solid #ffffff22; background:#ffffff0a; cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.burger span { display:block; width:18px; height:2px; border-radius:2px; background:var(--text); transition:transform .3s, opacity .2s; }
.top.open .burger span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.top.open .burger span:nth-child(2) { opacity:0; }
.top.open .burger span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
section[id] { scroll-margin-top:84px; }

.btn { display:inline-flex; align-items:center; gap:10px; padding:15px 26px; border-radius:999px; font-weight:600; font-size:16px; border:1px solid transparent; transition:transform .2s, box-shadow .2s, background .2s; cursor:pointer; }
.btn:hover { transform:translateY(-2px); }
.btn.solid { background:var(--neon); color:#0a0a0a; box-shadow:0 0 28px #ccff0040; }
.btn.solid:hover { background:var(--neon-hover); box-shadow:0 0 44px #ccff0070; }
.btn.ghost { border-color:#ffffff33; }
.btn.ghost:hover { border-color:var(--neon); }
.btn.vip { gap:8px; padding:11px 20px; font-size:14px; white-space:nowrap; overflow:hidden; position:relative; }
.btn.vip::after { content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%; background:linear-gradient(100deg, transparent, #ffffffb3, transparent); transform:skewX(-20deg); animation:shine 4.5s 3s infinite; pointer-events:none; }
@keyframes shine { 0% { left:-60%; } 22%, 100% { left:130%; } }

.hero { position:relative; min-height:100svh; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:40px; padding:120px max(20px, calc((100vw - 1200px) / 2)) 70px; isolation:isolate; overflow:hidden; }
.hero::after { content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(circle at 78% 30%, #ccff001f, transparent 55%), radial-gradient(circle at 0% 100%, #ccff0012, transparent 45%); }
#red { position:absolute; inset:0; width:100%; height:100%; z-index:-1; }
.chip { display:inline-flex; align-items:center; gap:9px; padding:6px 14px; border:1px solid #ccff0055; border-radius:999px; font-size:13px; color:var(--neon); background:#ccff000d; }
.chip i { width:8px; height:8px; border-radius:50%; background:var(--neon); box-shadow:0 0 10px var(--neon); animation:pulse 1.8s infinite; }
h1 { font-size:clamp(62px, 11vw, 136px); line-height:.92; letter-spacing:-.045em; font-weight:900; margin:22px 0; }
h1 em { text-shadow:0 0 50px #ccff0066; }
.hero-text p { max-width:500px; font-size:18px; color:#d4d4d4; }
.actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }

/* Escena 3D: el teléfono se inclina con el puntero */
.stage { position:relative; justify-self:center; transform-style:preserve-3d; transform:perspective(1200px) rotateX(var(--rx, 4deg)) rotateY(var(--ry, -16deg)); transition:transform .25s ease-out; }
.phone { width:min(300px, 76vw); min-height:560px; padding:54px 18px 22px; display:flex; flex-direction:column; gap:12px; border-radius:46px; background:linear-gradient(160deg,#1c1c1c,#0d0d0d); border:2px solid #2c2c2c; box-shadow:30px 40px 80px #000c, 0 0 70px #ccff0022, inset 0 0 0 5px #000; }
.notch { position:absolute; top:18px; left:50%; translate:-50%; width:90px; height:22px; border-radius:20px; background:#000; }
.bubble { padding:12px 15px; border-radius:18px; font-size:14px; line-height:1.45; opacity:0; animation:pop .6s forwards; }
.bubble.me { align-self:flex-end; max-width:85%; background:var(--neon); color:#0a0a0a; font-weight:500; border-bottom-right-radius:5px; animation-delay:.5s; }
.bubble.ia { align-self:flex-start; max-width:88%; background:#222; border-bottom-left-radius:5px; animation-delay:1.4s; }
.bubble.ia + .bubble.ia { animation-delay:2.5s; }
.typing { display:inline-flex; gap:5px; padding:4px 2px; }
.typing b { width:7px; height:7px; border-radius:50%; background:var(--neon); animation:dot 1.1s infinite; }
.typing b:nth-child(2) { animation-delay:.18s; } .typing b:nth-child(3) { animation-delay:.36s; }
.publish { margin-top:auto; text-align:center; padding:14px; border-radius:999px; background:var(--neon); color:#0a0a0a; font-weight:800; opacity:0; animation:pop .6s 3.4s forwards; }
.float { position:absolute; padding:12px 18px; border-radius:14px; background:#171717e6; border:1px solid #ccff0044; font-size:14px; font-weight:600; white-space:nowrap; box-shadow:0 18px 40px #000a; animation:bob 5s ease-in-out infinite; }
.f1 { top:12%; left:-76px; translate:0 0; transform:translateZ(80px); }
.f2 { top:48%; right:-70px; animation-delay:-1.6s; }
.f3 { bottom:11%; left:-56px; animation-delay:-3.2s; }

/* Líneas que conectan, como en la referencia */
.flow { position:relative; padding:90px max(20px, calc((100vw - 1200px) / 2)) 100px; text-align:center; }
.pipes { position:absolute; top:0; left:0; width:100%; height:520px; z-index:-1; fill:none; stroke-width:12; stroke-linecap:round; }
.pipes path { vector-effect:non-scaling-stroke; stroke-dasharray:240 26; animation:run 9s linear infinite; }
.pipes .p1 { stroke:var(--neon); }
.pipes .p2 { stroke:#f5f5f5; opacity:.55; animation-duration:12s; }
.pipes .p3 { stroke:#5c7300; animation-duration:15s; }

.laptop { width:min(640px, 100%); margin:0 auto 80px; }
.laptop .screen { display:grid; grid-template-columns:70px 1fr; aspect-ratio:16/10; padding:14px; gap:14px; background:#101010; border:11px solid #000; border-radius:18px 18px 0 0; box-shadow:0 0 0 2px #2c2c2c, 0 40px 90px #000c; }
.laptop aside { display:flex; flex-direction:column; gap:12px; padding:12px 10px; background:#181818; border-radius:10px; }
.laptop aside span { height:9px; border-radius:9px; background:#333; }
.laptop aside span:first-child { background:var(--neon); }
.code { display:flex; flex-direction:column; justify-content:center; gap:15px; padding:0 18px; }
.line { height:13px; border-radius:8px; background:#2b2b2b; }
.line.add { background:linear-gradient(90deg,var(--neon),#8db300); animation:grow 3.6s ease-in-out infinite; transform-origin:left; }
.line.del { background:#5a2323; }
.w35 { width:35%; } .w40 { width:40%; } .w55 { width:55%; } .w62 { width:62%; } .w70 { width:70%; } .w80 { width:80%; }
.laptop .base { height:16px; margin:0 -34px; background:linear-gradient(#4a4a4a,#1b1b1b); border-radius:0 0 40px 40px; }

h2 { font-size:clamp(30px, 4.6vw, 50px); line-height:1.12; letter-spacing:-.03em; font-weight:800; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:46px; text-align:left; }
.card { position:relative; padding:30px 26px; border-radius:22px; background:linear-gradient(165deg,#1b1b1b,#111); border:1px solid var(--line); overflow:hidden; }
.card::before { content:""; position:absolute; inset:0; background:radial-gradient(320px circle at var(--mx,50%) var(--my,0%), #ccff0022, transparent 60%); opacity:0; transition:opacity .3s; }
.card:hover { border-color:#ccff0066; }
.card:hover::before { opacity:1; }
.card b { display:block; font-size:46px; font-weight:900; color:transparent; -webkit-text-stroke:1.5px var(--neon); }
.card h3 { font-size:22px; margin:8px 0; }
.card p { color:var(--muted); font-size:15px; }

.split { overflow:hidden; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:60px; padding:100px max(20px, calc((100vw - 1100px) / 2)); background:var(--surface); border-block:1px solid var(--line); }
.split p { margin:20px 0; color:var(--muted); }
.split ul { list-style:none; display:grid; gap:13px; }
.split li { position:relative; padding-left:32px; }
.split li::before { content:"✓"; position:absolute; left:0; color:var(--neon); font-weight:800; }

.cube-wrap { height:380px; display:grid; place-items:center; perspective:1000px; }
.cube { --s:110px; grid-area:1/1; position:relative; width:calc(var(--s) * 2); height:calc(var(--s) * 2); transform-style:preserve-3d; animation:spin 18s linear infinite; }
.face { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; font-size:24px; font-weight:800; border:1.5px solid #ccff0088; border-radius:20px; background:linear-gradient(140deg,#ccff001f,#0a0a0ad9); box-shadow:inset 0 0 40px #ccff0022; backface-visibility:hidden; }
.face span { font-size:46px; color:var(--neon); }
.front { transform:translateZ(var(--s)); } .back { transform:rotateY(180deg) translateZ(var(--s)); }
.right { transform:rotateY(90deg) translateZ(var(--s)); } .left { transform:rotateY(-90deg) translateZ(var(--s)); }
.up { transform:rotateX(90deg) translateZ(var(--s)); } .down { transform:rotateX(-90deg) translateZ(var(--s)); }
.shadow { grid-area:1/1; align-self:end; width:230px; height:30px; border-radius:50%; background:radial-gradient(#ccff0044, transparent 70%); }

.cta { text-align:center; padding:120px 20px; background:radial-gradient(ellipse at 50% 120%, #ccff0033, transparent 62%); }
.cta p { margin:18px 0 34px; color:var(--muted); font-size:18px; }

footer { display:flex; flex-wrap:wrap; gap:18px; align-items:center; justify-content:space-between; padding:32px max(20px, calc((100vw - 1200px) / 2)); border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
footer img { width:140px; height:auto; }
footer a:hover { color:var(--neon); }

/* Aparecer al bajar: solo se oculta si el script está activo */
.js .reveal { opacity:0; translate:0 36px; transition:opacity .8s, translate .8s, transform .25s ease-out; }
.js .reveal.visible { opacity:1; translate:0 0; }
.card[data-tilt], .laptop[data-tilt] { transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform .25s ease-out; }

@keyframes pulse { 50% { opacity:.35; } }
@keyframes pop { from { opacity:0; transform:translateY(14px) scale(.94); } to { opacity:1; transform:none; } }
@keyframes dot { 30% { transform:translateY(-6px); } }
@keyframes bob { 50% { margin-top:-16px; } }
@keyframes run { to { stroke-dashoffset:-1064; } }
@keyframes grow { 0% { scale:0 1; } 35%, 100% { scale:1 1; } }
@keyframes spin { from { transform:rotateX(-18deg) rotateY(0); } to { transform:rotateX(-18deg) rotateY(360deg); } }

/* ───── Entrada ───── */
/* Intro: dura unos 3 segundos y se puede saltar con un clic */
.home { --t0:2.55s; }
html.skip .home { --t0:0s; }
html.skip .intro { display:none; }
.intro { position:fixed; inset:0; z-index:100; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; cursor:pointer; background:radial-gradient(circle at 50% 46%, #1d2600 0%, #0d1000 28%, #0a0a0a 62%); clip-path:circle(150% at 50% 50%); animation:iris .8s 2.35s cubic-bezier(.7,0,.2,1) forwards; }
.intro > * { animation:leave .5s 2.3s ease-in forwards; }
.intro-grid { position:absolute; left:-50%; right:-50%; bottom:0; height:48%; background-image:linear-gradient(#ccff0055 1px, transparent 1px), linear-gradient(90deg, #ccff0055 1px, transparent 1px); background-size:56px 56px; transform:perspective(420px) rotateX(62deg); transform-origin:50% 100%; -webkit-mask-image:linear-gradient(transparent, #000 75%); mask-image:linear-gradient(transparent, #000 75%); }
.intro > .intro-grid { animation:floor 1.1s linear infinite, leave .5s 2.3s ease-in forwards; }
.intro-core { position:relative; display:grid; place-items:center; width:min(520px, 94vw); height:300px; perspective:900px; }
.orbit { position:absolute; width:min(440px, 86vw); aspect-ratio:1; border-radius:50%; border:1px solid #ccff0040; }
.orbit b { position:absolute; top:-5px; left:50%; width:10px; height:10px; border-radius:50%; background:var(--neon); box-shadow:0 0 18px 4px #ccff0099; }
.o1 { animation:orbit1 2.6s linear both; }
.o2 { animation:orbit2 3.2s linear both; }
.o3 { width:min(330px, 66vw); border-style:dashed; border-color:#ffffff22; animation:orbit3 4s linear both; }
.o3 b { background:#fff; box-shadow:0 0 14px 3px #ffffff88; }
.sparks s { position:absolute; top:50%; left:50%; width:3px; height:26px; margin:-13px 0 0 -1.5px; border-radius:3px; background:linear-gradient(var(--neon), transparent); opacity:0; animation:spark .8s var(--w) cubic-bezier(.5,0,.8,.4) both; }
.intro-logo { position:relative; width:min(360px, 74vw); aspect-ratio:976 / 241; filter:drop-shadow(0 0 22px #ccff0040); }
.intro-logo img { position:absolute; inset:0; width:100%; height:100%; }
/* La estrella y el nombre salen del mismo archivo, recortado en dos */
.il-star { clip-path:inset(0 80.4% 0 0); transform-origin:10% 52%; animation:star-in 1s .35s cubic-bezier(.2,.9,.25,1.2) both; }
.il-name { clip-path:inset(0 0 0 19.6%); animation:name-in .75s .95s cubic-bezier(.7,0,.2,1) both; }
.il-shine { position:absolute; inset:0; background:linear-gradient(105deg, transparent 40%, #fff 50%, transparent 60%) no-repeat; background-size:260% 100%; -webkit-mask:url(/logo.png) center / 100% 100% no-repeat; mask:url(/logo.png) center / 100% 100% no-repeat; animation:gleam .8s 1.6s ease-in-out both; }
.intro-tag { display:flex; font-size:clamp(15px, 3.6vw, 20px); font-weight:800; line-height:1.2; letter-spacing:.42em; padding-left:.42em; }
.intro-tag span { display:inline-block; animation:letter .5s calc(1.15s + var(--i) * .055s) both; }
.intro-tag .gap { width:.7em; animation:none; }
.intro-tag .lime { color:var(--neon); text-shadow:0 0 18px #ccff0088; }
.intro-load { width:min(260px, 62vw); height:3px; margin-top:30px; border-radius:3px; background:#ffffff14; }
.intro-load i { display:block; height:100%; border-radius:3px; background:linear-gradient(90deg, #6f8c00, var(--neon)); box-shadow:0 0 16px var(--neon); transform-origin:left; animation:load 2s .2s cubic-bezier(.45,.05,.35,1) both; }
@property --pct { syntax:'<integer>'; initial-value:0; inherits:false; }
.intro-pct { margin-top:12px; font-size:12px; font-weight:600; letter-spacing:.2em; color:var(--muted); font-variant-numeric:tabular-nums; }
.intro-pct::after { counter-reset:pct var(--pct); content:counter(pct) "%"; animation:count 2s .2s cubic-bezier(.45,.05,.35,1) both; }

.home .top { animation:drop .7s var(--t0) backwards; }
.home .chip { animation:rise .7s calc(var(--t0) + .1s) backwards; }
.home h1 .w { display:inline-block; transform-origin:50% 100%; animation:word .95s cubic-bezier(.2,.8,.2,1) backwards; animation-delay:calc(var(--t0) + .2s); }
.home h1 .w:nth-of-type(2) { animation-delay:calc(var(--t0) + .35s); }
.home h1 .w:nth-of-type(3) { animation-delay:calc(var(--t0) + .5s); }
.home .hero-text p { animation:rise .8s calc(var(--t0) + .7s) backwards; }
.home .actions .btn { animation:rise .7s calc(var(--t0) + .85s) backwards; }
.home .actions .btn + .btn { animation-delay:calc(var(--t0) + 1s); }
.home #red { animation:globe 1.8s calc(var(--t0) - .15s) cubic-bezier(.2,.8,.2,1) backwards; }
.home .stage { animation:device 1.3s calc(var(--t0) + .25s) cubic-bezier(.2,.8,.2,1) backwards; }
.home .bubble.me { animation-delay:calc(var(--t0) + 1.45s); } .home .bubble.ia { animation-delay:calc(var(--t0) + 2.25s); }
.home .bubble.ia + .bubble.ia { animation-delay:calc(var(--t0) + 3.25s); } .home .publish { animation-delay:calc(var(--t0) + 4.05s); }
.home .float { animation:chip-in .6s calc(var(--t0) + var(--in, 1.55s)) backwards, bob 5s calc(var(--t0) + var(--in, 1.55s) + .6s) ease-in-out infinite; }
.home .f2 { --in:3.55s; } .home .f3 { --in:4.35s; }

/* ───── Scroll: el script entrega estos valores entre 0 y 1 ───── */
.progress { position:fixed; top:0; left:0; z-index:30; width:100%; height:3px; background:var(--neon); box-shadow:0 0 12px var(--neon); transform-origin:left; transform:scaleX(var(--page, 0)); }
.top { transition:top .3s, padding .3s, background .3s, border-color .3s, box-shadow .3s; }
.top.small-nav { top:8px; padding-block:6px; background:#0b0b0be8; border-color:#ccff0038; box-shadow:0 14px 40px #000b, 0 0 30px #ccff0014; }
.top.small-nav .logo img { width:138px; }

.fx .hero-text { translate:0 calc(var(--hero, 0) * -90px); opacity:calc(1 - var(--hero, 0) * .9); }
.fx .stage { translate:0 calc(var(--hero, 0) * 110px); scale:calc(1 - var(--hero, 0) * .12); }
.fx #red { transform:scale(calc(1 + var(--hero, 0) * .35)); opacity:calc(1 - var(--hero, 0) * .7); }


/* El portátil se abre y las líneas se dibujan al bajar */
.laptop .screen { transform-origin:50% 100%; }
.fx .laptop .screen { transform:perspective(1500px) rotateX(calc((1 - var(--lid, 1)) * -78deg)); }
.fx .laptop .code, .fx .laptop aside { opacity:var(--lid, 1); }
.fx .pipes { clip-path:inset(-20px calc((1 - var(--draw, 1)) * 100%) -20px 0); }

.cube-scroll { grid-area:1/1; transform-style:preserve-3d; transform:rotateY(calc(var(--turn, 0) * 300deg)); }

/* Aparecer con distintos movimientos */
.js .reveal { transition-delay:var(--d, 0s); }
.js .reveal.fx-zoom { scale:.82; transition:opacity .9s, scale .9s cubic-bezier(.2,.9,.25,1.2), translate .8s; }
.js .reveal.fx-zoom.visible { scale:1; }
.js .reveal.fx-left { translate:-80px 0; }
.js .reveal.fx-right { translate:80px 0; }
.js .reveal.fx-left.visible, .js .reveal.fx-right.visible { translate:0 0; }
.js .card.reveal.fx-flip { translate:0 70px; rotate:x 55deg; transition:opacity .8s var(--d), translate .9s var(--d) cubic-bezier(.2,.9,.25,1.2), rotate .9s var(--d) cubic-bezier(.2,.9,.25,1.2), transform .25s ease-out, border-color .3s; }
.js .card.reveal.fx-flip.visible { translate:0 0; rotate:x 0deg; }
.js .split li { opacity:0; translate:-26px 0; transition:opacity .6s, translate .6s; }
.js .split .visible li { opacity:1; translate:0 0; }
.js .split li:nth-child(1) { transition-delay:.35s; } .js .split li:nth-child(2) { transition-delay:.5s; }
.js .split li:nth-child(3) { transition-delay:.65s; } .js .split li:nth-child(4) { transition-delay:.8s; }

.up-btn { position:fixed; right:18px; bottom:18px; z-index:25; width:48px; height:48px; border-radius:50%; border:1px solid #ccff0066; background:#121212e6; color:var(--neon); font-size:22px; cursor:pointer; opacity:0; visibility:hidden; translate:0 20px; transition:opacity .3s, translate .3s, visibility .3s; }
.up-btn.show { opacity:1; visibility:visible; translate:0 0; }
.up-btn:hover { background:var(--neon); color:#0a0a0a; }

@keyframes iris { to { clip-path:circle(0% at 50% 50%); visibility:hidden; } }
@keyframes leave { to { opacity:0; scale:1.25; filter:blur(6px); } }
@keyframes floor { to { background-position:0 56px, 0 0; } }
@keyframes orbit1 { from { opacity:0; scale:.2; transform:rotateX(72deg) rotateZ(0); } 25% { opacity:1; scale:1; } to { transform:rotateX(72deg) rotateZ(430deg); } }
@keyframes orbit2 { from { opacity:0; scale:.2; transform:rotateX(68deg) rotateY(38deg) rotateZ(180deg); } 30% { opacity:1; scale:1; } to { transform:rotateX(68deg) rotateY(38deg) rotateZ(-200deg); } }
@keyframes orbit3 { from { opacity:0; scale:1.7; transform:rotateX(66deg) rotateY(-40deg) rotateZ(60deg); } 30% { opacity:1; scale:1; } to { transform:rotateX(66deg) rotateY(-40deg) rotateZ(420deg); } }
@keyframes spark { 0% { opacity:0; transform:rotate(var(--a)) translateY(calc(var(--r) * -1)) scaleY(2); } 40% { opacity:1; } 100% { opacity:0; transform:rotate(var(--a)) translateY(-14px) scaleY(.3); } }
@keyframes star-in { from { opacity:0; scale:3.2; rotate:-260deg; translate:40% 0; } 55% { opacity:1; translate:40% 0; } to { translate:0 0; } }
@keyframes name-in { from { clip-path:inset(0 80.4% 0 19.6%); translate:-34px 0; } to { clip-path:inset(0 0 0 19.6%); translate:0 0; } }
@keyframes gleam { from { background-position:160% 0; } to { background-position:-60% 0; } }
@keyframes letter { from { opacity:0; translate:0 18px; filter:blur(6px); } }
@keyframes load { from { scale:0 1; } }
@keyframes count { from { --pct:0; } to { --pct:100; } }
@keyframes drop { from { opacity:0; translate:0 -100%; } }
@keyframes rise { from { opacity:0; translate:0 34px; } }
@keyframes word { from { opacity:0; translate:0 70px; transform:perspective(700px) rotateX(-80deg); filter:blur(8px); } }
@keyframes globe { from { opacity:0; scale:.4; } }
@keyframes device { from { opacity:0; translate:160px 80px; scale:.75; rotate:y 70deg; } }
@keyframes chip-in { from { opacity:0; scale:.4; } }

@media (max-width:900px) {
  .top { grid-template-columns:1fr auto; padding:8px 8px 8px 16px; gap:10px; }
  .logo img, .top.small-nav .logo img { width:132px; }
  .burger { display:flex; }
  .links { position:absolute; top:calc(100% + 10px); left:0; right:0; flex-direction:column; gap:2px; padding:10px; border-radius:22px; background:#101010; border-color:#ccff0033; box-shadow:0 24px 60px #000d; font-size:16px; opacity:0; visibility:hidden; translate:0 -12px; transition:opacity .25s, translate .25s, visibility .25s; }
  .top.open .links { opacity:1; visibility:visible; translate:0 0; }
  .links a { padding:13px 16px; }
  .links a.current { background:#ccff001f; }
  .slider { display:none; }
  .hero { grid-template-columns:1fr; text-align:center; padding-top:116px; }
  .hero-text p { margin-inline:auto; }
  .actions { justify-content:center; }
  .phone { min-height:500px; }
  .f1 { top:-20px; left:-18px; } .f2 { right:-24px; } .f3 { left:-18px; }
  .steps, .split { grid-template-columns:1fr; }
  .cube { --s:90px; }
  .pipes { height:330px; }
  .flow { overflow:hidden; }
}
@media (max-width:370px) {
  .logo img, .top.small-nav .logo img { width:112px; }
  .btn.vip svg { display:none; }
  .btn.vip { padding-inline:14px; }
}
@media (prefers-reduced-motion:reduce) {
  .intro, .progress { display:none; }
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.001s !important; animation-delay:0s !important; animation-iteration-count:1 !important; transition:none !important; }
  .cube { transform:rotateX(-18deg) rotateY(32deg); }
}
