:root {
  --bg: #08090a;
  --card: #121315;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.12);
  --text: #f5f7fa;
  --muted: rgba(255, 255, 255, 0.56);
  --dim: rgba(255, 255, 255, 0.38);
  --green: #22c55e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

body.home nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border: 0;
}
body.home nav .wrap { display: flex; align-items: center; gap: 12px; height: 84px; }
.logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.logo img { height: 36px; width: auto; max-width: none; }
.nav-steps {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
  color: #bbf7d0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-steps:hover { background: rgba(34, 197, 94, 0.16); }
.saldo {
  margin-left: auto;
  color: rgba(245, 247, 250, 0.82);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
nav .wrap > .btn-primary { margin-left: auto; }
nav .wrap > .saldo:not([hidden]) + .btn-primary { margin-left: 14px; }
.saldo[hidden] { display: none; }
.ns-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}
.btn-primary { background: #e9eaeb; color: #0a0b0c; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: #17181a; border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { background: #1f2022; }
body.home nav .btn { padding: 9px 18px; font-size: 15px; }

.hero { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: center; padding: 108px 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; perspective: 1400px; }
.hb-row { position: absolute; left: 50%; top: 46%; display: flex; gap: 2vw; transform: translate(-50%, -50%) rotateX(18deg) rotateZ(-7deg); animation: hbDrift 26s ease-in-out infinite alternate; }
.hb-tile { width: max(12.5vw, 130px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #0c0d10; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); flex: none; }
.hb-tile:nth-child(even) { transform: translateY(14%); }
.hb-tile video { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 42% at 50% 40%, rgba(8, 9, 10, 0.82), rgba(8, 9, 10, 0.45) 60%, rgba(8, 9, 10, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 9, 10, 0.35) 0%, rgba(8, 9, 10, 0) 25%, rgba(8, 9, 10, 0) 60%, var(--bg) 100%);
}
@keyframes hbDrift {
  from { transform: translate(-53%, -50%) rotateX(18deg) rotateZ(-7deg); }
  to { transform: translate(-47%, -50%) rotateX(18deg) rotateZ(-7deg); }
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  max-width: 920px;
  margin: 0 auto 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(40px, 6.2vw, 76px);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.lead { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.creador { width: min(680px, 100%); margin: 52px auto 0; text-align: left; }
@property --giro {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes bordeGiro { to { --giro: 360deg; } }
.creador-caja {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 28px;
  padding: 16px 16px 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.creador-caja::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--giro), rgba(255, 255, 255, 0.38) 0deg, rgba(255, 255, 255, 0.38) 220deg, #fff 286deg, #b7d4ff 328deg, rgba(255, 255, 255, 0.38) 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: bordeGiro 5.5s linear infinite;
  pointer-events: none;
}
.creador-caja textarea {
  width: 100%;
  min-height: 78px;
  border: 0;
  resize: none;
  background: transparent;
  color: #f5f7fa;
  caret-color: #fff;
  font: inherit;
  font-size: 17px;
  line-height: 1.45;
  outline: none;
}
.creador-caja textarea::placeholder { color: rgba(245, 247, 250, 0.62); }
.creador-caja .menu-btn,
.creador-caja .icono-btn { color: rgba(245, 247, 250, 0.88); }
.creador-caja .menu-btn:hover,
.creador-caja .menu-btn[aria-expanded="true"],
.creador-caja .icono-btn:hover { background: rgba(255, 255, 255, 0.12); }
.creador-caja .enviar { background: #f4f5f7; color: #141518; }
.creador-caja .enviar:hover { background: #fff; }
.creador-bar { display: flex; align-items: center; gap: 4px; }
.opcion { position: relative; }
.menu-btn, .icono-btn, .enviar, .estudio-cerrar, .paquetes button, .opcion ul button {
  font: inherit;
  cursor: pointer;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #2a2c31;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.menu-btn svg { width: 12px; height: 12px; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: rgba(20, 21, 24, 0.08); }
.opcion ul {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 6;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 148px;
  background: #fff;
  border: 1px solid rgba(20, 21, 24, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.opcion ul button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #141518;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
}
.opcion ul button:hover, .opcion ul button[aria-selected="true"] { background: rgba(20, 21, 24, 0.06); }
.creador-acciones { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icono-btn, .enviar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #141518;
}
.icono-btn { background: transparent; color: #2a2c31; }
.icono-btn:hover { background: rgba(20, 21, 24, 0.08); }
.enviar:hover { background: #000; }
.icono-btn svg, .enviar svg { width: 18px; height: 18px; }
.enviar { background: #141518; color: #fff; }
.creador-error { margin: 12px 0 0; color: #f0b4b4; font-size: 14px; text-align: center; }
.creador-error:empty { display: none; }
.ideas-rotulo { margin: 22px 0 10px; color: rgba(245, 247, 250, 0.72); font-size: 14px; text-align: center; }
.ideas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ideas button {
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #f5f7fa;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
}
.ideas button:hover,
.ideas button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.velo {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}
.velo[hidden] { display: none; }
.dialogo {
  width: min(420px, 100%);
  background: #f7f8fa;
  color: #141518;
  border: 0;
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}
.dialogo h2 { margin: 0 0 8px; font-weight: 600; letter-spacing: -0.03em; font-size: 28px; color: #141518; }
.dialogo > p, .dialogo .demo-texto { margin: 0 0 16px; color: #3c4048; }
.dialogo label { display: block; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #3c4048; }
.dialogo input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c5c8d0;
  background: #fff;
  color: #141518;
  font: inherit;
  font-size: 16px;
}
.dialogo input:focus { outline: 2px solid #141518; outline-offset: 1px; }
.dialogo .btn { width: 100%; margin-top: 6px; }
.dialogo .btn-primary { background: #141518; color: #fff; }
.dialogo .btn-primary:hover { background: #000; }
.dialogo .creador-error { color: #9f1239; text-align: left; }
.dialogo .pago-legal { margin-top: 14px; color: #5c616b; }
.dialogo .pago-legal a { color: #141518; }
.dialogo.demo { width: min(480px, 100%); max-height: min(92vh, 820px); overflow: auto; }
.demo-idea {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  border: 0;
  background: #141518;
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
}
.demo-idea::after { content: "→"; margin-left: auto; flex: none; font-size: 18px; }
.demo-idea:hover { background: #000; }
.demo-progreso .pct { font-size: 64px; letter-spacing: -0.04em; color: #141518; }
.demo-progreso .pct-signo { color: #5c616b; }
.demo-progreso .barra { margin-top: 8px; background: #e4e6ea; }
.demo-progreso .barra div { background: #141518; }
.demo-progreso #demo-estado { color: #3c4048; }
#demo-resultado video {
  width: 168px;
  height: 298px;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
  margin: 8px auto 12px;
}
#demo-resultado h2 { font-size: 22px; line-height: 1.25; }
.demo-cifra { margin: 0 0 4px; font-size: 28px; font-weight: 650; letter-spacing: -0.03em; color: #141518; }
.demo-nota { margin: 14px 0 0; color: #3c4048; font-size: 14px; }

.estudio {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.estudio[hidden] { display: none; }
.estudio-top { width: min(520px, calc(100% - 40px)); margin: 28px auto 0; position: relative; }
.estudio-cerrar {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0;
}
.estudio-cerrar:hover { color: var(--text); }
.estudio-top h2 {
  margin: 10px 48px 0 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}
.pct { display: flex; align-items: flex-start; margin-top: 18px; font-weight: 500; letter-spacing: -0.04em; font-size: 64px; line-height: 0.9; }
.pct-signo { font-size: 28px; margin-top: 8px; color: var(--muted); }
.barra { height: 3px; margin-top: 14px; background: rgba(255, 255, 255, 0.12); border-radius: 99px; overflow: hidden; }
.barra div { height: 100%; width: 0; background: var(--text); border-radius: 99px; }
.estudio-estado { margin: 14px 0 0; color: var(--muted); }
.estudio-bajar { margin-top: 16px; }
.estudio.listo .pct { font-size: 32px; }
.estudio.listo .estudio-top h2 { font-size: 22px; }
.estudio-foto video { background: #000; object-fit: contain; }
.panel {
  position: fixed;
  z-index: 25;
  top: 0;
  left: 0;
  bottom: 0;
  width: 272px;
  display: flex;
  flex-direction: column;
  padding: 22px 12px 14px;
  background: #0c0d10;
  border-right: 1px solid var(--line);
}
.panel[hidden] { display: none; }
body.con-panel nav { left: 272px; }
body.con-panel .hero,
body.con-panel > section,
body.con-panel > footer { margin-left: 272px; }
.panel-rotulo {
  margin: 8px 8px 10px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
}
.mios-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mios-lista button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 10px;
  padding: 8px;
  font: inherit;
  cursor: pointer;
}
.mios-lista button:hover { background: rgba(255, 255, 255, 0.06); }
.panel-icono {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  color: #0a0b0c;
  font-size: 13px;
  font-weight: 700;
}
.panel-textos { min-width: 0; display: flex; flex-direction: column; }
.mios-lista strong {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mios-lista span { color: var(--dim); font-size: 12px; white-space: nowrap; }
.panel-cuenta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 8px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  min-width: 0;
}
.panel-cuenta span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: #3f3f46;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}
.estudio-foto {
  position: relative;
  width: min(420px, 100%);
  margin: 28px auto 0;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.estudio-foto img, .estudio-foto video { width: 100%; height: 100%; object-fit: cover; }
.paywall {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 78%;
  overflow: auto;
  background: #08090a;
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  padding: 10px 20px 24px;
  transform: translateY(110%);
}
.paywall.abierto {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(520px, 100%);
  transform: translateX(-50%);
  z-index: 60;
  max-height: min(70vh, 640px);
}
.asa { width: 36px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); margin: 4px auto 14px; }
.paywall h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; font-size: 22px; }
.paywall > p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.paquetes { display: grid; gap: 8px; margin-top: 14px; }
.paquetes button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line2);
  background: #121315;
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
}
.paquetes button:hover { background: #1a1b1e; }
.paquetes button:disabled { opacity: 0.45; }
.paquetes strong { display: block; font-weight: 600; font-size: 16px; }
.paquetes small { display: block; margin-top: 2px; color: #bbf7d0; font-size: 13px; }
.paquetes .precio { font-weight: 600; font-size: 16px; white-space: nowrap; }
.pago-aviso { min-height: 0; color: #f0b4b4; font-size: 14px; }
.pago-aviso:empty { display: none; }
.pago-legal { margin: 14px 0 0; color: var(--dim); font-size: 12px; line-height: 1.45; }
.pago-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 8px 0 0; }
.pago-links a { color: var(--text); font-size: 12px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .paywall.abierto { transition: none; }
}

section { padding: 88px 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--dim); }
.sec-head h2, .cierre h2 {
  margin: 10px 0 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(32px, 4vw, 52px);
}
.sec-head p { color: var(--muted); font-size: 18px; margin: 14px auto 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 24px; }
.card .num { color: var(--dim); font-size: 13px; letter-spacing: 0.08em; }
.card h3 { margin: 12px 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Cómo funciona: cada paso con su mini animación */
.paso {
  position: relative;
  overflow: hidden;
  padding: 14px 14px 24px;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.7s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.paso > .num, .paso > h3, .paso > p { margin-left: 8px; margin-right: 8px; }
.paso::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), rgba(34, 197, 94, 0.11), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.paso:hover { border-color: rgba(34, 197, 94, 0.32); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.paso:hover::before { opacity: 1; }
.paso .num {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
}
.steps.anima .paso { opacity: 0; transform: translateY(28px) scale(0.98); }
.steps.anima.visto .paso { opacity: 1; transform: none; }
.steps.anima.visto .paso:nth-child(2) { transition-delay: 0.12s; }
.steps.anima.visto .paso:nth-child(3) { transition-delay: 0.24s; }
.steps.anima.visto .paso:hover { transform: translateY(-4px); transition-delay: 0s; }

.demo {
  position: relative;
  height: 136px;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(34, 197, 94, 0.09), transparent 60%), #0c0d0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}
.demo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent);
  opacity: 0.35;
  pointer-events: none;
}
.demo > * { position: relative; z-index: 1; }

.demo-idea { flex-direction: row; gap: 8px; padding: 0 16px; }
.campo {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line2);
  border-radius: 11px;
  background: #141518;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.06);
}
.cursor { flex: none; width: 2px; height: 17px; margin-left: 2px; background: var(--green); animation: parpadeo 1s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.enviar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--green);
  color: #04130a;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.enviar.pulsa { transform: scale(0.86); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.18); }

.chips { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; padding: 0 10px; }
.chip {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: var(--muted);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.chip.on { background: rgba(34, 197, 94, 0.16); border-color: rgba(34, 197, 94, 0.55); color: #dcfce7; }
.sep { width: 1px; height: 16px; background: var(--line2); margin: 0 3px; }
.onda { display: flex; gap: 4px; align-items: center; height: 38px; }
.onda i { display: block; width: 3px; height: 18%; border-radius: 2px; background: linear-gradient(#4ade80, #16a34a); }
.activo .onda i { animation: onda 1.1s ease-in-out infinite; }
.onda i:nth-child(3n) { animation-duration: 0.8s; }
.onda i:nth-child(4n + 1) { animation-duration: 1.35s; }
.onda i:nth-child(5n + 2) { animation-duration: 0.95s; }
.onda i:nth-child(2n) { animation-delay: -0.4s; }
.onda i:nth-child(3n + 1) { animation-delay: -0.7s; }
@keyframes onda { 0%, 100% { height: 14%; } 50% { height: 100%; } }

.demo-listo { gap: 12px; }
.progreso { width: 72%; height: 6px; border-radius: 99px; background: #1c1d21; overflow: hidden; }
.progreso i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #16a34a, #4ade80); box-shadow: 0 0 12px rgba(74, 222, 128, 0.6); }
.correo {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 84%;
  padding: 9px 12px;
  border-radius: 12px;
  background: #17181b;
  border: 1px solid var(--line2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.correo .ico { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--green); color: #04130a; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.correo b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.correo span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.activo .progreso i { animation: progreso 5s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.activo .correo { animation: correo 5s ease infinite; }
@keyframes progreso { 0% { width: 0; } 55%, 100% { width: 100%; } }
@keyframes correo {
  0%, 52% { opacity: 0; transform: translateY(18px) scale(0.96); }
  62%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .steps.anima .paso { opacity: 1; transform: none; transition: none; }
  .cursor, .activo .onda i, .activo .progreso i, .activo .correo { animation: none; }
  .onda i:nth-child(odd) { height: 70%; }
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ex-card { border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.ex-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-bottom: 1px solid var(--line); }
.ex-body { padding: 16px 18px 18px; }
.ex-body h3 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }

.lista { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.lista li { padding: 18px 0; border-top: 1px solid var(--line); }
.lista strong { display: block; font-weight: 600; margin-bottom: 4px; }
.lista span { color: var(--muted); }

.cierre { text-align: center; }
.cierre p { color: var(--muted); font-size: 18px; margin: 14px auto 28px; max-width: 36rem; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap, .legal footer { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
address { font-style: normal; line-height: 1.6; }

.legal { width: min(720px, calc(100% - 40px)); margin: 0 auto; }
.legal header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; }
.legal .marca { font-weight: 600; text-decoration: none; font-size: 17px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.legal nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.legal nav a:hover, .legal nav a[aria-current="page"] { color: var(--text); }
.documento { padding: 12px 0 64px; }
.documento h1 { font-weight: 500; letter-spacing: -0.03em; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 0 0 12px; }
.documento .fecha { color: var(--dim); margin: 0 0 28px; }
.documento h2 { font-weight: 500; letter-spacing: -0.02em; font-size: 26px; margin: 36px 0 10px; }
.documento p, .documento li { color: #d6d6d4; }
.documento ul { padding-left: 1.15rem; }
.documento li { margin: 6px 0; }
.documento a { color: #bbf7d0; }
.rotulo { color: #bbf7d0; font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }

@media (max-width: 860px) {
  .steps, .lista { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hb-tile { width: max(18vw, 120px); }
}
@media (max-width: 800px) {
  .panel { width: 100%; height: auto; max-height: 240px; position: relative; border-right: 0; border-bottom: 1px solid var(--line); }
  body.con-panel nav { left: 0; }
  body.con-panel .hero,
  body.con-panel > section,
  body.con-panel > footer { margin-left: 0; }
  body.con-panel .panel { margin-top: 72px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1100px, calc(100% - 28px)); }
  body.home nav .wrap { height: 72px; }
  .logo img { height: 28px; }
  .hero { min-height: 0; padding: 96px 0 48px; }
  .hero h1 { font-size: 40px; }
  .hb-row { gap: 12px; top: 42%; }
  .hb-tile { width: 38vw; border-radius: 16px; }
  .hb-tile:nth-child(n + 5) { display: none; }
  .gallery { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .creador { margin-top: 28px; }
  .creador-bar { flex-wrap: wrap; }
  .pct { font-size: 52px; }
  .estudio-foto { width: 100%; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-row, .creador-caja::before { animation: none; }
}
.opcion ul button[disabled] { opacity: 0.38; cursor: not-allowed; }
body.prueba { min-height: 100vh; }
body.prueba .hero-bg { position: fixed; }
body.prueba .hero-bg::after { background: rgba(8, 9, 10, 0.84); }
.prueba-top { position: relative; z-index: 2; width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 0; display: flex; justify-content: center; }
.prueba-main {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 72px;
  display: grid;
  justify-items: center;
  gap: 36px;
}
body.prueba section { padding: 0; border: 0; }
.muro {
  position: relative;
  width: min(440px, 100%);
  background: #101114;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 26px 20px 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
  transform: none;
}
.muro .rotulo { margin-bottom: 8px; }
.muro h1 {
  margin: 0 0 14px;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-size: 34px;
  line-height: 1.05;
}
.prueba-idea {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #1a1c21;
  border: 1px solid var(--line);
  font-size: 16px;
  text-align: left;
}
.muro-lead { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.pago-kicker { margin: 0; color: var(--text); font-size: 15px; font-weight: 600; }
.pago-precio { margin: 2px 0 16px; }
.pago-precio b {
  display: block;
  color: var(--text);
  font-weight: 650;
  font-size: 64px;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.pago-precio span { color: var(--muted); font-size: 16px; }
.muro-pasos {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
}
.muro-pasos li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  position: relative;
  padding-bottom: 14px;
}
.muro-pasos li:last-child { padding-bottom: 0; }
.muro-pasos li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}
.muro-pasos li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.muro-pasos span { display: block; color: var(--dim); font-size: 12px; line-height: 1.2; }
.muro-pasos strong { display: block; font-size: 15px; font-weight: 600; }
.reseñas {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.reseña {
  margin: 0;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(14, 15, 17, 0.92);
  border: 1px solid var(--line2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.reseña header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.reseña header div { min-width: 0; }
.reseña header strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.reseña header span { color: var(--dim); font-size: 12px; }
.reseña-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 14px;
  font-weight: 650;
  color: #fff;
}
.reseña-avatar.a1 { background: #c2410c; }
.reseña-avatar.a2 { background: #1d4ed8; }
.reseña-avatar.a3 { background: #6d28d9; }
.reseña-avatar.a4 { background: #0f766e; }
.reseña-avatar.a5 { background: #be185d; }
.reseña-avatar.a6 { background: #a16207; }
.estrellas { margin-left: auto; color: #f5c451; letter-spacing: 1px; font-size: 13px; flex: none; }
.reseña p { margin: 0; color: rgba(245, 247, 250, 0.88); font-size: 15px; line-height: 1.45; }
#carteras { display: grid; gap: 10px; margin: 0 0 10px; }
#carteras[hidden] { display: none; }
#abrir-tarjeta, #pagar-tarjeta {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}
#abrir-tarjeta { background: #fff; color: #111; }
#abrir-tarjeta[hidden] { display: none; }
#pagar-tarjeta { background: #111; color: #fff; margin-top: 14px; }
#tarjeta-caja {
  text-align: left;
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 16px;
}
#tarjeta-caja[hidden] { display: none; }
.muro .pago-legal { text-align: left; }
.prueba-aviso { color: #fecaca; text-align: left; }
@media (max-width: 860px) {
  .reseñas { grid-template-columns: 1fr; }
  .muro h1 { font-size: 30px; }
  .pago-precio b { font-size: 56px; }
}
