/* ==========================================================================
   DominaVinted — landing
   Identidad: negro profundo + turquesa, corona, trazos de pincel y notas a mano.
   ========================================================================== */

/* ---------- Fuentes (autoalojadas, subset latin) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat Brush";
  src: url("../fonts/caveat-brush-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #050708;
  --bg-alt: #080c0e;
  --card: #0c1214;
  --card-2: #0a0f11;
  --line: rgba(214, 255, 252, 0.09);
  --line-strong: rgba(46, 230, 224, 0.38);
  --text: #eef6f6;
  --muted: #93a5a7;
  --cyan: #2ee6e0;
  --cyan-hi: #6ff3ee;
  --cyan-deep: #0fb3b0;
  --cyan-a10: rgba(46, 230, 224, 0.1);
  --cyan-a20: rgba(46, 230, 224, 0.2);
  --ink: #031012;
  --danger: #ff5d73;
  --amber: #ffc94d;

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat Brush", "Segoe Print", "Comic Sans MS", cursive;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("../img/noise.svg");
  opacity: 0.045;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; color: #fff; }
::selection { background: var(--cyan); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  translate: 0 -150%;
  transition: translate 0.2s;
}
.skip-link:focus { translate: 0 0; }

/* Iconos */
.i {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fill { fill: currentColor; stroke: none; }

/* ---------- Piezas de marca ---------- */
.brush {
  color: var(--ink);
  background: url("../img/brush.svg") no-repeat left center / 100% 100%;
  padding: 0.04em 0.3em 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hl {
  color: var(--cyan);
  background: url("../img/stroke.svg") no-repeat left 100% / 100% 0.22em;
  padding-bottom: 0.12em;
  transition: background-size 1s var(--ease) 0.35s;
}
.js .hl { background-size: 0% 0.22em; }
.js .is-in .hl,
.js .hl.is-in { background-size: 100% 0.22em; }

.scribble {
  font-family: var(--font-hand);
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 0;
  line-height: 1.05;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.kicker b {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--cyan-a10);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.55em 1em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(46, 230, 224, 0.07);
  border: 1px solid var(--line-strong);
  text-decoration: none;
}
.pill .i { color: var(--cyan); }
.pill strong { color: var(--cyan); }
.pill--glow {
  position: relative;
  transition: background 0.3s, translate 0.3s;
}
.pill--glow:hover { background: rgba(46, 230, 224, 0.14); translate: 0 -1px; }
.pill--glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--cyan) 85%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-angle 4s linear infinite;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin-angle { to { --angle: 360deg; } }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.35em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: translate 0.25s var(--ease), box-shadow 0.3s, background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn .i { transition: translate 0.25s var(--ease); }
.btn:hover .i:last-child { translate: 3px 0; }
.btn--primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(46, 230, 224, 0.65), inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}
.btn--primary:hover {
  background: var(--cyan-hi);
  translate: 0 -2px;
  box-shadow: 0 18px 44px -12px rgba(46, 230, 224, 0.85), inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}
.btn--primary:active { translate: 0 0; }
.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); translate: 0 -2px; }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: var(--cyan); translate: 0 -2px; }
.btn--sm { font-size: 0.88rem; padding: 0.7em 1.1em; }
.btn--lg { font-size: 1.05rem; padding: 1.1em 1.6em; }
.btn--block { width: 100%; }
.btn__price {
  padding: 0.3em 0.6em;
  border-radius: 999px;
  background: rgba(3, 16, 18, 0.14);
  font-size: 0.92em;
}
.btn--shine { overflow: hidden; }
.btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.6) 48%, transparent 60%);
  background-size: 260% 100%;
  background-position: 120% 0;
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine {
  0%, 55% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

/* ---------- Barra de progreso ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan), #fff);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px var(--cyan);
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 7, 8, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo__crown { color: var(--cyan); width: 1.3em; height: 1.3em; }
.logo__b { color: var(--cyan); font-style: italic; margin-left: -0.15em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__x { display: inline-flex; align-items: center; gap: 6px; }
.nav__x .i { width: 0.95em; height: 0.95em; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.nav__toggle .i { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav__toggle { display: grid; }
  .nav__cta { margin-left: auto; }
  .nav__links {
    position: absolute;
    top: 72px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(9, 13, 15, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    translate: 0 -10px;
    visibility: hidden;
    transition: opacity 0.25s, translate 0.25s var(--ease), visibility 0.25s;
  }
  .nav__links a { padding: 14px 16px; font-size: 1.02rem; color: var(--text); }
  .nav.is-open .nav__links { opacity: 1; translate: 0 0; visibility: visible; }
  .nav.is-open { background: rgba(5, 7, 8, 0.92); }
}
/* En móvil la compra va en la barra fija inferior: el botón del menú superior sobra */
@media (max-width: 760px) {
  .nav__cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(110px, 14vw, 150px) 0 clamp(40px, 6vw, 80px);
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 55% at 76% 42%, rgba(46, 230, 224, 0.2), transparent 70%),
    radial-gradient(40% 40% at 8% 8%, rgba(46, 230, 224, 0.08), transparent 70%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: 6%; top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 224, 0.22), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 65% at 60% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 65% at 60% 40%, #000 10%, transparent 75%);
}
@keyframes drift {
  from { translate: 0 0; scale: 1; }
  to { translate: -120px 60px; scale: 1.25; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .pill { margin-bottom: 26px; }

.hero__title {
  font-size: clamp(2.35rem, 1.1rem + 4.6vw, 4.9rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}
.rotator {
  display: grid;
  justify-items: start;
  margin-top: 0.08em;
  font-style: italic;
}
.rotator__word {
  grid-area: 1 / 1;
  opacity: 0;
  translate: 0 0.45em;
  transition: opacity 0.5s var(--ease), translate 0.6s var(--ease);
  pointer-events: none;
}
.rotator__word .brush {
  background-size: 0% 100%;
  transition: background-size 0.65s var(--ease) 0.08s;
}
.rotator__word.is-active { opacity: 1; translate: 0 0; }
.rotator__word.is-active .brush { background-size: 100% 100%; }
.rotator__word.is-leaving { opacity: 0; translate: 0 -0.45em; }
.rotator__word.is-leaving .brush { background-size: 100% 100%; }

.hero__lead {
  max-width: 560px;
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 34px;
}
.hero__lead strong { color: var(--cyan); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { color: var(--cyan); }

/* Animación de entrada del hero (no depende de JS) */
.intro { animation: intro 0.9s var(--ease) backwards; }
.intro--2 { animation-delay: 0.08s; }
.intro--3 { animation-delay: 0.18s; }
.intro--4 { animation-delay: 0.28s; }
.intro--5 { animation-delay: 0.38s; }
@keyframes intro {
  from { opacity: 0; translate: 0 26px; filter: blur(6px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

/* Visual del hero */
.hero__visual {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
  animation: intro 1.1s var(--ease) 0.25s backwards;
}
.ring {
  position: absolute;
  width: 470px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(46, 230, 224, 0.28);
  animation: spin 60s linear infinite;
}
.ring::before,
.ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.ring::before { inset: 60px; border: 1px solid rgba(46, 230, 224, 0.1); }
.ring::after {
  width: 12px; height: 12px;
  top: 50%; left: -6px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}
@keyframes spin { to { rotate: 360deg; } }

.book-float { position: relative; animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.book {
  --w: 270px;
  --h: 360px;
  --t: 30px;
  position: relative;
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateY(calc(-24deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg)));
  transition: transform 0.6s var(--ease);
}
.book__face { position: absolute; }
.book__face--front {
  inset: 0;
  transform: translateZ(calc(var(--t) / 2));
  border-radius: 4px 12px 12px 4px;
  padding: 28px 24px 22px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 80% 0%, rgba(46, 230, 224, 0.32), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(46, 230, 224, 0.16), transparent 60%),
    linear-gradient(160deg, #0f1a1c, #050909 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.book__face--front::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(255, 255, 255, 0.06) 60%, transparent);
}
.book__face--front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 45%, transparent 55%);
  background-size: 300% 100%;
  animation: glare 6s ease-in-out infinite;
}
@keyframes glare {
  0%, 60% { background-position: 120% 0; }
  100% { background-position: -60% 0; }
}
.book__crown {
  width: 44px; height: 44px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(46, 230, 224, 0.6));
}
.book__kicker {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.book__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.3rem;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.book__title em {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(46, 230, 224, 0.45);
}
.book__sub {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfe0e1;
}
.book__foot {
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}
.book__face--back {
  inset: 0;
  transform: translateZ(calc(var(--t) / -2)) rotateY(180deg);
  border-radius: 12px 4px 4px 12px;
  background: #061012;
}
.book__face--pages {
  top: 5px;
  bottom: 5px;
  width: var(--t);
  left: calc(100% - var(--t) / 2 - 4px);
  transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f1f5f5 0 2px, #c7d2d3 2px 3px);
}
.book__face--spine {
  top: 0;
  bottom: 0;
  width: var(--t);
  left: calc(var(--t) / -2);
  transform: rotateY(-90deg);
  border-radius: 4px;
  background: linear-gradient(90deg, #031012, #0d2a2c 50%, #031012);
}
.book-shadow {
  position: absolute;
  left: 50%;
  bottom: -46px;
  width: 300px;
  height: 40px;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(46, 230, 224, 0.35), transparent);
  filter: blur(6px);
  animation: shadow 7s ease-in-out infinite;
}
@keyframes shadow {
  0%, 100% { scale: 1; opacity: 0.9; }
  50% { scale: 0.85; opacity: 0.6; }
}

.price-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  rotate: -7deg;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  animation: bob 5s ease-in-out infinite;
}
.price-tag span {
  display: inline-block;
  padding: 0.12em 0.5em 0.18em;
  color: var(--ink);
  background: url("../img/brush.svg") no-repeat center / 100% 100%;
  filter: drop-shadow(0 10px 24px rgba(46, 230, 224, 0.35));
}
.price-tag--static {
  position: static;
  animation: none;
  font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem);
  rotate: -3deg;
}

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(12, 19, 21, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
  animation: bob 6s ease-in-out infinite;
}
.chip .i { color: var(--cyan); }
.chip--1 { top: 205px; left: -6px; animation-delay: -1s; }
.chip--2 { top: 165px; right: -4px; animation-delay: -2.5s; }
.chip--3 { bottom: 150px; left: 6px; animation-delay: -4s; }
.chip--4 {
  bottom: 70px; right: 0;
  animation-delay: -3s;
  background: var(--cyan);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 16px 40px -14px rgba(46, 230, 224, 0.7);
}
.chip--4 .i { color: var(--ink); }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.toast {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: rgba(12, 19, 21, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9), 0 0 40px -20px rgba(46, 230, 224, 0.6);
  transition: opacity 0.45s var(--ease), translate 0.45s var(--ease-spring);
}
.toast.is-hidden { opacity: 0; translate: -16px 0; }
.toast__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--cyan);
  color: var(--ink);
}
.toast__icon .i { stroke-width: 3; }
.toast__body { display: flex; flex-direction: column; line-height: 1.25; }
.toast__body strong { font-family: var(--font-display); font-size: 0.95rem; }
.toast__body small { color: var(--muted); font-size: 0.8rem; }

.scribble--hero {
  position: absolute;
  left: 4px;
  bottom: 6px;
  z-index: 3;
  font-size: 1.7rem;
  rotate: -6deg;
}
.scribble__arrow {
  position: absolute;
  width: 74px;
  height: 50px;
  right: -78px;
  top: -18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw 1.2s var(--ease) 1.2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .hero__visual { height: 500px; max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero__visual { height: 430px; }
  .book { --w: 205px; --h: 274px; --t: 24px; }
  .book__face--front { padding: 20px 18px 16px 22px; }
  .book__crown { width: 34px; height: 34px; margin-bottom: 10px; }
  .book__title { font-size: 1.8rem; }
  .book__sub { font-size: 0.64rem; }
  .ring { width: 340px; }
  .book-shadow { width: 220px; bottom: -36px; }
  .price-tag { font-size: 1.6rem; top: 8px; right: 4px; }
  .toast { top: 10px; }
  .chip { font-size: 0.78rem; padding: 8px 12px; }
  .chip--1, .chip--3, .scribble--hero { display: none; }
  .chip--2 { top: auto; bottom: 92px; right: -4px; }
  .chip--4 { bottom: 40px; right: auto; left: 0; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Cintas ---------- */
.tapes {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.tape {
  position: absolute;
  left: -5%;
  width: 110%;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 0.8rem + 1vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
}
.tape--a {
  top: 46px;
  z-index: 2;
  rotate: -3deg;
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 20px 60px -20px rgba(46, 230, 224, 0.6);
}
.tape--b {
  top: 56px;
  rotate: 2.5deg;
  background: #0b1214;
  color: #c9d6d7;
  border-block: 1px solid var(--line);
}
.tape__track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.tape--b .tape__track { animation-duration: 70s; animation-direction: reverse; }
.tape__track > * { padding-right: 26px; }
.tape__track i { font-style: normal; opacity: 0.6; }
.tape--b .tape__track i { color: var(--cyan); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cifras ---------- */
.stats { padding: 30px 0 10px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 26px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 20%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: 0.45em; margin-left: 0.15em; letter-spacing: 0; }
.stat__label { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
@media (max-width: 820px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .stat { padding: 22px 16px; }
}

/* ---------- Secciones ---------- */
.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 140px);
}
.section--alt {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(46, 230, 224, 0.06), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}
.section--tight { padding-block: clamp(60px, 8vw, 100px); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(2rem, 1.25rem + 3vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.section__lead { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); color: var(--muted); }
.section__lead a { color: var(--cyan); }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1020px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards--4, .cards--3 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  transition: translate 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 230, 224, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover {
  translate: 0 -4px;
  border-color: rgba(46, 230, 224, 0.3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(46, 230, 224, 0.06);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--cyan-a10);
  border: 1px solid rgba(46, 230, 224, 0.28);
  color: var(--cyan);
  transition: transform 0.4s var(--ease-spring), background-color 0.3s, color 0.3s;
}
.card__icon .i { width: 22px; height: 22px; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: var(--cyan); color: var(--ink); }

/* ---------- Pasos de una venta ---------- */
.steps {
  margin-top: 56px;
  padding: 34px clamp(20px, 3vw, 40px) 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(46, 230, 224, 0.05), transparent 70%);
}
.steps__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.steps__list::before,
.steps__list::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 22px;
  right: calc(20% - 22px);
  height: 2px;
  background: var(--line);
}
.steps__list::after {
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease) 0.3s;
}
.steps.is-in .steps__list::after,
html:not(.js) .steps__list::after { transform: scaleX(1); }
.steps__list li { position: relative; display: flex; flex-direction: column; gap: 4px; }
.steps__dot {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 900;
  position: relative;
  z-index: 1;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.steps.is-in .steps__dot { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.steps.is-in li:nth-child(1) .steps__dot { transition-delay: 0.3s; }
.steps.is-in li:nth-child(2) .steps__dot { transition-delay: 0.65s; }
.steps.is-in li:nth-child(3) .steps__dot { transition-delay: 1s; }
.steps.is-in li:nth-child(4) .steps__dot { transition-delay: 1.35s; }
.steps.is-in li:nth-child(5) .steps__dot { transition-delay: 1.7s; }
.steps__list strong { font-family: var(--font-display); font-size: 1.05rem; }
.steps__list span:last-child { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
@media (max-width: 820px) {
  .steps__list { grid-template-columns: 1fr; gap: 22px; }
  .steps__list::before,
  .steps__list::after {
    top: 22px; bottom: 22px; left: 21px; right: auto;
    width: 2px; height: auto;
  }
  .steps__list::after { transform-origin: 50% 0; transform: scaleY(0); }
  .steps.is-in .steps__list::after,
  html:not(.js) .steps__list::after { transform: scaleY(1); }
  .steps__list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; }
  .steps__dot { grid-row: span 2; margin-bottom: 0; }
}

.footnote {
  margin-top: 26px;
  font-size: 0.82rem;
  color: #6f8183;
  max-width: 820px;
}

/* ---------- Novato vs pro ---------- */
.mode {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(18px, 3vw, 34px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0b1113, #070b0c);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  transition: border-color 0.5s, box-shadow 0.5s;
}
.mode[data-mode="pro"] {
  border-color: rgba(46, 230, 224, 0.35);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(46, 230, 224, 0.45);
}
.mode__switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 520px;
  margin: 0 auto 26px;
  padding: 6px;
  border-radius: 999px;
  background: #060a0b;
  border: 1px solid var(--line);
}
.mode__btn {
  position: relative;
  z-index: 1;
  padding: 13px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.35s;
}
.mode__btn[aria-pressed="true"] { color: #fff; }
.mode[data-mode="pro"] .mode__btn[aria-pressed="true"] { color: var(--ink); }
.mode__thumb {
  position: absolute;
  top: 6px; bottom: 6px; left: 6px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background: rgba(255, 93, 115, 0.16);
  border: 1px solid rgba(255, 93, 115, 0.45);
  transition: translate 0.5s var(--ease-spring), background-color 0.4s, border-color 0.4s;
}
.mode[data-mode="pro"] .mode__thumb {
  translate: 100% 0;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 30px -6px rgba(46, 230, 224, 0.7);
}
.mode__rows { display: grid; gap: 10px; }
.mode__row {
  display: grid;
  grid-template-columns: 44px 130px 1fr 34px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition: border-color 0.4s, background-color 0.4s;
}
.mode[data-mode="pro"] .mode__row { border-color: rgba(46, 230, 224, 0.18); background: rgba(46, 230, 224, 0.035); }
.mode__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: background-color 0.4s, color 0.4s;
}
.mode[data-mode="pro"] .mode__icon { background: var(--cyan-a10); color: var(--cyan); }
.mode__label { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.mode__txt { display: grid; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
.mode__n,
.mode__p {
  grid-area: 1 / 1;
  transition: opacity 0.4s var(--ease), translate 0.45s var(--ease), visibility 0.45s;
}
.mode__p { opacity: 0; translate: 0 10px; visibility: hidden; color: var(--text); }
.mode[data-mode="pro"] .mode__n { opacity: 0; translate: 0 -10px; visibility: hidden; }
.mode[data-mode="pro"] .mode__p { opacity: 1; translate: 0 0; visibility: visible; }
.mode__row:nth-child(2) .mode__txt > * { transition-delay: 0.05s; }
.mode__row:nth-child(3) .mode__txt > * { transition-delay: 0.1s; }
.mode__row:nth-child(4) .mode__txt > * { transition-delay: 0.15s; }
.mode__row:nth-child(5) .mode__txt > * { transition-delay: 0.2s; }
.mode__row:nth-child(6) .mode__txt > * { transition-delay: 0.25s; }
.mode__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 93, 115, 0.12);
  color: var(--danger);
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease-spring);
}
.mode__mark .i { grid-area: 1 / 1; width: 18px; height: 18px; stroke-width: 3; transition: opacity 0.3s, scale 0.4s var(--ease-spring); }
.mode__yes { opacity: 0; scale: 0.4; }
.mode[data-mode="pro"] .mode__mark { background: var(--cyan); color: var(--ink); transform: rotate(360deg); }
.mode[data-mode="pro"] .mode__no { opacity: 0; scale: 0.4; }
.mode[data-mode="pro"] .mode__yes { opacity: 1; scale: 1; }
.mode__foot { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 680px) {
  .mode__row { grid-template-columns: 40px 1fr 30px; gap: 4px 12px; padding: 14px; }
  .mode__icon { width: 40px; height: 40px; grid-row: span 2; align-self: start; }
  .mode__label { grid-column: 2; }
  .mode__txt { grid-column: 2; grid-row: 2; font-size: 0.93rem; }
  .mode__mark { grid-column: 3; grid-row: 1 / span 2; width: 30px; height: 30px; }
  .mode__btn { font-size: 0.82rem; padding: 12px 6px; }
}

/* ---------- Calculadora ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.calc .section__head { margin-bottom: 0; }
.calc__card {
  padding: clamp(22px, 3vw, 36px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(46, 230, 224, 0.12), transparent 60%),
    linear-gradient(180deg, #0c1315, #070b0c);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 80px -40px rgba(46, 230, 224, 0.4);
}
.range { display: block; margin-bottom: 26px; }
.range__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
}
.range output {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.range input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan) var(--p, 10%), rgba(255, 255, 255, 0.1) var(--p, 10%));
  cursor: pointer;
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 7px solid var(--cyan);
  box-shadow: 0 0 0 6px rgba(46, 230, 224, 0.16), 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.2s, scale 0.2s;
}
.range input::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 7px solid var(--cyan);
  box-shadow: 0 0 0 6px rgba(46, 230, 224, 0.16), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.range input:active::-webkit-slider-thumb { scale: 1.12; box-shadow: 0 0 0 10px rgba(46, 230, 224, 0.2), 0 6px 18px rgba(0, 0, 0, 0.5); }
.range input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 8px; }

.calc__result {
  margin-top: 8px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(46, 230, 224, 0.06);
  border: 1px dashed rgba(46, 230, 224, 0.35);
  text-align: center;
}
.calc__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.calc__total {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 2rem + 4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(46, 230, 224, 0.4);
  font-variant-numeric: tabular-nums;
}
.calc__payback { margin-top: 10px; color: var(--muted); }
.calc__payback strong { color: var(--cyan); }
.calc__note { margin-top: 16px; font-size: 0.8rem; color: #6f8183; line-height: 1.5; }
@media (max-width: 880px) {
  .calc { grid-template-columns: 1fr; }
}

/* ---------- Lo que aprendes ---------- */
.learn {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.learn__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  margin-top: 44px;
}
.learn__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.learn__meta .i { color: var(--cyan); }
@media (max-width: 1020px) { .learn { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .learn { grid-template-columns: 1fr; } }

/* ---------- Club ---------- */
.club__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.scribble--inline {
  display: inline-block;
  font-size: 1.25em;
  rotate: -4deg;
  translate: 0 0.04em;
}

.chat {
  position: sticky;
  top: 100px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: #0a1012;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(46, 230, 224, 0.35);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.chat__head > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; }
.chat__head strong { font-family: var(--font-display); font-size: 0.98rem; }
.chat__head small { color: var(--muted); font-size: 0.8rem; }
.chat__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
}
.chat__tg { margin-left: auto; color: var(--cyan); }
.chat__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px 22px;
  min-height: 360px;
  background:
    radial-gradient(circle at 20% 20%, rgba(46, 230, 224, 0.05), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(46, 230, 224, 0.05), transparent 40%);
}
.msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.93rem;
  line-height: 1.45;
  background: #131c1e;
  border: 1px solid var(--line);
}
.msg b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 2px;
}
.msg--admin { border-bottom-left-radius: 4px; }
.msg--other { border-bottom-left-radius: 4px; }
.msg--other b { color: var(--amber); }
.msg--me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--cyan);
  color: var(--ink);
  border-color: transparent;
}
.msg--typing { display: inline-flex; gap: 5px; width: max-content; padding: 14px 16px; }
.msg--typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s ease-in-out infinite;
}
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { translate: 0 0; opacity: 0.5; }
  30% { translate: 0 -5px; opacity: 1; }
}
.js .chat .msg { opacity: 0; translate: 0 14px; scale: 0.96; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease-spring), scale 0.5s var(--ease-spring); }
.js .chat.is-in .msg { opacity: 1; translate: 0 0; scale: 1; }
.js .chat.is-in .msg:nth-child(2) { transition-delay: 0.7s; }
.js .chat.is-in .msg:nth-child(3) { transition-delay: 1.4s; }
.js .chat.is-in .msg:nth-child(4) { transition-delay: 2.1s; }
.js .chat.is-in .msg:nth-child(5) { transition-delay: 2.7s; }

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.perk {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  transition: border-color 0.3s, translate 0.3s var(--ease);
}
.perk:hover { border-color: rgba(46, 230, 224, 0.3); translate: 0 -3px; }
.perk .card__icon { margin-bottom: 0; flex-shrink: 0; }
.perk h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.perk p { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 980px) {
  .club__grid { grid-template-columns: 1fr; }
  .chat { position: relative; top: 0; max-width: 560px; }
}
@media (max-width: 600px) {
  .perks { grid-template-columns: 1fr; }
}

/* ---------- Oferta ---------- */
.section--offer { padding-top: 0; }
.offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(26px, 4.5vw, 60px);
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(160deg, #0d1719, #060a0b 65%);
  overflow: hidden;
  isolation: isolate;
}
.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), rgba(46, 230, 224, 0.15), var(--cyan), rgba(46, 230, 224, 0.15) 40%, rgba(46, 230, 224, 0.15) 60%, var(--cyan), rgba(46, 230, 224, 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-angle 8s linear infinite;
}
.offer__glow {
  position: absolute;
  z-index: -2;
  width: 600px; height: 600px;
  right: -200px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 224, 0.25), transparent 65%);
}
.offer h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); font-weight: 800; margin-bottom: 26px; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #c9d6d7; }
.checks .i {
  width: 26px; height: 26px;
  padding: 5px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--cyan-a20);
  color: var(--cyan);
  stroke-width: 3;
}
.checks__gift {
  padding: 14px;
  margin-top: 4px;
  border-radius: 16px;
  background: rgba(46, 230, 224, 0.08);
  border: 1px dashed rgba(46, 230, 224, 0.45);
}
.checks__gift .i { background: var(--cyan); color: var(--ink); stroke-width: 2.4; }
.offer__buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  text-align: center;
}
.offer__price { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.offer__price small { color: var(--muted); font-size: 0.9rem; }
.offer__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.86rem;
  color: var(--muted);
}
.offer__trust li { display: inline-flex; align-items: center; gap: 6px; }
.offer__trust .i { color: var(--cyan); }
.offer__alt { font-size: 0.88rem; color: var(--muted); }
.offer__alt a { color: var(--cyan); }
.offer__alt[hidden] { display: none; }
.offer__note { font-size: 0.78rem; color: #6f8183; }
@media (max-width: 880px) {
  .offer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .offer { padding: 22px 16px; }
  .offer__buy { padding: 20px 14px; }
  .btn--block { white-space: normal; }
}

/* ---------- Stck ---------- */
.stck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.stck .section__head { margin-bottom: 0; }
.stck__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.section__lead strong { color: var(--cyan); }

.dash-wrap { perspective: 1600px; }
.dash {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #0a1012;
  overflow: hidden;
  transform: rotateY(-12deg) rotateX(6deg);
  transition: transform 0.7s var(--ease);
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(46, 230, 224, 0.06),
    0 30px 120px -50px rgba(46, 230, 224, 0.45);
}
.dash:hover { transform: rotateY(0) rotateX(0); }
.dash__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.dash__dots i:first-child { background: var(--cyan); }
.dash__url {
  flex: 1;
  max-width: 240px;
  margin-inline: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.dash__kpis {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
  padding: 16px;
}
.kpi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  overflow: hidden;
}
.kpi small { color: var(--muted); font-size: 0.74rem; }
.kpi strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; }
.kpi--main { background: linear-gradient(160deg, rgba(46, 230, 224, 0.16), rgba(46, 230, 224, 0.02)); border-color: rgba(46, 230, 224, 0.3); }
.kpi--main strong { color: var(--cyan); }
.kpi__alert { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 600; color: var(--amber); }
.kpi__alert .i { width: 12px; height: 12px; }
.spark { width: 100%; height: 38px; margin-top: 6px; overflow: visible; }
.spark path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(46, 230, 224, 0.7));
  stroke-dasharray: 260;
  stroke-dashoffset: 0;
}
.js .dash-wrap .spark path { stroke-dashoffset: 260; transition: stroke-dashoffset 1.8s var(--ease) 0.4s; }
.js .dash-wrap.is-in .spark path { stroke-dashoffset: 0; }
.dash__rows { padding: 0 16px 16px; display: grid; gap: 8px; }
.dash__rows li {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
.dash__thumb {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(140deg, #183235, #0c1618);
  color: var(--cyan);
}
.dash__name { display: flex; flex-direction: column; font-weight: 600; line-height: 1.3; min-width: 0; }
.dash__name small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.76rem; font-weight: 500; }
.dash__name small .i { width: 11px; height: 11px; }
.dash__rows b { font-family: var(--font-display); }
.badge {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge--pub { background: var(--cyan-a10); color: var(--cyan); border: 1px solid rgba(46, 230, 224, 0.3); }
.badge--res { background: rgba(255, 201, 77, 0.1); color: var(--amber); border: 1px solid rgba(255, 201, 77, 0.3); }
.badge--sold { background: var(--cyan); color: var(--ink); }
@media (max-width: 980px) {
  .stck { grid-template-columns: 1fr; }
  .dash { transform: none; }
}
@media (max-width: 480px) {
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .kpi--main { grid-column: span 2; }
  .dash__rows li { grid-template-columns: 36px 1fr auto; }
  .dash__rows .badge { display: none; }
}

.stck__features { margin-bottom: clamp(48px, 6vw, 80px); }

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(46, 230, 224, 0.18), transparent 60%),
    linear-gradient(160deg, #0d1a1c, #070c0d);
  border: 1px solid var(--line-strong);
}
.promo h3 {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 800;
  margin: 18px 0 28px;
}
.bars { display: grid; gap: 14px; }
.bars__row {
  display: grid;
  grid-template-columns: 110px 1fr 64px;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.bars__row b { font-family: var(--font-display); color: var(--text); text-align: right; }
.bars__row--hot { color: var(--text); }
.bars__row--hot b { color: var(--cyan); }
.bars__track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bars__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.28);
}
.bars__fill--short { width: 20%; }
.bars__fill--long {
  width: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  box-shadow: 0 0 16px rgba(46, 230, 224, 0.6);
}
.js .promo .bars__fill { width: 0; transition: width 1.4s var(--ease) 0.3s; }
.js .promo.is-in .bars__fill--short { width: 20%; }
.js .promo.is-in .bars__fill--long { width: 100%; transition-delay: 0.6s; }
.promo__steps { display: grid; gap: 14px; align-content: center; }
.promo__steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}
.promo__steps li > span {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
}
.promo__steps strong { font-family: var(--font-display); display: block; margin-bottom: 2px; }
.promo__steps p { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.promo__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 880px) {
  .promo { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .bars__row { grid-template-columns: 1fr 64px; }
  .bars__row > span { grid-column: 1 / -1; }
  .promo__actions .btn, .stck__actions .btn { width: 100%; }
}

/* ---------- Fundador ---------- */
.founder {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #0c1416, #070b0c);
}
.founder__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #173638, #050909);
  color: var(--cyan);
}
.founder__avatar .i { width: 52px; height: 52px; stroke-width: 1.6; filter: drop-shadow(0 0 12px rgba(46, 230, 224, 0.6)); }
.founder__avatar::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from var(--angle, 0deg), var(--cyan), transparent 40%, var(--cyan) 70%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-angle 5s linear infinite;
}
.founder h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; margin-bottom: 10px; }
.founder__handle { color: var(--cyan); font-size: 0.6em; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.founder p { color: var(--muted); max-width: 620px; }
.founder .kicker { margin-bottom: 12px; }
.founder .scribble--sign { margin-top: 12px; font-size: 1.6rem; rotate: -3deg; display: inline-block; color: var(--cyan); }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; text-align: left; }
  .founder__avatar { width: 92px; height: 92px; }
  .founder__avatar .i { width: 40px; height: 40px; }
  .founder .btn { justify-self: start; }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.faq .section__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background-color 0.3s;
}
.faq__item[open] { border-color: rgba(46, 230, 224, 0.3); background: rgba(46, 230, 224, 0.04); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i {
  width: 30px; height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
  transition: rotate 0.35s var(--ease), background-color 0.3s, color 0.3s;
}
.faq__item[open] summary .i { rotate: 45deg; background: var(--cyan); color: var(--ink); }
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }
.faq__a { padding: 0 22px 22px; color: var(--muted); }
.faq__a a { color: var(--cyan); }
@media (max-width: 880px) {
  .faq { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
}

/* ---------- CTA final ---------- */
.final {
  position: relative;
  padding-block: clamp(100px, 13vw, 180px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(46, 230, 224, 0.3), transparent 70%),
    radial-gradient(30% 40% at 50% 40%, rgba(46, 230, 224, 0.1), transparent 70%);
}
.final__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 70%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 70%, #000, transparent 75%);
}
.final__crown {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 16px rgba(46, 230, 224, 0.7));
  animation: bob 4s ease-in-out infinite;
}
.final h2 {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.brush--static { display: inline-block; font-style: italic; rotate: -2deg; }
.final p { color: var(--muted); font-size: 1.15rem; margin-bottom: 36px; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 480px) {
  .final__actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
  background: #030505;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer__brand p { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer__col a { color: #c9d6d7; text-decoration: none; font-size: 0.95rem; width: fit-content; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: #6f8183;
}
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Barra de compra (móvil) ---------- */
.buybar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: rgba(10, 16, 18, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9);
  translate: 0 150%;
  transition: translate 0.45s var(--ease-spring);
}
.buybar.is-visible { translate: 0 0; }
.buybar__info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.buybar__info strong { font-family: var(--font-display); font-size: 0.95rem; }
.buybar__info span { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 760px) {
  .buybar { display: flex; }
}

/* ---------- Páginas secundarias (gracias, legal, 404) ---------- */
.page {
  min-height: 100vh;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(46, 230, 224, 0.12), transparent 70%),
    var(--bg);
}
.page__nav { display: flex; align-items: center; height: 80px; }
.page__main { padding-block: clamp(30px, 6vw, 70px) clamp(60px, 8vw, 100px); }
.page__hero { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.page__hero--center { min-height: 100vh; display: grid; place-content: center; margin-bottom: 0; }
.page__hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.page__back { margin-top: 40px; display: flex; justify-content: center; }
.page__sign { text-align: center; font-size: 1.7rem; margin-top: 30px; rotate: -3deg; }
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.next-steps .card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.next-steps h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.next-steps p { margin-bottom: 18px; }
.next-steps .btn { margin-top: auto; }
.next-steps__n {
  position: absolute;
  top: 14px; right: 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(46, 230, 224, 0.12);
}
@media (max-width: 860px) {
  .next-steps { grid-template-columns: 1fr; }
}

.prose { max-width: 780px; }
.prose h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); font-weight: 900; margin-bottom: 8px; }
.prose__meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.prose h2 { font-size: 1.3rem; font-weight: 800; margin: 36px 0 12px; color: var(--cyan); }
.prose p, .prose li { color: #c3d0d1; }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
.prose .page__back { justify-content: flex-start; }

/* ---------- Revelado al hacer scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scribble__arrow { stroke-dashoffset: 0; }
}
