/* =====================================================================
   Zhenit · web
   ===================================================================== */
:root {
  --bg: #0B0A10;
  --bg-2: #110F18;
  --surface: #15121E;
  --card: #1A1626;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #EEEBF5;
  --muted: #A49FB3;
  --faint: #6F6A80;
  --accent: #A970FF;
  --accent-2: #7C3AED;
  --accent-3: #D8B4FE;
  --good: #34D399;
  --bad: #F87171;
  --warn: #FBBF24;
  --radius: 18px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #0B0A10; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.grad { background: linear-gradient(100deg, var(--accent-3), var(--accent) 45%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 30px -8px rgba(169, 112, 255, .6); }
.btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(169, 112, 255, .85); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .25); }
.btn--glass { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11, 10, 16, .78); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; font-weight: 600; }
.brand b { color: var(--accent); font-weight: 600; }
.nav__links { display: flex; gap: 28px; margin-left: 24px; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; margin-left: auto; }
.nav__menu { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__menu span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { padding: 8px 16px 20px; display: grid; gap: 4px; background: rgba(11, 10, 16, .95); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 12px 6px; color: var(--muted); }
.mobile-menu .btn { margin-top: 8px; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.hero__glow { position: absolute; inset: -30% -10% auto; height: 780px; pointer-events: none;
  background: radial-gradient(600px 380px at 70% 35%, rgba(124, 58, 237, .38), transparent 70%),
              radial-gradient(520px 340px at 20% 20%, rgba(169, 112, 255, .18), transparent 70%); filter: blur(10px); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(169, 112, 255, .12); border: 1px solid rgba(169, 112, 255, .3); color: var(--accent-3); font-size: 13px; font-weight: 600; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { font-size: clamp(42px, 6vw, 72px); margin: 22px 0 20px; font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; fill: none; stroke: var(--good); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Maqueta de la app */
.mock { position: relative; border-radius: 22px; background: linear-gradient(180deg, #17131F, #110E18); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 1px rgba(169, 112, 255, .08), 0 0 80px -20px rgba(124, 58, 237, .5); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s ease; }
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2537; }
.mock__bar span { margin-left: 10px; }
.mock__body { padding: 20px 22px 22px; }
.mock__tabs { display: flex; gap: 18px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--faint); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock__tabs b { color: var(--text); position: relative; }
.mock__tabs b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mock__row { display: flex; gap: 20px; align-items: center; margin: 20px 0; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring__bg { stroke: #2A2537; }
.ring__fg { stroke: url(#none); stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * var(--p) / 100); filter: drop-shadow(0 0 6px rgba(169, 112, 255, .7)); transition: stroke-dashoffset 1.4s cubic-bezier(.2, .7, .2, 1); }
.ring.is-zero .ring__fg { stroke-dashoffset: 327; }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__label b { font-family: var(--display); font-size: 32px; line-height: 1; }
.ring__label small { color: var(--faint); font-size: 12px; }
.mock__summary small { color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.mock__summary strong { display: block; font-family: var(--display); font-size: 22px; margin: 4px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.chip.ok { background: rgba(52, 211, 153, .12); color: var(--good); }
.mock__list { display: grid; gap: 8px; }
.mock__list div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13.5px; }
.mock__list em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12.5px; }
.i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.i.ok { background: var(--good); box-shadow: 0 0 10px var(--good); }
.i.warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.mock__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 999px; }
.mock__foot button { font: inherit; font-weight: 600; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 0; border-radius: 10px; padding: 10px 16px; box-shadow: 0 8px 24px -8px rgba(169, 112, 255, .8); }

/* ---------- Banda ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__inner div { padding: 26px 16px; text-align: center; border-left: 1px solid var(--line); }
.strip__inner div:first-child { border-left: 0; }
.strip b { display: block; font-family: var(--display); font-size: 32px; color: var(--text); }
.strip span { color: var(--muted); font-size: 14px; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.section__head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ---------- Antes / después ---------- */
.compare { position: relative; display: grid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow); user-select: none; }
.compare__side { grid-area: 1 / 1; padding: 32px 36px; }
.compare__before { background: linear-gradient(135deg, rgba(248, 113, 113, .08), transparent 50%), var(--card); padding-right: calc(100% - var(--pos) + 32px); }
.compare__after { background: linear-gradient(225deg, rgba(52, 211, 153, .09), transparent 50%), #1B1528; clip-path: inset(0 0 0 var(--pos)); padding-left: calc(var(--pos) + 32px); }
.compare__side { overflow: hidden; }
.compare h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 22px; }
.tag { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tag.bad { background: rgba(248, 113, 113, .15); color: var(--bad); }
.tag.good { background: rgba(52, 211, 153, .15); color: var(--good); }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .18); border: 1px solid var(--line); }
.compare li span { color: var(--muted); font-size: 14px; }
.compare li b { font-family: var(--display); font-size: 18px; text-align: right; }
.compare li small { grid-column: 1 / -1; color: var(--faint); font-size: 12.5px; }
b.bad { color: var(--bad); } b.good { color: var(--good); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--accent); box-shadow: 0 0 16px var(--accent); pointer-events: none; transform: translateX(-1px); }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(169, 112, 255, .25), 0 10px 30px rgba(0, 0, 0, .5); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.compare__handle span::before { left: 8px; border-right-color: #fff; }
.compare__handle span::after { right: 8px; border-left-color: #fff; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.frametime { margin-top: 28px; padding: 28px 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.frametime__head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.frametime__head h3 { font-size: 22px; }
.frametime__head p { color: var(--muted); margin-top: 6px; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.l-before::before { background: var(--bad); }
.l-after::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.frametime__svg { width: 100%; height: auto; }
.frametime__svg .grid line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.frametime__svg .before { fill: none; stroke: var(--bad); stroke-width: 2.5; stroke-linejoin: round; opacity: .75; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.frametime__svg .after { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(169, 112, 255, .8)); stroke-dasharray: 900; stroke-dashoffset: 900; }
.frametime__svg .after-fill { fill: url(#fa); opacity: 0; }
.frametime.is-visible .before { animation: draw 2.4s ease forwards; }
.frametime.is-visible .after { animation: draw 1.8s .8s ease forwards; }
.frametime.is-visible .after-fill { animation: fade 1s 1.8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.note { color: var(--faint); font-size: 13px; margin-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.stat { padding: 26px 26px 22px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(169, 112, 255, .12), transparent 55%), var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 40px; line-height: 1.1; color: var(--accent-3); }
.stat span { display: block; margin-top: 8px; color: var(--text); }
.stat small { display: block; margin-top: 10px; color: var(--faint); font-size: 12.5px; }

/* ---------- Funciones ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(169, 112, 255, .4); box-shadow: 0 20px 50px -25px rgba(124, 58, 237, .6); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(169, 112, 255, .14); margin-bottom: 18px; }
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-3); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }
.pro { position: absolute; top: 18px; right: 18px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 4px 8px; border-radius: 8px; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-family: var(--display); font-size: 20px; margin-bottom: 18px; box-shadow: 0 10px 30px -10px rgba(169, 112, 255, .8); }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ---------- Comparativa ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.vs { width: 100%; border-collapse: collapse; min-width: 560px; }
.vs th, .vs td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.vs tr:last-child td { border-bottom: 0; }
.vs th { font-family: var(--display); font-size: 16px; color: var(--muted); font-weight: 600; }
.vs .vs__us { color: var(--accent-3); }
.vs td { color: var(--muted); }
.vs td:first-child { color: var(--text); }
.vs td.y { color: var(--good); font-weight: 600; }
.vs td.y::before { content: "✓ "; }
.vs td.n { color: var(--faint); }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; }
.plan { position: relative; padding: 34px 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan--pro { background: linear-gradient(170deg, rgba(169, 112, 255, .2), rgba(124, 58, 237, .05) 45%, transparent), #1A1529; border: 1.5px solid rgba(169, 112, 255, .55); box-shadow: 0 30px 80px -30px rgba(124, 58, 237, .7); }
.plan__tag { position: absolute; top: -13px; left: 32px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 22px; }
.plan__price b { font-family: var(--display); font-size: 52px; line-height: 1; }
.plan__price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; color: var(--muted); }
.plan li b { color: var(--text); }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 153, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan--pro li::before { background-color: rgba(169, 112, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8B4FE' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.plan__fine { color: var(--faint); font-size: 13px; margin-top: 14px; }
.plan__fine b { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(169, 112, 255, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.final { position: relative; padding: 120px 0; text-align: center; overflow: hidden; }
.final__glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 60%, rgba(124, 58, 237, .35), transparent 70%); pointer-events: none; }
.final__inner { position: relative; display: grid; justify-items: center; }
.final img { filter: drop-shadow(0 0 30px rgba(169, 112, 255, .7)); }
.final h2 { font-size: clamp(32px, 4.6vw, 54px); margin: 24px 0 12px; }
.final p { color: var(--muted); font-size: 18px; }
.final .hero__cta { justify-content: center; }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.footer nav { display: flex; gap: 22px; justify-content: flex-end; color: var(--muted); font-size: 14px; }
.footer nav a:hover { color: var(--text); }
.footer small { grid-column: 1 / -1; color: var(--faint); font-size: 12.5px; }

/* ---------- Páginas legales ---------- */
.legal { padding: 60px 0 100px; }
.legal h1 { font-size: 40px; margin-bottom: 10px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal a { color: var(--accent-3); text-decoration: underline; }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .mock { transform: none; max-width: 620px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__inner div:nth-child(3) { border-left: 0; }
  .strip__inner div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats, .steps { grid-template-columns: 1fr; }
  .compare { display: block; }
  .compare__before, .compare__after { padding: 26px 20px; clip-path: none; }
  .compare__after { border-top: 1px solid var(--line-2); }
  .compare__handle, .compare__range { display: none; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .frametime { padding: 22px 18px; }
  .hero { padding-top: 28px; }
  .hero__cta .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock, .mock:hover { transform: none; }
  .frametime__svg .before, .frametime__svg .after { stroke-dashoffset: 0; animation: none !important; }
  .frametime__svg .after-fill { opacity: 1; animation: none !important; }
  .ring__fg { transition: none; }
}

/* ---------- Formularios (cuenta.html) ---------- */
.form { display: grid; gap: 14px; width: min(420px, 100%); margin: 28px auto 0; text-align: left; }
.form label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; }
.form input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: inherit; font-size: 16px; }
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169, 112, 255, .25); }
.form__msg, .final .form__msg { min-height: 1.4em; color: var(--warn); font-size: 14px; margin: 0; }
.final [hidden] { display: none !important; }

/* ---------- Discord ---------- */
:root { --discord: #5865F2; }
.btn--discord { background: var(--discord); color: #fff; box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .7); }
.btn--discord:hover { background: #6773f5; transform: translateY(-1px); }
.btn--discord svg { fill: none; stroke: currentColor; }
.btn--icon { padding: 0 14px; }
@media (max-width: 1180px) { .nav__cta .btn--icon span { display: none; } }

.community { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 40px 44px; border-radius: 24px; border: 1px solid rgba(88, 101, 242, .45);
  background: linear-gradient(120deg, rgba(88, 101, 242, .28), rgba(124, 58, 237, .12) 55%, transparent), var(--card); }
.community__glow { position: absolute; inset: -40% -10% auto auto; width: 520px; height: 420px; background: radial-gradient(closest-side, rgba(88, 101, 242, .45), transparent); pointer-events: none; }
.community__icon { position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--discord); box-shadow: 0 20px 50px -15px rgba(88, 101, 242, .9); }
.community__icon svg { width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.community__copy { position: relative; }
.community__copy .eyebrow { color: #A5ADFF; margin-bottom: 8px; }
.community h2 { font-size: clamp(26px, 3.2vw, 36px); }
.community p { color: var(--muted); margin-top: 10px; max-width: 620px; }
.community .btn { position: relative; }

/* ---------- Lo que vas a notar ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { position: relative; padding: 28px 26px; border-radius: var(--radius); background: linear-gradient(170deg, rgba(169, 112, 255, .1), transparent 45%), var(--card); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s; }
.benefit:hover { transform: translateY(-4px); border-color: rgba(169, 112, 255, .45); }
.benefit__top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.benefit__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 30px -10px rgba(169, 112, 255, .8); }
.benefit__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 22px; }
.benefit > p { color: var(--muted); margin-bottom: 14px; }
.benefit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.benefit li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--text); }
.benefit li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(52, 211, 153, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat; }
.note.center { text-align: center; margin-top: 26px; }

/* ---------- Del clic a la pantalla ---------- */
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: p; position: relative; }
.pipeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3)); box-shadow: 0 0 12px var(--accent); }
.pipeline li { position: relative; text-align: center; padding: 0 6px; }
.pipeline__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--accent-3); box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px rgba(169, 112, 255, .5); }
.pipeline h3 { font-size: 18px; margin-bottom: 6px; }
.pipeline p { color: var(--muted); font-size: 14px; }

/* ---------- Barra fija en el móvil ---------- */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 16px; background: rgba(21, 18, 30, .92); backdrop-filter: blur(14px); border: 1px solid rgba(169, 112, 255, .45);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); transform: translateY(140%); transition: transform .35s ease; }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta b { display: block; font-family: var(--display); font-size: 15px; }
  .sticky-cta span { color: var(--muted); font-size: 13px; }
  .benefits { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .pipeline::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent-2), var(--accent-3)); }
  .pipeline li { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .pipeline__n { margin: 0; grid-row: span 2; }
  .community { grid-template-columns: 1fr; padding: 30px 22px; text-align: left; }
  .footer { padding-bottom: 96px; }
}
@media (min-width: 861px) and (max-width: 1060px) { .benefits { grid-template-columns: repeat(2, 1fr); } .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } .pipeline::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- Selector de idioma ---------- */
.lang { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); margin-left: auto; }
.lang a { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); padding: 6px 10px; border-radius: 7px; transition: color .2s, background .2s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.nav__cta { margin-left: 0; }
@media (max-width: 860px) { .lang { margin-left: auto; } .nav__menu { margin-left: 10px; } }
