/* ============ ASCENSION Landing — Sistema visual ============ */
:root {
  --bg: #030712;
  --bg-2: #0a1120;
  --cyan: #00e5ff;
  --blue: #3b82f6;
  --text: #e5edf7;
  --text-dim: #8b9bb4;
  --line: rgba(0, 229, 255, 0.14);
  --panel: rgba(10, 20, 38, 0.72);
  --str: #ef4444;
  --vit: #22c55e;
  --agi: #eab308;
  --int: #3b82f6;
  --for: #a855f7;
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ── fondo evolutivo (Sol #3): la energía del Sistema crece según asciendes por la página ── */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 640px at 50% 108%, rgba(0, 229, 255, .26), transparent 62%),
    radial-gradient(1100px 700px at 85% -8%, rgba(59, 111, 224, .18), transparent 60%);
  opacity: var(--asc, 0);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: rgba(0, 229, 255, .25); }

/* foco de teclado visible (Sistema) */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.badge:focus-visible, .sys-window:focus-visible, .nav-cta:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ---------- fondo global ---------- */
.bg-stage {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(0, 90, 160, .22), transparent 60%),
    radial-gradient(900px 700px at 12% 110%, rgba(40, 20, 120, .18), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: absolute; inset: -60% -20%;
  background-image:
    linear-gradient(rgba(0, 229, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(900px) rotateX(28deg);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  will-change: transform;
}
.orb-1 { width: 420px; height: 420px; background: rgba(0, 140, 255, .16); top: -120px; right: -80px; }
.orb-2 { width: 380px; height: 380px; background: rgba(0, 229, 255, .10); bottom: 4%; left: -140px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: linear-gradient(rgba(3, 7, 18, .88), rgba(3, 7, 18, 0));
  transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(3, 7, 18, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 229, 255, .08);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 34px; height: 34px; }
.nav-brand span {
  font-weight: 800; letter-spacing: .32em; font-size: 14px; color: #fff;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  color: var(--text-dim); font-family: var(--mono); font-size: 12px;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; letter-spacing: .1em;
  transition: color .2s, border-color .2s;
}
.lang-toggle:hover { color: var(--cyan); border-color: rgba(0, 229, 255, .4); }
.nav-cta {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 9px 18px; border-radius: 999px; color: #02131a;
  background: linear-gradient(135deg, #22d3ee, #00e5ff);
  box-shadow: 0 0 18px rgba(0, 229, 255, .35);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 26px rgba(0, 229, 255, .5); }
@media (max-width: 640px) { .nav-cta { display: none; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(12px, 4vw, 60px);
  max-width: 1200px; margin: 0 auto;
  padding: 110px clamp(20px, 5vw, 48px) 60px;
}
.hero-copy { position: relative; z-index: 2; }
.sys-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em;
  color: var(--cyan); border: 1px solid rgba(0, 229, 255, .3);
  background: rgba(0, 229, 255, .06);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  text-transform: uppercase;
}
.sys-chip .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.04; font-weight: 900; letter-spacing: -.015em;
  text-transform: uppercase; color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(92deg, #38bdf8 0%, #00e5ff 55%, #7dd3fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, .35));
}
.hero-sub {
  margin: 22px 0 24px; max-width: 500px;
  color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px);
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.store-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; row-gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 11px;
  border-radius: 14px; padding: 10px 16px 10px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; cursor: pointer;
}
.badge:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, .45);
  box-shadow: 0 8px 30px rgba(0, 229, 255, .18);
}
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .b-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge .b-top { font-size: 10.5px; letter-spacing: .08em; color: var(--text-dim); text-transform: uppercase; }
.badge .b-bot { font-size: 16.5px; font-weight: 700; color: #fff; }
.badge.soon { opacity: .85; }
.badge.soon .b-bot { color: #cbd5e1; }
.soon-tag {
  position: absolute; top: -9px; right: -8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  color: #02131a; background: linear-gradient(135deg, #fbbf24, #f59e0b);
  padding: 3px 8px; border-radius: 999px; font-weight: 700;
}
.hero-note {
  margin-top: 44px; font-family: var(--mono); font-size: 11.5px;
  color: var(--text-dim); letter-spacing: .05em;
}
.hero-note b { color: var(--cyan); font-weight: 600; }

/* hero phone */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
  perspective: 1200px; min-height: 480px;
}
.hero-glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, .17), transparent 65%);
  filter: blur(30px);
}

/* ---------- phone (CSS 3D) ---------- */
.phone {
  --pw: 300px;
  width: var(--pw); aspect-ratio: 300 / 640;
  position: relative; border-radius: calc(var(--pw) * .155);
  background: linear-gradient(145deg, #2a3648, #0c1220 60%);
  padding: calc(var(--pw) * .026);
  box-shadow:
    inset 0 0 0 2px rgba(148, 180, 216, .28),
    inset 0 0 0 5px #05080f,
    0 40px 90px rgba(0, 0, 0, .65),
    0 0 60px rgba(0, 229, 255, .12);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone::before { /* botones laterales */
  content: ""; position: absolute; right: -3px; top: 20%;
  width: 3px; height: 14%; border-radius: 2px;
  background: linear-gradient(#3b4a61, #141c2b);
  box-shadow: 0 calc(var(--pw) * .3) 0 #26334a;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--pw) * .13);
  background: #030712;
}
.phone-screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
}
.phone-screen .shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 45%, transparent 60%);
}
/* (sin isla falsa: las capturas ya traen la barra de estado real de la app) */

/* ---------- ventana del Sistema (firma del hero desktop) ---------- */
.sys-window {
  position: absolute; top: 6%; right: -2%; z-index: 3;
  width: 236px; cursor: pointer;
  background: linear-gradient(160deg, rgba(8, 24, 46, .92), rgba(4, 12, 28, .96));
  border: 1px solid rgba(0, 229, 255, .55);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .12), 0 18px 50px rgba(0, 0, 0, .55), 0 0 38px rgba(0, 229, 255, .22);
  transform: rotate(-2deg);
  transition: transform .25s, box-shadow .25s;
}
.sys-window:hover { transform: rotate(-2deg) translateY(-3px); box-shadow: 0 0 0 1px rgba(0, 229, 255, .25), 0 22px 60px rgba(0, 0, 0, .6), 0 0 55px rgba(0, 229, 255, .35); }
.sw-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .22em;
  color: var(--cyan); background: rgba(0, 229, 255, .08);
  border-bottom: 1px solid rgba(0, 229, 255, .3);
}
.sw-alert {
  display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--cyan); color: var(--cyan); font-size: 10px; font-weight: 700;
  animation: pulse 1.6s infinite;
}
.sw-body { padding: 12px 14px 13px; }
.sw-t { font-size: 12.5px; font-weight: 700; color: #dff6ff; }
.sw-m { font-family: var(--mono); font-size: 12px; color: var(--cyan); margin-top: 5px; letter-spacing: .02em; }
.sw-div { height: 1px; margin: 10px 0 8px; background: linear-gradient(90deg, rgba(0, 229, 255, .45), transparent); }
.sw-r { display: flex; flex-direction: column; gap: 1px; }
.sw-r span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: var(--text-dim); }
.sw-r b { font-size: 13px; font-style: italic; color: #7ef7c1; }
@media (max-width: 900px) { .sys-window { display: none; } }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase;
}
.scroll-hint .wheel {
  width: 22px; height: 36px; border: 1.5px solid rgba(139, 155, 180, .5);
  border-radius: 999px; position: relative;
}
.scroll-hint .wheel::after {
  content: ""; position: absolute; top: 7px; left: 50%; margin-left: -1.5px;
  width: 3px; height: 8px; border-radius: 2px; background: var(--cyan);
  animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- system log strip ---------- */
.syslog {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 26, .6);
  padding: 18px 0; overflow: hidden; white-space: nowrap;
}
.syslog-track { display: inline-flex; will-change: transform; animation: marquee 30s linear infinite; }
.syslog-half { display: inline-flex; gap: 56px; padding-right: 56px; }
.syslog span {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em;
  color: var(--text-dim); text-transform: uppercase;
}
.syslog span b { color: var(--cyan); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- features (pinned en desktop) ---------- */
.features { position: relative; }
.f-stage {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(16px, 4vw, 70px);
  min-height: 100vh;
}
.f-copy { position: relative; min-height: 340px; }
.f-panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; }
.f-panel.active { opacity: 1; visibility: visible; }

.f-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.f-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.f-panel h2 {
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1.08;
  text-transform: uppercase; letter-spacing: -.01em; color: #fff; margin-bottom: 16px;
}
.f-panel p { color: var(--text-dim); font-size: 16px; max-width: 460px; margin-bottom: 20px; }
.f-panel p strong { color: var(--text); }

.f-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-list li {
  position: relative; padding-left: 20px; font-size: 14.5px; color: var(--text-dim);
}
.f-list li::before { content: "▸"; position: absolute; left: 0; top: 1px; color: var(--cyan); font-size: 13px; }
.f-list li b { color: var(--text); font-weight: 600; }

.stat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.stat-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; border: 1px solid;
}
.sc-str { color: var(--str); border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .08); }
.sc-vit { color: var(--vit); border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); }
.sc-agi { color: var(--agi); border-color: rgba(234, 179, 8, .4); background: rgba(234, 179, 8, .08); }
.sc-int { color: var(--int); border-color: rgba(59, 130, 246, .4); background: rgba(59, 130, 246, .08); }
.sc-for { color: var(--for); border-color: rgba(168, 85, 247, .4); background: rgba(168, 85, 247, .08); }

.f-visual {
  display: flex; justify-content: center; align-items: center;
  perspective: 1400px; position: relative;
}
.f-visual .hero-glow { width: 85%; }

/* progreso vertical del pin */
.f-progress {
  position: absolute; left: clamp(6px, 1.5vw, 18px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 5;
}
.f-progress .p-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(139, 155, 180, .3); transition: all .3s;
}
.f-progress .p-dot.on { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- componentes móviles propios ---------- */
.demo-hint {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--cyan); margin: 4px 0 14px; animation: pulse 2.2s infinite;
}

}

.stats-panel {
  width: min(100%, 380px); text-align: left;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px 18px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.sp-head {
  display: flex; justify-content: space-between; align-items: stretch; gap: 12px;
  margin-bottom: 16px;
}
.sp-level {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border-radius: 12px; padding: 10px 18px; text-align: center;
  display: flex; flex-direction: column; box-shadow: 0 6px 22px rgba(37, 99, 235, .35);
}
.sp-lv { font-weight: 900; font-style: italic; font-size: 30px; color: #fff; line-height: 1; }
.sp-xpbox { display: flex; flex-direction: column; justify-content: center; text-align: right; }
.sp-xpn { font-weight: 900; font-style: italic; font-size: 26px; color: #fff; line-height: 1.1; }
.sp-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: rgba(226, 236, 248, .75); margin-top: 3px; }
.sp-rows { display: flex; flex-direction: column; gap: 11px; }
.sp-row { display: grid; grid-template-columns: 108px 1fr 30px; align-items: center; gap: 10px; }
.sp-name { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--text-dim); }
.sp-bar { height: 6px; border-radius: 3px; background: rgba(148, 163, 184, .14); overflow: hidden; }
.sp-fill {
  height: 100%; width: 0; border-radius: 3px; background: var(--c);
  box-shadow: 0 0 8px var(--c);
  transition: width 1.2s cubic-bezier(.22, 1, .36, 1);
}
.sp-val { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text); text-align: right; }

.boot-term {
  width: min(100%, 380px); text-align: left;
  background: #050a14; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.bt-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.bt-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(148, 163, 184, .3); }
.bt-bar span:first-child { background: rgba(239, 68, 68, .55); }
.bt-bar span:nth-child(2) { background: rgba(234, 179, 8, .55); }
.bt-bar span:nth-child(3) { background: rgba(34, 197, 94, .55); }
.bt-bar em { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--text-dim); margin-left: 6px; letter-spacing: .1em; }
.bt-body {
  padding: 14px 14px 16px; min-height: 172px;
  font-family: var(--mono); font-size: 12px; line-height: 1.9; color: #9fd8e6;
  white-space: pre-wrap; word-break: break-word;
}
.bt-body .ok { color: var(--vit); }
.bt-body .hl { color: var(--cyan); font-weight: 600; }
.bt-cursor {
  display: inline-block; width: 7px; height: 13px; margin-left: 2px;
  background: var(--cyan); vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- zoom section ---------- */
.zoom-sec { position: relative; }
.zoom-inner {
  max-width: 1100px; margin: 0 auto; padding: 90px clamp(20px, 5vw, 48px);
  text-align: center;
}
.zoom-head h2 {
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; text-transform: uppercase;
  color: #fff; line-height: 1.08;
}
.zoom-head p { color: var(--text-dim); max-width: 560px; margin: 14px auto 40px; }
.zoom-sec .demo-hint { margin-bottom: 26px; }
.mph-wrap { display: flex; justify-content: center; }
.mph {
  position: relative; width: min(350px, 90vw); height: 712px; border-radius: 46px;
  border: 1px solid #223452; background: #04070f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(0, 229, 255, .08), inset 0 0 0 6px #0a1322;
  padding: 12px; overflow: hidden;
}
.mph iframe {
  display: block; width: 100%; height: 100%; border: 0; border-radius: 34px;
  background: #04070f;
}
@media (max-height: 760px) { .mph { height: 712px; } } /* fija: con el scroll interno candado, el botón Listo DEBE caber siempre */

/* ---------- comunidad (Discord) ---------- */
.community {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: clamp(60px, 9vw, 100px) 24px 10px;
}
.community h2 {
  font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; line-height: 1.1;
  text-transform: uppercase; color: #fff; letter-spacing: -.01em;
}
.cm-sub { color: var(--text-dim); font-size: clamp(13.5px, 1.5vw, 16px); margin: 12px auto 30px; max-width: 480px; }
.dc-card {
  display: flex; align-items: center; gap: 16px; text-align: left; text-decoration: none;
  padding: 18px 20px; border-radius: 18px;
  border: 1px solid rgba(88, 101, 242, .45);
  background: linear-gradient(160deg, rgba(88, 101, 242, .14), rgba(6, 10, 22, .95) 60%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 34px rgba(88, 101, 242, .16);
  transition: transform .18s ease, box-shadow .25s, border-color .25s;
}
.dc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, .8);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .5), 0 0 48px rgba(88, 101, 242, .3);
}
.dc-ico {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  color: #8ea1ff; background: rgba(88, 101, 242, .14); border: 1px solid rgba(88, 101, 242, .4);
}
.dc-ico svg { width: 30px; height: 30px; }
.dc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.dc-name { font-weight: 800; color: #eaf0ff; font-size: clamp(13px, 1.6vw, 15.5px); letter-spacing: .04em; }
.dc-stats {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: #93a3c8;
}
.dc-stats b { color: #b3c1ff; font-size: 13px; }
.dc-dot { width: 7px; height: 7px; border-radius: 50%; background: #2bd47d; box-shadow: 0 0 8px #2bd47d; margin: 0 2px; }
.dc-stats b#dcOnline { color: #2bd47d; }
.dc-cta {
  flex: 0 0 auto; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; font-weight: 700;
  color: #b3c1ff; border: 1px solid rgba(88, 101, 242, .55); padding: 10px 14px; border-radius: 12px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .dc-card { flex-wrap: wrap; }
  .dc-cta { width: 100%; text-align: center; }
}

/* ---------- final CTA ---------- */
.f-logowrap { position: relative; display: inline-block; }
.f-logowrap canvas {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 340px; height: 340px; pointer-events: none;
}
.f-logowrap .f-logo { position: relative; }
.final {
  position: relative; text-align: center;
  padding: 130px clamp(20px, 5vw, 48px) 110px;
  overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 420px at 50% 30%, rgba(0, 229, 255, .1), transparent 70%);
  pointer-events: none;
}
.final img.f-logo { width: 110px; margin: 0 auto 26px; filter: drop-shadow(0 0 30px rgba(0, 229, 255, .45)); }
.final h2 {
  font-size: clamp(30px, 4.4vw, 56px); font-weight: 900; text-transform: uppercase;
  line-height: 1.06; color: #fff; max-width: 800px; margin: 0 auto 14px;
}
.final h2 .grad {
  background: linear-gradient(92deg, #38bdf8, #00e5ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final p { color: var(--text-dim); max-width: 520px; margin: 0 auto 36px; }
.final .store-row { justify-content: center; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 5vw, 48px) 46px;
}
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; }
.foot-brand span { font-weight: 800; letter-spacing: .3em; font-size: 12px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--text-dim); transition: all .2s;
  background: rgba(255, 255, 255, .03);
}
.socials a:hover { color: var(--cyan); border-color: rgba(0, 229, 255, .5); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.foot-legal { display: flex; gap: 18px; font-size: 12.5px; color: var(--text-dim); }
.foot-legal a:hover { color: var(--cyan); }
.foot-copy { width: 100%; text-align: center; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: rgba(139, 155, 180, .55); letter-spacing: .1em; }

/* ---------- toast android ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%);
  z-index: 80; max-width: min(92vw, 420px);
  background: rgba(8, 16, 32, .96); border: 1px solid rgba(0, 229, 255, .35);
  border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, .6), 0 0 30px rgba(0, 229, 255, .15);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  display: flex; gap: 12px; align-items: flex-start;
}
.toast.show { transform: translate(-50%, 0); }
.toast .t-ico { color: var(--cyan); flex: none; margin-top: 2px; }
.toast .t-title { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 2px; }
.toast .t-body { font-size: 13px; color: var(--text-dim); }
.t-form { display: flex; gap: 8px; margin-top: 12px; }
.t-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 13px; color: #eaf3ff;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 229, 255, .3);
  border-radius: 10px; padding: 9px 12px; outline: none;
}
.t-form input:focus { border-color: rgba(0, 229, 255, .7); box-shadow: 0 0 14px rgba(0, 229, 255, .18); }
.t-form input::placeholder { color: #64748b; }
.t-form button {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; font-weight: 700;
  color: #02131a; background: linear-gradient(135deg, #4fe3ff, #00b8d4);
  border: 0; border-radius: 10px; padding: 9px 14px; cursor: pointer; white-space: nowrap;
  transition: transform .15s, opacity .2s;
}
.t-form button:hover { transform: translateY(-1px); }
.t-form button:disabled { opacity: .55; cursor: default; transform: none; }
.t-status { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; margin-top: 8px; min-height: 14px; }
.t-status.ok { color: #2bd47d; }
.t-status.err { color: #f87171; }
.toast .t-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.toast .t-actions a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, .35); color: var(--cyan);
  background: rgba(0, 229, 255, .07); transition: all .2s;
}
.toast .t-actions a:hover { background: rgba(0, 229, 255, .15); }
.toast .t-actions a.t-ios { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .06); }
/* en teléfono: tarjeta a lo ancho, todo apilado y CENTRADO */
@media (max-width: 480px) {
  .toast {
    width: calc(100vw - 28px); max-width: none; bottom: 14px;
    flex-direction: column; align-items: center; text-align: center;
    gap: 8px; padding: 16px 14px;
  }
  .toast .t-ico { margin-top: 0; }
  .toast .t-actions { justify-content: center; width: 100%; }
  .toast .t-actions a { flex: 1 1 40%; text-align: center; padding: 9px 8px; white-space: nowrap; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .store-row { justify-content: center; gap: 18px; }
  .hero-note { text-align: center; margin-top: 36px; }
  /* rendimiento: fuera lo caro de pintar en móvil */
  .bg-grid { display: none; }
  .orb { filter: blur(42px); opacity: .35; }
  .orb-2 { display: none; }
  .phone {
    box-shadow:
      inset 0 0 0 2px rgba(148, 180, 216, .28),
      inset 0 0 0 5px #05080f,
      0 22px 44px rgba(0, 0, 0, .55);
  }
  /* en móvil el menú NO te sigue (landing: no hace falta) — fijo cortaba los teléfonos
     anclados de la sección features; ahora se queda arriba y se va con el scroll */
  .nav { position: absolute; }
  .hero {
    grid-template-columns: 1fr; text-align: center;
    padding-top: 96px; gap: 34px;
  }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { max-width: 560px; }
  .hero-visual { min-height: 0; }
  .phone { --pw: 236px; }
  .f-stage {
    grid-template-columns: 1fr; min-height: 100svh;
    gap: clamp(18px, 4svh, 42px);   /* hueco proporcional, jamás un vacío gigante */
    padding-top: 14px; padding-bottom: 20px;
    align-content: center;          /* grupo teléfono+texto centrado y compacto */
  }
  .f-visual { order: -1; }
  .f-visual .phone { --pw: clamp(150px, 24svh, 205px); }  /* crece con la pantalla */
  .f-visual .hero-glow { width: 62%; }
  .f-copy { min-height: 276px; }
  .f-panel { justify-content: flex-end; text-align: center; align-items: center; }
  /* jerarquía tipográfica móvil: título GRANDE y brillante, párrafo pequeño y tenue —
     antes los cuerpos eran casi iguales (21/13.5/12.5) y el bloque se leía lioso */
  .f-panel .f-kicker { font-size: 9.5px; letter-spacing: .3em; margin-bottom: 6px; }
  .f-panel h2 { font-size: 25px; line-height: 1.08; margin-bottom: 8px; }
  .f-panel p { font-size: 12.5px; line-height: 1.65; color: var(--text-dim); opacity: .92;
    margin-bottom: 12px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .f-list { text-align: center; gap: 8px; }
  .f-list li { font-size: 12.5px; padding-left: 0; color: var(--text-dim); }
  .f-list li b, .f-list li strong { color: var(--text); }
  .f-list li::before { display: none; }
  .stat-chip { font-size: 10px; padding: 5px 10px; }
  .f-progress {
    left: 50%; top: auto; bottom: 12px; transform: translateX(-50%);
    flex-direction: row;
  }
  .f-progress { display: none; }
  .stat-chips { justify-content: center; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .syslog-track { animation: none; }
  .scroll-hint .wheel::after, .sys-chip .dot { animation: none; }
}


/* ═══ pasada ARISE (jul-2026): problema · rangos · manifiestos ═══ */
.problema {
  max-width: 720px; margin: 0 auto; padding: clamp(70px, 12vw, 130px) 24px 20px;
  text-align: center;
}
.pb-kicker {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .3em;
  color: #f59e0b; margin-bottom: 18px;
}
.problema h2, .tc-head h2 {
  font-size: clamp(28px, 4.6vw, 46px); line-height: 1.06; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.problema p {
  font-size: clamp(15px, 1.6vw, 17.5px); color: #9db0c8; line-height: 1.75;
}
.problema strong { color: #eaf6ff; }
.manif {
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: .34em;
  color: rgba(0, 229, 255, .55); margin-top: 44px;
}
/* escalera de rangos */
/* ── RANK-UP: demo interactiva de rangos ── */
.rankup-sec { max-width: 760px; margin: 0 auto; padding: clamp(70px, 11vw, 120px) 24px 10px; text-align: center; }
.rankup-sec h2 {
  font-size: clamp(28px, 4.6vw, 46px); font-weight: 900; line-height: 1.05;
  text-transform: uppercase; color: #fff; letter-spacing: -.01em;
}
.rk-sub { font-size: clamp(14px, 1.5vw, 16px); color: #b8c6da; margin-top: 10px; }
.ru-hint { margin: 26px auto 6px; }
.ru-stage {
  --rc: #9aa3b2;
  /* escalera de épica: cada tier sube estas perillas */
  --fp: 16%;      /* saturación del marco */
  --band: 4px;    /* grosor de la banda del marco */
  --ga: 18%;      /* intensidad del aura */
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 44px 20px 38px; cursor: pointer; user-select: -webkit-user-select; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ru-stage.t1 { --fp: 30%; --band: 5px; --ga: 22%; }
.ru-stage.t2 { --fp: 44%; --band: 5px; --ga: 28%; }
.ru-stage.t3 { --fp: 58%; --band: 6px; --ga: 34%; }
.ru-stage.t4 { --fp: 72%; --band: 6px; --ga: 42%; }
.ru-stage.t5 { --fp: 85%; --band: 7px; --ga: 52%; }
.ru-stage.t6 { --fp: 92%; --band: 7px; --ga: 58%; }
.ru-stage.t7 { --fp: 100%; --band: 8px; --ga: 72%; }
.ru-glow {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 340px; height: 340px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--rc) var(--ga), transparent), transparent 65%);
  filter: blur(26px); transition: background .45s;
}
.ru-orbit {
  position: relative; width: clamp(190px, 33vw, 254px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.ru-emblem {
  position: relative; width: 76%; height: 76%;
  display: grid; place-items: center;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--rc) var(--fp), rgba(8, 18, 34, .9)), rgba(4, 10, 22, .95));
  border: none; transition: background .45s;
}
.ru-emblem::before {
  content: ""; position: absolute; inset: var(--band);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: rgba(3, 8, 18, .92); transition: inset .45s;
}
.ru-emblem b {
  position: relative; z-index: 1;
  font-size: clamp(56px, 10vw, 84px); font-weight: 900; line-height: 1; color: var(--rc);
  text-shadow: 0 0 34px color-mix(in srgb, var(--rc) 70%, transparent);
  transition: color .35s;
}
.ru-orbit { transition: scale .14s ease; }
.ru-stage:active .ru-orbit { scale: .96; }
.ru-stage.pop .ru-orbit { animation: rupop .55s cubic-bezier(.22,1.2,.36,1); }
@keyframes rupop { 0% { transform: scale(.9); } 45% { transform: scale(1.06); } 70% { transform: scale(.985); } 100% { transform: scale(1); } }
.ru-flash {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: radial-gradient(circle at 50% 46%, #fff, color-mix(in srgb, var(--rc) 55%, #fff) 55%, transparent 82%);
  opacity: 0;
}
.ru-stage.pop .ru-flash { animation: ruflash .5s cubic-bezier(.1,.8,.3,1); }
@keyframes ruflash { 0% { opacity: .95; } 100% { opacity: 0; } }
.ru-shock {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 76%; height: 76%; fill: none; stroke: var(--rc);
  opacity: 0; pointer-events: none; overflow: visible;
}
.ru-stage.pop .ru-shock { animation: rushock .65s cubic-bezier(.2,.8,.25,1); }
@keyframes rushock {
  0% { opacity: .9; scale: 1; stroke-width: 2.4; }
  100% { opacity: 0; scale: 1.65; stroke-width: .4; }
}
.ru-emblem b.out { animation: rulout .11s ease-in forwards; }
@keyframes rulout { to { transform: scale(1.45); filter: blur(7px); opacity: 0; } }
.ru-emblem b.in { animation: rulin .32s cubic-bezier(.2,1.5,.32,1); }
@keyframes rulin {
  0% { transform: scale(1.75); filter: blur(9px); opacity: 0; }
  55% { transform: scale(.95); filter: blur(0); opacity: 1; }
  100% { transform: scale(1); }
}
.ru-stage.t6 .ru-glow { animation: ruaura 2.8s ease-in-out infinite; }
@keyframes ruaura { 50% { opacity: .72; } }
.ru-name {
  font-family: "JetBrains Mono", monospace; font-size: clamp(13px, 2vw, 17px);
  letter-spacing: .4em; padding-left: .4em; color: #eaf3ff; transition: color .35s;
  text-shadow: 0 0 18px color-mix(in srgb, var(--rc) 45%, transparent);
}
.ru-track { width: min(340px, 78%); }
.ru-bar { height: 5px; border-radius: 99px; background: rgba(148, 180, 216, .14); }
.ru-bar i {
  position: relative; display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 70%, #fff 0%), var(--rc));
  box-shadow: 0 0 12px color-mix(in srgb, var(--rc) 70%, transparent);
  transition: width .5s cubic-bezier(.22,1,.36,1), background .45s;
}
.ru-bar i::after {
  content: ""; position: absolute; right: -4px; top: 50%; translate: 0 -50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, color-mix(in srgb, var(--rc) 80%, #fff) 42%, transparent 72%);
  opacity: .95; transition: opacity .3s;
}
.ru-stage.t0 .ru-bar i::after { opacity: 0; }
.ru-ticks { display: flex; justify-content: space-between; margin-top: 8px; }
.ru-ticks span {
  font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .06em;
  color: #64748b; transition: color .3s, text-shadow .3s;
}
.ru-ticks span.on { color: var(--tk, #9db0c8); text-shadow: 0 0 10px color-mix(in srgb, var(--tk, #9db0c8) 60%, transparent); }
.ru-stage.max .ru-emblem b { animation: rumax 2.2s ease-in-out infinite; }
@keyframes rumax { 50% { text-shadow: 0 0 60px var(--rc), 0 0 24px color-mix(in srgb, var(--rc) 80%, transparent); } }
.tm-base {
  text-align: center; font-family: "JetBrains Mono", monospace;
  font-size: clamp(12px, 1.6vw, 15px); letter-spacing: .08em; color: #b8c6da;
  padding: 20px 20px 6px;
}
@media (prefers-reduced-motion: reduce) {
  .ru-stage.pop .ru-orbit, .ru-stage.max .ru-emblem b,
  .ru-flash, .ru-shock, .ru-emblem b.out, .ru-emblem b.in, .ru-stage.t6 .ru-glow { animation: none; }
}
.ranks-manif { text-align: center; padding: 26px 20px 8px; }
@media (max-width: 640px) {
  .manif { letter-spacing: .22em; }
}


/* demo de misiones en móvil */
@media (max-width: 760px) {
  .zoom-inner { padding-bottom: 44px; }
  .final { padding-top: 84px; }
}


/* ═══ chispas compartidas (las usa el simulador de rangos) ═══ */
.mc-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.mc-spark {
  position: absolute; width: 6px; height: 6px; border-radius: 1.5px;
  will-change: transform, opacity;
  animation: sparkfly .85s cubic-bezier(.16,.84,.44,1) forwards;
}
@keyframes sparkfly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--sx), var(--sy)) scale(.2) rotate(160deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-spark { animation: none; }
}

@media (max-width: 480px) {
  .store-row { flex-direction: column; align-items: center; gap: 12px; }
  /* apilados: mismo ancho EXACTO los dos y contenido centrado → simetría */
  .store-row .badge { width: 252px; justify-content: center; padding: 11px 16px; }
}
/* tipografía móvil: nada de titulares de 28-30px comiéndose la pantalla */
@media (max-width: 640px) {
  .problema h2, .rankup-sec h2, .zoom-head h2 { font-size: 23px; }
  .problema p, .rk-sub, .zoom-head p { font-size: 14px; }
  .final h2 { font-size: 26px; }
  .final p { font-size: 14px; }
  .hero h1 { font-size: 34px; }
  .manif { font-size: 12px; }
}
