/* ==========================================================================
   LKS-9K · estilos
   Paleta tomada del logo: verde → cian → violeta sobre azul noche.
   ========================================================================== */
:root {
  --bg: #05080f;
  --bg-2: #0a1120;
  --panel: rgba(12, 22, 38, .62);
  --ink: #eef6ff;
  --mute: #8ea3ba;
  --g1: #7dff6a;
  --g2: #39d5ff;
  --g3: #a35cff;
  --line: rgba(57, 213, 255, .16);
  --line-2: rgba(57, 213, 255, .32);
  --grad: linear-gradient(100deg, var(--g1) 0%, var(--g2) 45%, var(--g3) 100%);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 5vw, 72px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mx: 50%;
  --my: 30%;
}
html[lang="ar"] { --display: "Cairo", system-ui, sans-serif; --body: "Cairo", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(57, 213, 255, .35); }

/* ---------- Arranque ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg);
  animation: bootOut .5s 1.8s forwards; /* red de seguridad: desaparece aunque falle el JS */
}
.boot.is-done { animation: bootOut .4s forwards; }
.boot__inner { display: grid; gap: 14px; justify-items: center; font: 600 12px/1 var(--mono); letter-spacing: .25em; color: var(--mute); }
.boot__label { color: var(--ink); }
.boot__bar { width: 220px; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; border-radius: 2px; }
.boot__bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; animation: bootBar 1.5s var(--ease) forwards; transform: scaleX(0); }
.boot__status { color: var(--g1); }
@keyframes bootBar { to { transform: scaleX(1); } }
@keyframes bootOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Fondo ---------- */
.aura {
  position: fixed; inset: -10%; z-index: -3; pointer-events: none;
  background:
    radial-gradient(circle 520px at var(--mx) var(--my), rgba(57, 213, 255, .20), transparent 60%),
    radial-gradient(circle 680px at calc(var(--mx) + 18%) calc(var(--my) + 22%), rgba(163, 92, 255, .20), transparent 62%),
    radial-gradient(circle 560px at calc(var(--mx) - 22%) calc(var(--my) + 8%), rgba(125, 255, 106, .12), transparent 60%),
    var(--bg);
  filter: blur(30px) saturate(140%);
}
.neural { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: .9; }
.scan {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}

/* ---------- Botones ---------- */
.btn {
  --b: var(--grad);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--body); letter-spacing: .01em; text-decoration: none; color: #031018;
  background: var(--b); box-shadow: 0 10px 40px -10px rgba(57, 213, 255, .7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(57, 213, 255, .9); filter: brightness(1.08); }
.btn:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; }
.btn--ghost { background: rgba(57, 213, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: rgba(57, 213, 255, .12); box-shadow: inset 0 0 0 1.5px var(--g2), 0 10px 40px -16px rgba(57, 213, 255, .8); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- HUD ---------- */
.hud { font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); direction: ltr; }
.hud--label { color: var(--g2); margin-bottom: 18px; }
html[dir="rtl"] .hud--label { text-align: right; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(57, 213, 255, .06); font: 600 13px/1 var(--body); letter-spacing: .04em; color: var(--ink); }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 12px var(--g1); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 14px var(--pad) auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(5, 8, 15, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(5, 8, 15, .9); border-color: var(--line-2); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #071321; box-shadow: 0 0 0 1px var(--line-2), 0 0 20px rgba(57,213,255,.25); flex: none; }
.nav__logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.nav__name { font: 800 18px/1 "Unbounded", sans-serif; letter-spacing: .02em; direction: ltr; }
.nav__name i { font-style: normal; color: var(--g2); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--mute); transition: color .2s, background .2s; }
.nav__links a:not(.btn):hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { bottom: 17px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Idiomas */
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--ink); font: 700 13px/1 var(--mono); cursor: pointer; }
.lang__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang__menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  border-radius: 16px; border: 1px solid var(--line-2); background: rgba(8, 14, 26, .97); box-shadow: 0 20px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { width: 100%; text-align: start; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 600 15px/1.2 var(--body); cursor: pointer; }
.lang__menu button:hover, .lang__menu button[aria-current="true"] { background: rgba(57, 213, 255, .1); color: var(--g2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
  padding: 130px var(--pad) 90px;
  overflow-x: clip;
}
.hero__hud { position: absolute; top: 96px; inset-inline: var(--pad); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; opacity: .8; }
.hud__live { display: inline-flex; align-items: center; gap: 8px; color: var(--g1); }
.hud__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1); animation: blink 1.2s infinite; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; }
.hero__title { font-size: clamp(42px, 7.2vw, 112px); line-height: .98; }
.hero__lead { max-width: 52ch; font-size: clamp(17px, 1.5vw, 20px); color: #c4d3e3; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta--center { justify-content: center; }

.hero__art { position: relative; aspect-ratio: 1; width: min(100%, 640px); justify-self: center; display: grid; place-items: center; }
.hero__logo {
  position: relative; z-index: 2; width: 128%; max-width: none; height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  animation: float 7s ease-in-out infinite;
  filter: saturate(1.15) brightness(1.08);
}
@keyframes float { 50% { transform: translateY(-14px) scale(1.015); } }
.orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid var(--line); }
.orbit--1 { border-style: dashed; border-color: rgba(57,213,255,.25); animation: spin 60s linear infinite; }
.orbit--2 { inset: 16%; border-color: rgba(163,92,255,.25); animation: spin 40s linear infinite reverse; }
.orbit--3 { inset: -2%; border-color: rgba(125,255,106,.14); animation: spin 22s linear infinite; }
.orbit--3 i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 18px 4px rgba(125,255,106,.7); }
@keyframes spin { to { transform: rotate(360deg); } }
.bracket { position: absolute; width: 34px; height: 34px; border: 2px solid var(--g2); opacity: .7; }
.bracket--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.bracket--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.bracket--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.bracket--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--g2); animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(5, 8, 15, .6); padding: 18px 0; direction: ltr; }
.ticker__track { display: flex; gap: 34px; width: max-content; animation: ticker 36s linear infinite; font: 700 clamp(18px, 2.4vw, 30px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker__track b { color: var(--g2); font-size: .6em; align-self: center; }
.ticker__track span:nth-of-type(3n+1) { color: transparent; -webkit-text-stroke: 1px rgba(238, 246, 255, .55); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) var(--pad); }
.head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 70px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .hud--label { text-align: center; }
.head h2, .contact__title { font-size: clamp(32px, 5vw, 68px); }
.lead { margin-top: 20px; max-width: 62ch; font-size: clamp(17px, 1.4vw, 19px); color: #b9c8d8; }
.head--center .lead { margin-inline: auto; }

.manifesto { max-width: 1200px; }
.manifesto__text { font: 600 clamp(24px, 3.4vw, 46px)/1.25 var(--display); letter-spacing: -.01em; color: #dbe7f3; }
html[lang="ar"] .manifesto__text { line-height: 1.6; }

/* Tarjetas con foco que sigue al ratón */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card, .plan, .step, .devlist li, .faq details {
  --gx: 50%; --gy: 0%;
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(400px circle at var(--gx) var(--gy), rgba(57, 213, 255, .10), transparent 45%),
    var(--panel);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .3s, transform .4s var(--ease);
}
.card:hover, .plan:hover, .step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card { padding: 28px 24px 30px; display: grid; gap: 14px; align-content: start; }
.card__id { font: 600 11px/1 var(--mono); letter-spacing: .2em; color: var(--mute); direction: ltr; justify-self: end; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(57, 213, 255, .08); border: 1px solid var(--line-2); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--g2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; letter-spacing: -.01em; }
.card p { color: var(--mute); font-size: 15.5px; }

.stats { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stats li { padding: 30px 16px; display: grid; gap: 6px; text-align: center; }
.stats li + li { border-inline-start: 1px solid var(--line); }
.stats strong { font: 800 clamp(34px, 5vw, 64px)/1 "Unbounded", sans-serif; direction: ltr; }
.stats strong span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats li > span { color: var(--mute); font-size: 15px; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; max-width: 1320px; margin: 0 auto; }
.plan { padding: 34px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.plan--hot { border-color: transparent; background:
  radial-gradient(400px circle at var(--gx) var(--gy), rgba(57, 213, 255, .14), transparent 45%),
  linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
  var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 80px -30px rgba(57, 213, 255, .55); transform: translateY(-10px); }
.plan--hot:hover { transform: translateY(-14px); }
.plan__badge { position: absolute; top: -14px; inset-inline-start: 50%; translate: -50% 0; padding: 7px 14px; border-radius: 999px;
  font: 800 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #031018; background: var(--grad); white-space: nowrap; }
html[dir="rtl"] .plan__badge { translate: 50% 0; }
.plan__badge--alt { background: var(--g3); color: #fff; }
.plan__code { font: 600 11px/1 var(--mono); letter-spacing: .25em; color: var(--mute); direction: ltr; text-align: start; }
.plan__name { font-size: 26px; }
.plan__price { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; direction: ltr; }
html[dir="rtl"] .plan__price { justify-content: flex-end; }
html[dir="rtl"] .plan__code { text-align: right; }
.plan__amount { font: 800 clamp(60px, 6vw, 84px)/1 "Unbounded", sans-serif; letter-spacing: -.04em; }
.plan--hot .plan__amount { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__cur { font: 700 28px/1 "Unbounded", sans-serif; color: var(--g2); margin-top: 8px; }
.plan__per { color: var(--mute); font-size: 15px; }
.plan__per b { color: var(--g1); font-weight: 700; }
.plan__list { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-inline-start: 28px; font-size: 15.5px; }
.plan__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plans__note { margin-top: 30px; text-align: center; color: var(--mute); font-size: 14px; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 30px 26px; display: grid; gap: 12px; align-content: start; }
.step__n { font: 800 54px/1 "Unbounded", sans-serif; color: transparent; -webkit-text-stroke: 1.5px var(--g2); opacity: .8; }
.step h3 { font-size: 21px; }
.step p { color: var(--mute); font-size: 15.5px; }

/* Dispositivos */
.devlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.devlist li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 700; font-size: 17px; }
.devlist__i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(163, 92, 255, .1); border: 1px solid rgba(163, 92, 255, .35); flex: none; }
.devlist__i svg { width: 24px; height: 24px; fill: none; stroke: #c9a6ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font: 700 clamp(16px, 1.6vw, 19px)/1.35 var(--display); }
html[dir="rtl"] .faq summary { padding: 22px 0 22px 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; font: 400 28px/1 var(--mono); color: var(--g2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--line-2); }
.faq details p { padding-bottom: 22px; color: #b9c8d8; }

/* Contacto */
.contact { text-align: center; display: grid; justify-items: center; gap: 6px; padding-bottom: clamp(100px, 14vw, 170px); }
.contact .hud--label { text-align: center; }
.contact__title { font-size: clamp(38px, 11vw, 170px); max-width: 100%; overflow-wrap: anywhere; line-height: .95; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact .lead { margin: 18px auto 30px; }
/* Banner del grupo oficial de Telegram */
.tgjoin {
  margin-top: 34px; width: min(100%, 620px); display: flex; align-items: center; gap: 18px; padding: 18px 18px 18px 20px;
  border-radius: 24px; text-decoration: none; text-align: start; color: var(--ink);
  border: 2px solid transparent;
  background: linear-gradient(rgba(10, 16, 30, .92), rgba(10, 16, 30, .92)) padding-box, var(--grad) border-box;
  box-shadow: 0 20px 60px -24px rgba(57, 213, 255, .6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tgjoin:hover { transform: translateY(-3px); box-shadow: 0 26px 70px -22px rgba(57, 213, 255, .85); }
.tgjoin__icon { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 8px 26px -6px rgba(57, 213, 255, .7); }
.tgjoin__icon svg { width: 30px; height: 30px; fill: none; stroke: #04121c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: translateX(-1px); }
.tgjoin__text { flex: 1; display: grid; gap: 4px; min-width: 0; }
.tgjoin__text b { font: 800 18px/1.2 var(--display); }
.tgjoin__text span { color: var(--mute); font-size: 15px; line-height: 1.35; }
.tgjoin__btn { flex: none; padding: 12px 20px; border-radius: 999px; font: 700 15px/1 var(--body); color: #04121c; background: var(--grad); }
html.halloween .tgjoin { background: linear-gradient(rgba(22, 10, 30, .94), rgba(22, 10, 30, .94)) padding-box, var(--grad) border-box; box-shadow: 0 20px 60px -24px rgba(255, 122, 26, .6); }
html.halloween .tgjoin__icon svg { stroke: #1a0800; }
html.halloween .tgjoin__btn { color: #1a0800; }
@media (max-width: 560px) {
  .tgjoin { flex-wrap: wrap; justify-content: center; text-align: center; padding: 20px 16px; }
  .tgjoin__text { flex-basis: 100%; }
  .tgjoin__btn { width: 100%; text-align: center; }
}
.contact__plan { margin: -14px 0 24px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(57,213,255,.08); font-weight: 700; color: var(--g2); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 30px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font: 800 16px/1 "Unbounded", sans-serif; color: var(--ink); }
.footer__brand .nav__logo { width: 32px; height: 32px; }
.footer nav { display: flex; gap: 18px; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--ink); }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.plan--hot.reveal.is-in { transform: translateY(-10px); }
.no-js .reveal, .reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 760px; row-gap: 34px; }
  .devlist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; top: 84px; inset-inline: var(--pad); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    border-radius: 22px; border: 1px solid var(--line-2); background: rgba(5, 8, 15, .97);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 14px 16px; font-size: 17px; color: var(--ink); }
  .nav__links .btn { margin-top: 6px; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; text-align: start; }
  .hero__art { order: -1; width: min(100%, 460px); margin-bottom: -40px; }
  .hero__hud { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 480px; gap: 30px; }
  .hwoffer__card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hwoffer__art { width: 180px; }
  .hwbar b { font-size: 13px; }
  .plan--hot, .plan--hot.reveal.is-in { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { inset-inline: 12px; }
  .nav__name { font-size: 16px; }
  .lang__btn { padding: 0 10px; }
  .cards, .devlist { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Halloween: se activa con la clase .halloween en <html> (ver index.html)
   ========================================================================== */
html:not(.halloween) .hw-only { display: none !important; }
html.halloween .std-only { display: none !important; }

html.halloween {
  --g1: #ffb347;
  --g2: #ff7a1a;
  --g3: #a35cff;
  --line: rgba(255, 122, 26, .18);
  --line-2: rgba(255, 122, 26, .38);
  --grad: linear-gradient(100deg, #ffd166 0%, #ff7a1a 45%, #a35cff 100%);
}
html.halloween .aura {
  background:
    radial-gradient(circle 180px at 84% 16%, rgba(255, 236, 190, .55), rgba(255, 200, 120, .12) 60%, transparent 70%),
    radial-gradient(circle 520px at var(--mx) var(--my), rgba(255, 122, 26, .20), transparent 60%),
    radial-gradient(circle 680px at calc(var(--mx) + 18%) calc(var(--my) + 22%), rgba(163, 92, 255, .24), transparent 62%),
    radial-gradient(circle 560px at calc(var(--mx) - 22%) calc(var(--my) + 8%), rgba(125, 255, 106, .08), transparent 60%),
    #07040d;
}
html.halloween body { background: #07040d; }
html.halloween .card, html.halloween .plan, html.halloween .step, html.halloween .devlist li, html.halloween .faq details {
  background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(255, 122, 26, .10), transparent 45%), rgba(22, 12, 34, .66);
}
html.halloween .card__icon, html.halloween .devlist__i { background: rgba(255, 122, 26, .08); border-color: var(--line-2); }
html.halloween .card__icon svg { stroke: #ffb347; }
html.halloween .plan--hot { background:
  radial-gradient(400px circle at var(--gx) var(--gy), rgba(255, 122, 26, .12), transparent 45%),
  linear-gradient(#150b22, #150b22) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px -30px rgba(163, 92, 255, .5); }
html.halloween .plan--hw { border: 2px solid transparent; background:
  radial-gradient(400px circle at var(--gx) var(--gy), rgba(255, 122, 26, .16), transparent 45%),
  linear-gradient(#1a0c1c, #1a0c1c) padding-box, linear-gradient(140deg, #ffd166, #ff7a1a 50%, #ff3d7f) border-box;
  box-shadow: 0 30px 90px -30px rgba(255, 122, 26, .75); }
html.halloween .plan--hw .plan__amount { background: linear-gradient(100deg, #ffd166, #ff7a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__old { white-space: nowrap; flex: none; font: 700 18px/1 "Unbounded", sans-serif; color: var(--mute); text-decoration: line-through; text-decoration-color: #ff3d7f; text-decoration-thickness: 3px; align-self: center; margin-inline-end: 8px; }
.plan__badge--hw { background: linear-gradient(100deg, #ffd166, #ff7a1a); color: #1a0800; }

/* Botón naranja */
.btn--hw { background: linear-gradient(100deg, #ffd166, #ff7a1a 55%, #ff3d7f); color: #1a0800; box-shadow: 0 12px 40px -10px rgba(255, 122, 26, .85); }
.btn--hw:hover { box-shadow: 0 18px 54px -10px rgba(255, 122, 26, 1); }

/* Barra superior */
.hwbar { position: fixed; top: 0; inset-inline: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 7px 16px; text-decoration: none; color: #1a0800; font: 700 14px/1.2 var(--body);
  background: linear-gradient(100deg, #ffd166, #ff7a1a 55%, #ff3d7f); }
.hwbar__cd { font: 600 13px/1 var(--mono); background: rgba(26, 8, 0, .15); padding: 4px 8px; border-radius: 999px; direction: ltr; white-space: nowrap; }
html.halloween .nav { top: 46px; }
html.halloween .hero { padding-top: 160px; }
html.halloween .hero__hud { top: 128px; }

.tag--hw { border-color: rgba(255, 122, 26, .5); background: rgba(255, 122, 26, .1); }
html.halloween .hero__title { font-size: clamp(38px, 5.4vw, 86px); }

/* Calabazas */
.pumpkin { filter: drop-shadow(0 0 30px rgba(255, 140, 30, .55)); }
.pumpkin--hero { position: absolute; z-index: 3; width: 26%; right: 4%; bottom: 6%; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
html[dir="rtl"] .pumpkin--hero { right: auto; left: 4%; }

/* Murciélagos */
.bats { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bat { position: absolute; width: 54px; fill: #1b0b26; filter: drop-shadow(0 0 6px rgba(255, 122, 26, .5)); animation: fly 18s linear infinite; }
.bat--1 { top: 18%; animation-duration: 19s; }
.bat--2 { top: 32%; width: 36px; animation-duration: 26s; animation-delay: -8s; }
.bat--3 { top: 60%; width: 44px; animation-duration: 22s; animation-delay: -15s; }
.bat--4 { top: 8%; width: 30px; animation-duration: 30s; animation-delay: -3s; }
@keyframes fly {
  0% { transform: translate(-80px, 0) scaleY(1); }
  10% { transform: translate(10vw, -20px) scaleY(.6); }
  20% { transform: translate(20vw, 10px) scaleY(1); }
  35% { transform: translate(35vw, -30px) scaleY(.6); }
  50% { transform: translate(50vw, 0) scaleY(1); }
  65% { transform: translate(65vw, -25px) scaleY(.6); }
  80% { transform: translate(80vw, 15px) scaleY(1); }
  100% { transform: translate(calc(100vw + 80px), -10px) scaleY(.6); }
}

/* Sección de la oferta */
.hwoffer { padding-top: clamp(70px, 9vw, 110px); padding-bottom: clamp(40px, 6vw, 70px); }
.hwoffer__card { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 50px); align-items: center;
  padding: clamp(26px, 4vw, 50px); border-radius: 32px; border: 2px dashed rgba(255, 122, 26, .55);
  background: radial-gradient(600px circle at 20% 30%, rgba(255, 122, 26, .16), transparent 60%), radial-gradient(600px circle at 90% 90%, rgba(163, 92, 255, .2), transparent 60%), rgba(18, 9, 28, .78);
  box-shadow: 0 40px 120px -40px rgba(255, 122, 26, .6); }
.hwoffer__art { width: 100%; animation: bob 4.5s ease-in-out infinite; }
.hwoffer__copy { display: grid; gap: 14px; justify-items: start; }
.hwoffer__copy h2 { font-size: clamp(34px, 5vw, 64px); background: linear-gradient(100deg, #ffd166, #ff7a1a 55%, #ff3d7f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hwoffer__copy .lead { margin-top: 0; }
.hwoffer__price { display: flex; align-items: center; gap: 10px; direction: ltr; flex-wrap: wrap; }
.hwoffer__price s { font: 700 34px/1 "Unbounded", sans-serif; color: var(--mute); text-decoration-color: #ff3d7f; text-decoration-thickness: 4px; }
.hwoffer__price .plan__amount { font-size: clamp(72px, 9vw, 120px); background: linear-gradient(100deg, #ffd166, #ff7a1a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(255, 122, 26, .5)); }
.hwoffer__price .plan__cur { font-size: 40px; color: #ffb347; align-self: flex-start; margin-top: 18px; }
.hwoffer__off { font: 800 18px/1 "Unbounded", sans-serif; color: #fff; background: #ff3d7f; padding: 8px 12px; border-radius: 999px; transform: rotate(-6deg); box-shadow: 0 8px 26px -6px rgba(255, 61, 127, .8); }
.hwoffer__ends { font: 600 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #ffb347; }
html[lang="ar"] .hwoffer__ends { letter-spacing: 0; font-family: var(--body); }
.countdown { display: flex; gap: 10px; direction: ltr; }
.countdown div { display: grid; justify-items: center; gap: 4px; min-width: 70px; padding: 12px 8px; border-radius: 16px; background: rgba(255, 122, 26, .1); border: 1px solid rgba(255, 122, 26, .4); }
.countdown b { font: 800 30px/1 "Unbounded", sans-serif; color: #fff; }
.countdown span { font: 600 11px/1 var(--body); color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.hwoffer .btn--hw { margin-top: 6px; padding: 18px 30px; font-size: 16px; }

@media (max-width: 920px) {
  .hwoffer__card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hwoffer__art { width: 170px; }
  .hwoffer__copy { justify-items: center; }
  .hwoffer__price { justify-content: center; }
  .hwoffer__copy .hud--label { text-align: center; }
  .hwbar { font-size: 12px; gap: 6px; padding: 6px 10px; }
  .hwbar b { font-weight: 700; line-height: 1.25; }
}
@media (max-width: 560px) {
  .countdown { gap: 6px; }
  .countdown div { min-width: 0; flex: 1; padding: 10px 4px; }
  .countdown b { font-size: 22px; }
  .hwoffer__price s { font-size: 26px; }
  html.halloween .nav { top: 54px; }
  html.halloween .hero { padding-top: 170px; }
}
