/* =========================================================================
   Glim — glim.space landing
   Tema cósmico oscuro · gradiente de marca rosa → magenta → violeta
   Sin frameworks. Vanilla CSS con custom properties.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Marca (muestreados del icono/app real) */
  --pink:    #FF2E84;
  --magenta: #D348D9;
  --violet:  #9B4DFF;
  --green:   #15CF5B; /* acento IA (Ask Glimmy) */

  --grad:      linear-gradient(120deg, #FF2E84 0%, #D348D9 48%, #9B4DFF 100%);
  --grad-rev:  linear-gradient(120deg, #9B4DFF 0%, #D348D9 52%, #FF2E84 100%);
  --grad-text: linear-gradient(100deg, #FF5BA0 0%, #E162E6 45%, #A66BFF 100%);

  /* Superficies */
  --bg:        #08060F;
  --bg-2:      #0B0817;
  --bg-elev:   #110D20;
  --text:      #F5F3FA;
  --text-2:    #C8C3D6;
  --muted:     #9A93AD;
  --muted-2:   #6E6880;
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(255, 255, 255, 0.14);
  --card:      rgba(255, 255, 255, 0.035);
  --card-2:    rgba(255, 255, 255, 0.055);

  /* Forma */
  --r-xs: 10px;
  --r-sm: 14px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  --container: 1180px;
  --gutter: 24px;

  /* Sombras / glows */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow:    0 18px 50px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.6);
  --glow-pink: 0 14px 50px rgba(255, 46, 132, 0.45);
  --glow-violet: 0 14px 50px rgba(155, 77, 255, 0.4);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: rgba(255, 46, 132, 0.35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #241d38; border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #34294f; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: var(--card);
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px var(--pink);
}

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; font-weight: 700; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: var(--pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: var(--glow-pink);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(255, 46, 132, 0.6); background-position: 100% 50%; }
.btn--ghost { color: var(--text); background: var(--card); border: 1px solid var(--border-2); }
.btn--ghost:hover { transform: translateY(-2px); background: var(--card-2); border-color: rgba(255,255,255,0.28); }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Store badges (SVG-based) */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 17px;
  border-radius: var(--r-sm);
  background: #fff;
  color: #000;
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0,0,0,0.5); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge .sb-top { font-size: 0.62rem; letter-spacing: 0.04em; opacity: 0.7; text-transform: uppercase; }
.store-badge .sb-bot { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Background atmosphere ---------- */
#stars {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.bg-aura {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-aura::before, .bg-aura::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
}
.bg-aura::before {
  width: 60vw; height: 60vw; top: -22vw; left: -14vw;
  background: radial-gradient(circle, rgba(255, 46, 132, 0.5), transparent 65%);
}
.bg-aura::after {
  width: 55vw; height: 55vw; top: 6vw; right: -18vw;
  background: radial-gradient(circle, rgba(155, 77, 255, 0.5), transparent 65%);
}
.page { position: relative; z-index: 1; }

/* Section divider glow line */
.hr-glow { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--border-2), transparent); margin: 0; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav.scrolled {
  background: rgba(8, 6, 15, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.32rem; letter-spacing: -0.04em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px rgba(255, 46, 132, 0.4); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--text-2); font-weight: 500; font-size: 0.95rem;
  padding: 9px 14px; border-radius: var(--pill); transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: var(--card); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.icon-link {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; color: var(--text-2);
  border: 1px solid var(--border); background: var(--card);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-link:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-2px); }
.icon-link svg { width: 19px; height: 19px; }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 3px auto; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* =========================================================================
   HERO — Órbita cósmica
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 88px 0 40px;
  text-align: center; overflow: hidden;
}
.hero__orbit {
  position: relative; width: min(198px, 42vw); height: min(198px, 42vw); margin: 0 auto 18px;
  display: grid; place-items: center;
}
.hero__glow {
  position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 72, 217, 0.5), rgba(155,77,255,0.16) 45%, transparent 70%);
  filter: blur(26px);
  animation: pulse 6s ease-in-out infinite;
}
/* wrapper: entrada con escala (heroIn una vez); aspect-ratio fija el tamaño del SVG */
.hero__planet {
  position: relative; z-index: 3; width: 66%; aspect-ratio: 815 / 923;
  opacity: 0; transform: scale(0.82);
  animation: heroIn 1s var(--ease-out) 0.1s forwards;
}
/* img interno: flotación continua (translateY) sin chocar con la escala */
.hero__planet img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 18px 40px rgba(255, 46, 132, 0.45));
  animation: floaty 7s ease-in-out infinite;
}
/* Anillos de órbita */
.orbit-ring {
  position: absolute; inset: 0; z-index: 2;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.orbit-ring svg { width: 100%; height: 100%; overflow: visible; }
.orbit-ring .ring-path { fill: none; stroke: url(#ringGrad); stroke-width: 1.2; opacity: 0.55; }
.orbit-ring--a { animation: spin 26s linear infinite; transform: rotateZ(0deg); }
.orbit-ring--b { animation: spin 38s linear infinite reverse; }
.orbit-ring--b .ring-path { opacity: 0.28; }
/* El satélite vive en un wrapper que rota: escala con el tamaño del orbe */
.sat-orbit { position: absolute; inset: 0; z-index: 4; animation: spin 14s linear infinite; }
.sat-orbit--2 { animation-duration: 20s; animation-direction: reverse; }
.satellite {
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px 2px rgba(255, 91, 160, 0.95), 0 0 30px rgba(155,77,255,0.75);
}
.sat-orbit--2 .satellite { width: 8px; height: 8px; background: #fff; box-shadow: 0 0 12px 2px rgba(255,255,255,0.8); }
/* Destellos extra titilando */
.spark { position: absolute; z-index: 5; color: #fff; opacity: 0.9; animation: twinkle 3.4s ease-in-out infinite; }
.spark svg { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(255, 91, 160, 0.9)); }
.spark--1 { top: 4%;  right: 18%; width: 22px; animation-delay: 0.2s; }
.spark--2 { top: 22%; right: 2%;  width: 14px; animation-delay: 1.1s; }
.spark--3 { bottom: 14%; left: 6%; width: 17px; animation-delay: 2s; }

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  font-weight: 800;
  max-width: 16ch;
  margin: 0 auto 16px;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero__sub { font-size: clamp(1rem, 1.9vw, 1.2rem); color: var(--muted); max-width: 54ch; margin: 0 auto 26px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero__trust { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; color: var(--muted-2); font-size: 0.9rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--green); }

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--muted-2); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card);
  animation: bob 2.2s ease-in-out infinite;
  transition: color 0.2s, border-color 0.2s; z-index: 4;
}
.scroll-cue:hover { color: var(--text); border-color: var(--border-2); }
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* =========================================================================
   STAT / TRUST STRIP
   ========================================================================= */
.marquee-wrap { border-block: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats .stat { padding: 30px 16px; border-left: 1px solid var(--border); }
.stats .stat:first-child { border-left: 0; }
.stat__num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }

/* =========================================================================
   FEATURES
   ========================================================================= */
#features { position: relative; }
#features::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: 12%; left: 50%; transform: translateX(-50%);
  width: min(900px, 90%); height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 77, 255, 0.16), rgba(255,46,132,0.08) 45%, transparent 70%);
  filter: blur(60px);
}
#features .container { position: relative; z-index: 1; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(130% 80% at 0% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none; opacity: 0;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 0.35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.feature:hover::after { opacity: 1; }
.feature__icon {
  position: relative;
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad);
  background-size: 140% 140%;
  box-shadow: 0 10px 24px rgba(255, 46, 132, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #fff;
  transition: transform 0.35s var(--ease), background-position 0.5s;
}
.feature:hover .feature__icon { transform: translateY(-2px) rotate(-4deg); background-position: 100% 50%; }
.feature__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 55%);
}
.feature__icon svg { width: 25px; height: 25px; position: relative; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.feature--wide { grid-column: span 1; }

/* =========================================================================
   SHOWCASE / SPOTLIGHTS
   ========================================================================= */
/* Pantallas sin marco: esquinas redondeadas horneadas en el PNG, sombra que las sigue */
.device { position: relative; width: 100%; }
.device img { width: 100%; display: block; filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.5)); }
.device--float { animation: floaty 8s ease-in-out infinite; }

.spotlight { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 88px); }
.spotlight + .spotlight { margin-top: clamp(80px, 11vw, 150px); }
.spotlight:nth-child(even) .spotlight__media { order: 2; }
.spotlight__media { max-width: 320px; justify-self: center; }
.spotlight__media.is-right { justify-self: center; }
.spotlight__text .eyebrow { margin-bottom: 18px; }
.spotlight__text h2 { margin-bottom: 16px; }
.spotlight__text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--pink); margin-top: 1px; }

/* Gallery: marquee animado, con bordes desvanecidos (nunca se ve "cortado") */
.marquee {
  position: relative; overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 75s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .device {
  flex: 0 0 232px; margin-right: 24px;
  transition: transform 0.4s var(--ease);
}
.marquee .device:hover { transform: translateY(-8px) scale(1.02); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================================
   AI — Ask Glimmy
   ========================================================================= */
.ai {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(21,207,91,0.16), transparent 50%),
    radial-gradient(120% 120% at 0% 100%, rgba(155,77,255,0.18), transparent 55%),
    var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.ai__badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  padding: 7px 14px 7px 8px; border-radius: var(--pill);
  background: rgba(21,207,91,0.12); border: 1px solid rgba(21,207,91,0.35); color: #6cf2a0;
  font-weight: 600; font-size: 0.85rem;
}
.ai__badge img { width: 26px; height: 26px; border-radius: 7px; }
.ai h2 { margin-bottom: 16px; }
.ai p { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; max-width: 48ch; }
.ai__media { position: relative; justify-self: center; }
.ai__glimmy { width: min(330px, 70vw); filter: drop-shadow(0 24px 50px rgba(155,77,255,0.45)); animation: floaty 6.5s ease-in-out infinite; }
.chat-bubble {
  position: absolute; left: -8%; bottom: 14%;
  background: rgba(20,16,34,0.9); border: 1px solid var(--border-2);
  border-radius: 16px 16px 16px 4px; padding: 12px 16px; max-width: 220px;
  font-size: 0.9rem; color: var(--text-2); backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.chat-bubble strong { color: #6cf2a0; }

/* =========================================================================
   VIDEO — See it in action
   ========================================================================= */
.video-stage { position: relative; display: grid; place-items: center; padding-block: 12px; }
.video-stage::before {
  content: ""; position: absolute; z-index: 0;
  width: min(540px, 86vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,72,217,0.42), rgba(155,77,255,0.16) 45%, transparent 68%);
  filter: blur(46px);
}
.video-device { max-width: 286px; position: relative; z-index: 1; }
.video-device video { border-radius: 38px; width: 100%; display: block; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.tcols { columns: 3; column-gap: 18px; }
.tcard {
  break-inside: avoid; margin-bottom: 18px;
  padding: 24px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.tcard:hover { transform: translateY(-4px); border-color: var(--border-2); }
.tcard__stars { display: flex; gap: 3px; margin-bottom: 13px; color: #FFC83D; }
.tcard__stars svg { width: 17px; height: 17px; }
.tcard h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.tcard p { color: var(--text-2); font-size: 0.98rem; }
.tcard__src { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted-2); font-size: 0.82rem; }
.tcard__src svg { width: 15px; height: 15px; }

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.plan:hover { transform: translateY(-4px); }
.plan--featured {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,46,132,0.16), transparent 60%),
    var(--bg-elev);
  border-color: rgba(255,46,132,0.4);
  box-shadow: 0 20px 60px rgba(255, 46, 132, 0.22);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--pill);
  box-shadow: var(--glow-pink); white-space: nowrap;
}
.plan__name { display: flex; align-items: center; gap: 9px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.plan__name .ico { width: 26px; height: 26px; }
.plan__price { margin: 16px 0 4px; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; }
.plan__price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__tag { color: var(--muted); font-size: 0.92rem; min-height: 1.2em; }
.plan ul { margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); font-size: 0.96rem; }
.plan li svg { width: 19px; height: 19px; flex: none; color: var(--pink); margin-top: 2px; }
.plan li.muted { color: var(--muted-2); }
.plan li.muted svg { color: var(--muted-2); }
.plan .btn { margin-top: auto; }
.plan__soon { margin-top: auto; text-align: center; color: var(--muted-2); font-weight: 600; padding: 14px; border: 1px dashed var(--border-2); border-radius: var(--pill); }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(44px, 7vw, 84px);
  text-align: center;
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255,46,132,0.5), transparent 55%),
    radial-gradient(100% 140% at 100% 100%, rgba(155,77,255,0.5), transparent 55%),
    #120c20;
  border: 1px solid var(--border-2);
}
.cta-band h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-2); font-size: 1.15rem; margin-bottom: 30px; }
.cta-band .stores { justify-content: center; }
.cta-band__glimmy { width: 120px; margin: 0 auto 8px; animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.4)); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--border); padding-block: 64px 36px; background: rgba(0,0,0,0.2); }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 32ch; font-size: 0.96rem; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 16px; font-weight: 700; }
.footer__col a { display: block; color: var(--text-2); padding: 6px 0; font-size: 0.96rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 0.88rem; flex-wrap: wrap; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--text); }
.footer__bottom-left { display: inline-flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
.powered-by { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 0.85rem; transition: color 0.2s; }
.powered-by:hover { color: var(--text); }
.powered-by img { width: 18px; height: 18px; display: block; }
.powered-by span { font-weight: 600; color: var(--muted); }
.powered-by:hover span { color: var(--text); }

/* =========================================================================
   Animaciones
   ========================================================================= */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { opacity: 0.45; transform: scale(0.97); } 50% { opacity: 0.7; transform: scale(1.05); } }
@keyframes spin { to { transform: rotateZ(360deg); } }
@keyframes twinkle { 0%,100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* Hero entrance */
.orbit-ring, .sat-orbit { opacity: 0; }
.orbit-ring.lit { opacity: 1; transition: opacity 1.1s ease 0.4s; }
.sat-orbit.lit { opacity: 1; transition: opacity 1.1s ease 0.7s; }
@keyframes heroIn { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: scale(1); } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .ai { grid-template-columns: 1fr; text-align: center; }
  .ai p { margin-inline: auto; }
  .ai__badge { margin-inline: auto; }
  .spotlight { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .spotlight:nth-child(even) .spotlight__media { order: 0; }
  .spotlight__text .eyebrow { margin-inline: auto; }
  .spotlight__media { order: -1 !important; max-width: 270px; }
  .checklist { display: inline-grid; text-align: left; }
  .tcols { columns: 2; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__actions .btn--primary span.hide-sm { display: none; }
  .nav__burger { display: block; }
  /* Menu móvil */
  .mobile-menu {
    position: fixed; inset: 72px 0 auto 0; z-index: 99;
    background: rgba(8,6,15,0.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s, opacity 0.3s; padding: 18px var(--gutter) 26px;
  }
  .nav.open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 8px; font-size: 1.05rem; color: var(--text-2); border-bottom: 1px solid var(--border); }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(odd) { border-left: 0; }
  .stats .stat:nth-child(3), .stats .stat:nth-child(4) { border-top: 1px solid var(--border); }
  .features-grid { grid-template-columns: 1fr; }
  .tcols { columns: 1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
}
.mobile-menu { display: none; }
@media (max-width: 720px) { .mobile-menu { display: block; } }

/* =========================================================================
   LEGAL / PROSE (privacy, terms, eula, child safety)
   ========================================================================= */
.legal-hero { padding: 132px 0 8px; text-align: center; position: relative; }
.legal-hero .eyebrow { margin-bottom: 20px; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 12px; }
.legal-hero .effective { color: var(--muted); font-size: 0.95rem; }
.legal-wrap { padding: 40px 0 clamp(72px, 10vw, 120px); }
.prose { max-width: 760px; margin-inline: auto; }
.prose section { margin-bottom: 30px; }
.prose .lead { font-size: 1.1rem; color: var(--text-2); margin-bottom: 36px; }
.prose h2 {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 14px; display: flex; gap: 12px; align-items: baseline;
}
.prose h2 .num {
  font-size: 0.95rem; font-weight: 800; flex: none;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prose p { color: var(--text-2); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { display: grid; gap: 11px; margin: 4px 0 14px; }
.prose li { position: relative; padding-left: 26px; color: var(--text-2); }
.prose li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 8px rgba(255, 46, 132, 0.6);
}
.prose a { color: #ff85b5; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); font-weight: 600; }
.legal-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px);
}
.legal-more { max-width: 760px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.legal-more a {
  font-size: 0.9rem; color: var(--text-2); padding: 9px 16px;
  border: 1px solid var(--border); border-radius: var(--pill); background: var(--card); transition: all 0.2s;
}
.legal-more a:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-2px); }
.legal-more a[aria-current="page"] { color: #fff; background: var(--grad); border-color: transparent; }

/* ---------- Utilidades finales ---------- */
/* Offset para que el nav fijo no tape los títulos al saltar por ancla */
section[id], main[id] { scroll-margin-top: 88px; }
/* Saltos de línea sólo en pantallas grandes */
.br-lg { display: inline; }
@media (max-width: 720px) { .br-lg { display: none; } }
.show-sm { display: none; }
