/* Capix Island — web de producto. Oscuro, tipografía grande y animaciones al hacer scroll. */
:root {
  --bg: #000; --bg-2: #0b0b0e; --bg-3: #141418;
  --text: #f5f5f7; --text-2: #a1a1a6; --text-3: #6e6e73;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7cc4ff; --ai: #a78bfa; --ok: #34d399; --warn: #fbbf24; --bad: #f87171; --music: #ff6b8a;
  --font: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.grow { flex: 1; }

/* ── navegación ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 52px; padding: 0 max(16px, calc((100vw - 1080px) / 2)); background: rgba(0, 0, 0, 0.6); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.links { display: flex; gap: 22px; flex: 1; justify-content: center; font-size: 13px; color: var(--text-2); }
.links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border-radius: 22px; background: var(--text); color: #000; font-weight: 600; font-size: 16px; transition: transform 0.2s var(--ease), background 0.2s; }
.btn:hover { background: #fff; transform: scale(1.03); }
.btn.small { height: 30px; padding: 0 14px; font-size: 13px; }
.btn.big { height: 54px; padding: 0 34px; font-size: 18px; border-radius: 27px; }
.link-arrow { color: var(--accent); font-size: 17px; }
.link-arrow::after { content: " ›"; }
.link-arrow:hover { text-decoration: underline; }

/* ── revelado al hacer scroll ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── hero ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 56px; padding: 120px 16px 60px; text-align: center; background: radial-gradient(80% 60% at 50% 0%, rgba(124, 196, 255, 0.12), transparent 70%); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; letter-spacing: 0.01em; }
.c-music { color: var(--music); } .c-ai { color: var(--ai); } .c-ok { color: var(--ok); }
h1 { font-size: clamp(56px, 11vw, 120px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; background: linear-gradient(180deg, #fff 30%, #9a9aa3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(26px, 4vw, 40px); font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; }
.sub { max-width: 640px; margin: 18px auto 0; font-size: clamp(17px, 2vw, 21px); color: var(--text-2); line-height: 1.45; }
.ctas { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }

/* ── escritorio de demostración ── */
.desk { position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line); }
.wallpaper { position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 30%, #3b5bdb 0%, transparent 60%), radial-gradient(60% 80% at 80% 70%, #9c36b5 0%, transparent 60%), radial-gradient(50% 50% at 60% 20%, #0ca678 0%, transparent 60%), #0b1020; filter: saturate(1.1); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.08) rotate(1deg); } }
.taskbar { position: absolute; left: 50%; bottom: 2.2%; transform: translateX(-50%); display: flex; gap: 8px; padding: 7px 12px; border-radius: 12px; background: rgba(20, 20, 26, 0.75); backdrop-filter: blur(12px); }
.taskbar span { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.18); }
.taskbar span.active { background: linear-gradient(135deg, var(--accent), var(--ai)); }
.state-label { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); font-size: 13px; color: rgba(255, 255, 255, 0.75); background: rgba(0, 0, 0, 0.35); padding: 5px 12px; border-radius: 10px; backdrop-filter: blur(8px); transition: opacity 0.3s; }

/* ── la isla ── */
.island { position: absolute; left: 50%; top: 3%; transform: translateX(-50%); background: #000; color: #fff; border-radius: 22px; width: 190px; height: 38px; overflow: hidden; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06); transition: width 0.7s var(--ease), height 0.7s var(--ease), border-radius 0.7s var(--ease); z-index: 3; }
.island > div { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: scale(0.92); filter: blur(6px); transition: opacity 0.35s, transform 0.5s var(--ease), filter 0.4s; pointer-events: none; }
.island[data-state="idle"] { width: 190px; height: 38px; }
.island[data-state="music"] { width: 330px; height: 46px; border-radius: 24px; }
.island[data-state="notif"] { width: 360px; height: 66px; border-radius: 28px; }
.island[data-state="gamer"] { width: 290px; height: 38px; }
.island[data-state="ai"] { width: 240px; height: 42px; }
.island[data-state="idle"] .is-idle, .island[data-state="music"] .is-music, .island[data-state="notif"] .is-notif, .island[data-state="gamer"] .is-gamer, .island[data-state="ai"] .is-ai,
.island[data-state="hover"] .is-hover, .island[data-state="drop"] .is-drop, .island[data-state="panel"] .is-panel { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: 0.12s; }
.is-idle { justify-content: space-between; padding: 0 14px; font-size: 14px; font-weight: 600; }
.avatar-dot { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d8ccff, var(--ai) 60%, #4c2d9b); box-shadow: 0 0 10px rgba(167, 139, 250, 0.6); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); } }
.bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.bars i { width: 3px; height: 40%; border-radius: 2px; background: var(--text-3); }
.is-music { gap: 10px; padding: 0 12px 0 6px; }
.cover { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.cover-a { background: conic-gradient(from 200deg, #ff3d6e, #ff9f43, #ff3d6e); }
.m-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 13px; line-height: 1.2; }
.m-meta span { color: var(--text-2); font-size: 12px; }
.eq { display: flex; gap: 2px; align-items: center; height: 16px; }
.eq i { width: 3px; border-radius: 2px; background: var(--music); height: 30%; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.15s; } .eq i:nth-child(3) { animation-delay: 0.3s; } .eq i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 50% { height: 100%; } }
.is-notif { gap: 12px; padding: 0 16px 0 12px; font-size: 14px; }
.is-notif div { display: flex; flex-direction: column; }
.is-notif span:not(.n-ico) { color: var(--text-2); font-size: 12.5px; }
.n-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(52, 211, 153, 0.18); color: var(--ok); font-weight: 700; flex: none; }
.is-gamer { justify-content: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 3px; border-radius: 11px; background: rgba(255, 255, 255, 0.07); font-size: 11.5px; font-weight: 650; }
.pill i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9px; }
.pill.g i { color: #34d399; background: rgba(52, 211, 153, 0.2); } .pill.b i { color: #60a5fa; background: rgba(96, 165, 250, 0.2); }
.pill.p i { color: #a78bfa; background: rgba(167, 139, 250, 0.2); } .pill.g2 i { color: #4ade80; background: rgba(74, 222, 128, 0.2); }
.is-ai { gap: 10px; padding: 0 14px 0 8px; font-size: 13px; color: var(--text-2); }
.avatar-face { position: relative; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d8ccff, var(--ai) 60%, #4c2d9b); display: flex; align-items: center; justify-content: center; gap: 5px; }
.avatar-face i { width: 3px; height: 6px; border-radius: 2px; background: #1b1035; animation: blink 3.4s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
.typing span { animation: dots 1.2s infinite; } .typing span:nth-child(2) { animation-delay: 0.2s; } .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dots { 50% { opacity: 0.2; } }

/* ── historia fijada ── */
.story { position: relative; height: 420vh; }
.story-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: 0 max(16px, calc((100vw - 1080px) / 2)); }
.story-stage { position: relative; height: 70vh; border-radius: 28px; background: radial-gradient(70% 70% at 50% 30%, #1d2340, #07070a); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.island.big { top: 8%; transform: translateX(-50%) scale(1.25); transform-origin: top center; }
.island.big[data-state="hover"] { width: 360px; height: 92px; border-radius: 26px; }
.island.big[data-state="drop"] { width: 400px; height: 120px; border-radius: 32px; }
.island.big[data-state="panel"] { width: 330px; height: 200px; border-radius: 30px; }
.is-hover { flex-direction: column; justify-content: flex-start; }
.hover-top { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 40px; padding: 0 14px; font-weight: 600; font-size: 14px; }
.hover-icons { display: flex; gap: 6px; justify-content: center; padding-top: 4px; }
.hover-icons span { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); transition: background 0.2s; }
.island[data-state="hover"] .hover-icons span { animation: pop 0.5s var(--ease) both; }
.hover-icons span:nth-child(2) { animation-delay: 0.05s !important; } .hover-icons span:nth-child(3) { animation-delay: 0.1s !important; } .hover-icons span:nth-child(4) { animation-delay: 0.15s !important; }
.hover-icons span:nth-child(5) { animation-delay: 0.2s !important; } .hover-icons span:nth-child(6) { animation-delay: 0.25s !important; } .hover-icons span:nth-child(7) { animation-delay: 0.3s !important; } .hover-icons span:nth-child(8) { animation-delay: 0.35s !important; }
.hover-icons .more { width: 16px; color: var(--text-3); font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(0.6); } }
.hover-icons svg { width: 18px; height: 18px; }
.is-drop { gap: 8px; padding: 10px; }
.drop-half { flex: 1; height: 100%; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; border: 1.5px dashed rgba(255, 255, 255, 0.25); }
.drop-half.left { background: rgba(124, 196, 255, 0.1); color: var(--accent); }
.drop-half.right { background: rgba(167, 139, 250, 0.12); color: var(--ai); border-color: rgba(167, 139, 250, 0.6); animation: glow 1.4s ease-in-out infinite; }
.drop-half b { color: #fff; font-weight: 600; }
@keyframes glow { 50% { box-shadow: 0 0 24px rgba(167, 139, 250, 0.45); } }
.is-panel { padding: 14px; align-items: stretch; }
.panel-mini { width: 100%; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.pm-head { display: flex; align-items: center; gap: 8px; font-size: 14px; padding-bottom: 4px; }
.pm-head svg { width: 16px; height: 16px; color: var(--accent); }
.pm-x { color: var(--text-3); }
.pm-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.pm-row i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--text-3); }
.pm-row.done { color: var(--text-3); text-decoration: line-through; }
.pm-row.done i { background: var(--ok); border-color: var(--ok); }
.file-ghost { position: absolute; left: 50%; top: 70%; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); font-size: 14px; opacity: 0; transform: translate(-50%, 0); transition: opacity 0.4s, transform 1.2s var(--ease); z-index: 4; }
.file-ghost.show { opacity: 1; transform: translate(-10%, -260%) rotate(-4deg); }
.file-ghost svg { width: 18px; height: 18px; color: var(--bad); }
.story-steps { display: flex; flex-direction: column; gap: 0; }
.step { padding: 22px 0; opacity: 0.25; transition: opacity 0.5s; }
.step.on { opacity: 1; }
.step h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { font-size: 17px; line-height: 1.5; color: var(--text-2); }

/* ── secciones de función ── */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; padding: 140px max(16px, calc((100vw - 1080px) / 2)); }
.feature.alt { background: var(--bg-2); }
.feature.dark { grid-template-columns: 1fr; background: radial-gradient(60% 50% at 50% 0%, rgba(167, 139, 250, 0.12), transparent), var(--bg); }
h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 20px; }
.feature-copy p:not(.eyebrow) { font-size: 19px; line-height: 1.5; color: var(--text-2); }
.feature-copy.center { text-align: center; max-width: 760px; margin: 0 auto; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text-2); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--ai)); }
.caption { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 12px; }

/* reproductor */
.player-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.np { position: relative; display: flex; gap: 16px; width: min(540px, 100%); height: 200px; padding: 18px 18px 14px 20px; border-radius: 34px; background: #000; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
.np-bg { position: absolute; inset: 0; transition: background 1.2s ease; }
.np-left { position: relative; width: 52%; display: flex; flex-direction: column; justify-content: space-between; }
.np-head { display: flex; align-items: center; gap: 12px; }
.np-head div:last-child { display: flex; flex-direction: column; min-width: 0; }
.np-head b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-head span { font-size: 13px; color: rgba(255, 255, 255, 0.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-cover { width: 60px; height: 60px; border-radius: 13px; flex: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); transition: background 1s; }
.np-time { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.85); }
.np-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); position: relative; }
.np-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: #fff; box-shadow: 0 0 10px var(--np, #fff); }
.np-ctrl { display: flex; gap: 22px; align-items: center; color: #fff; }
.np-ctrl svg { width: 20px; height: 20px; fill: currentColor; }
.np-ctrl span:first-child svg { fill: none; width: 18px; }
.np-ctrl .big svg { width: 26px; height: 26px; }
.np-right { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.np-lyrics { position: absolute; left: 0; right: 0; top: 0; transition: transform 0.6s var(--ease); }
.np-lyrics p { padding: 4px 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.3); transition: color 0.4s, font-size 0.4s; }
.np-lyrics p.near { color: rgba(255, 255, 255, 0.5); }
.np-lyrics p.on { color: #fff; font-size: 15.5px; font-weight: 750; text-shadow: 0 0 18px var(--np, #fff); }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer; transition: transform 0.2s; box-shadow: 0 0 0 2px transparent; }
.swatches button.on { box-shadow: 0 0 0 2px #fff; transform: scale(1.08); }

/* chat */
.chat-demo { display: grid; grid-template-columns: 130px 1fr; grid-template-rows: 1fr auto; gap: 10px 16px; height: 440px; padding: 20px; border-radius: 34px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
.cd-stage { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.cd-avatar { width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e3d9ff, var(--ai) 55%, #3c2380); box-shadow: 0 0 40px rgba(167, 139, 250, 0.45); display: flex; align-items: center; justify-content: center; gap: 16px; animation: breathe 3.5s ease-in-out infinite; }
.cd-avatar i { width: 7px; height: 14px; border-radius: 4px; background: #1b1035; animation: blink 3s infinite; }
.cd-status { font-size: 12px; color: var(--text-3); }
.cd-thread { display: flex; flex-direction: column; gap: 12px; overflow: hidden; justify-content: flex-end; font-size: 14px; line-height: 1.5; }
.cd-me { align-self: flex-end; max-width: 80%; padding: 8px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); animation: rise 0.5s var(--ease); }
.cd-say { color: var(--text); animation: rise 0.5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.cd-chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 12px 12px 8px; margin-top: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.cd-chart div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--text-3); height: 100%; justify-content: flex-end; }
.cd-chart b { width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(124, 196, 255, 0.35)); height: 0; transition: height 0.9s var(--ease); }
.cd-btns { display: flex; gap: 6px; margin-top: 8px; }
.cd-btns span { padding: 5px 11px; border-radius: 9px; font-size: 12px; background: rgba(255, 255, 255, 0.1); }
.cd-btns span:first-child { background: #fff; color: #000; font-weight: 600; }
.cd-composer { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 16px; border-radius: 23px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); font-size: 14px; color: var(--text-3); }
.cd-composer span:first-child { flex: 1; }
.cd-composer.typing span:first-child { color: var(--text); }
.cd-send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 700; }

/* memoria */
.brain { position: relative; width: 100%; max-width: 1080px; height: 560px; margin: 50px auto 0; border-radius: 34px; overflow: hidden; background: radial-gradient(100% 80% at 50% 40%, rgba(40, 32, 70, 0.7), #050508); box-shadow: inset 0 0 0 1px var(--line); }
.brain canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.brain-legend { position: absolute; left: 18px; bottom: 14px; display: flex; gap: 16px; font-size: 12px; color: var(--text-2); pointer-events: none; }
.brain-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.l-ai { background: var(--ai); box-shadow: 0 0 8px var(--ai); } .l-ac { background: var(--accent); box-shadow: 0 0 8px var(--accent); } .l-ok { background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* gamer */
.game { position: relative; height: 380px; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
.game-scene { position: absolute; inset: 0; background: linear-gradient(180deg, #1a0b2e 0%, #6b1d5c 45%, #ff7a59 70%, #2a1240 71%); }
.sun { position: absolute; left: 50%; top: 30%; width: 160px; height: 160px; margin-left: -80px; border-radius: 50%; background: repeating-linear-gradient(180deg, #ffd166 0 12px, transparent 12px 16px), #ffd166; mask-image: linear-gradient(#000 55%, transparent 100%); -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); filter: drop-shadow(0 0 30px #ff7a59); }
.hills { position: absolute; left: -10%; right: -10%; bottom: 28%; height: 60px; background: #2a1240; clip-path: polygon(0 100%, 8% 40%, 18% 80%, 30% 20%, 44% 70%, 58% 10%, 70% 60%, 84% 30%, 100% 80%, 100% 100%); }
.hills.h2 { bottom: 26%; height: 40px; background: #12071f; animation: slide 9s linear infinite; }
@keyframes slide { to { transform: translateX(-8%); } }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 29%; background: repeating-linear-gradient(90deg, rgba(255, 122, 89, 0.4) 0 2px, transparent 2px 60px), linear-gradient(#12071f, #000); transform: perspective(200px) rotateX(40deg); transform-origin: top; animation: road 1.5s linear infinite; }
@keyframes road { to { background-position: 60px 0, 0 0; } }
.gamer-island { top: 16px; width: auto; height: 38px; padding: 0 8px; }
.gbar { position: relative !important; display: flex; align-items: center; gap: 6px; height: 100%; opacity: 1 !important; transform: none !important; filter: none !important; }
.gp { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden; }
.gp .gi { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 20%, transparent); box-shadow: 0 0 8px color-mix(in srgb, var(--c) 40%, transparent); }
.gp .gi svg { width: 11px; height: 11px; }
.gp b { font-size: 12px; font-variant-numeric: tabular-nums; min-width: 24px; }
.gp .gm { position: absolute; left: 8px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--c); transition: width 0.8s ease; }

/* transfer */
.transfer { display: flex; align-items: center; justify-content: center; gap: 28px; }
.pc { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px; border-radius: 24px; background: #000; box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--text-2); }
.qr { display: grid; grid-template-columns: repeat(21, 6px); gap: 0; padding: 10px; background: #fff; border-radius: 12px; }
.qr i { width: 6px; height: 6px; }
.qr i.on { background: #000; }
.beam { display: flex; gap: 8px; }
.beam i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: beam 1.4s infinite; opacity: 0.2; }
.beam i:nth-child(2) { animation-delay: 0.2s; } .beam i:nth-child(3) { animation-delay: 0.4s; }
@keyframes beam { 30% { opacity: 1; transform: scale(1.3); } }
.phone { position: relative; width: 150px; height: 290px; border-radius: 34px; background: #0d0d10; box-shadow: 0 0 0 6px #1f1f24, 0 30px 60px rgba(0, 0, 0, 0.6); padding: 50px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.notch { position: absolute; top: 10px; left: 50%; width: 60px; height: 20px; margin-left: -30px; border-radius: 12px; background: #000; }
.ph-file { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); font-size: 12px; animation: rise 0.8s var(--ease) both 0.4s; }
.ph-file.d2 { animation-delay: 1s; }
.ph-file svg { width: 16px; height: 16px; color: var(--accent); }

/* rejilla de módulos */
.grid-sec { padding: 140px max(16px, calc((100vw - 1080px) / 2)); }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 50px; }
.mod { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.3s var(--ease), background 0.3s; }
.mod:hover { transform: translateY(-4px); background: #1b1b21; }
.mod svg { width: 22px; height: 22px; color: var(--accent); }
.mod b { font-size: 15px; }
.mod span { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }

/* números */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 60px max(16px, calc((100vw - 1080px) / 2)) 140px; text-align: center; }
.num b { display: block; font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--accent), var(--ai)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num span { font-size: 15px; color: var(--text-2); }

/* tarjetas */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1080px; margin: 50px auto 0; }
.card { padding: 26px; border-radius: 24px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.card svg { width: 26px; height: 26px; color: var(--ai); margin-bottom: 14px; }
.card h4 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }

/* código */
.code { margin: 0; padding: 26px; border-radius: 24px; background: #0b0b0e; box-shadow: inset 0 0 0 1px var(--line); font: 14px/1.7 var(--mono); color: #d4d4d8; overflow-x: auto; }
.code .k { color: #c4b5fd; } .code .a { color: #e8b4b8; } .code .s { color: #a7d3b5; } .code .c { color: #6b6b75; font-style: italic; }

/* descarga */
.download { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 160px 16px; text-align: center; background: radial-gradient(60% 60% at 50% 100%, rgba(124, 196, 255, 0.14), transparent 70%); }
.download p { font-size: 19px; color: var(--text-2); }
.download .fine { font-size: 13px; color: var(--text-3); }
.download img { border-radius: 20px; box-shadow: 0 20px 60px rgba(124, 196, 255, 0.25); }

.foot { display: flex; gap: 24px; padding: 24px max(16px, calc((100vw - 1080px) / 2)); border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.foot a:hover { color: var(--text); }

/* ── móvil ── */
@media (max-width: 860px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  .feature, .story-sticky { grid-template-columns: 1fr; }
  .feature { padding: 90px 16px; gap: 36px; }
  .story { height: auto; }
  .story-sticky { position: relative; height: auto; padding: 60px 16px; }
  .story-stage { height: 320px; }
  .step { opacity: 1; }
  .cards, .numbers { grid-template-columns: 1fr 1fr; }
  .chat-demo { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; height: 480px; }
  .cd-stage { grid-row: auto; flex-direction: row; }
  .cd-avatar { width: 44px; height: 44px; gap: 8px; }
  .transfer { flex-direction: column; }
  .beam { transform: rotate(90deg); }
  .np { height: 210px; }
  .brain { height: 420px; }
  .island.big { transform: translateX(-50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
