/* VSL — Duplicar tu rendimiento. Paleta y tipografía portadas 1:1 de
   metapractica.gaellapeyre.com/assets/app.css (sistema "cyberdeck"). */
:root {
  --bg: #0a0a12;
  --surface: #12121d;
  --surface-2: #1a1a29;
  --ink: #f2f2f7;
  --ink-2: #a6a6bf;
  --ink-3: #6c6c85;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --accent: #8b7ff5;
  --accent-soft: #8b7ff524;
  --accent-ink: #ffffff;
  --danger: #f0576b;
  --danger-soft: #f0576b1f;
  --ok: #4ade80;
  --ok-soft: #4ade801f;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 1px 1px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.4);
  --glow-accent: 0 0 0 3px var(--accent-soft), 0 0 18px rgba(139,127,245,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-display: 'Space Grotesk', var(--font-sans);
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}
::selection { background: var(--accent-soft); }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; box-shadow: var(--glow-accent); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* ---------- Fondo "cyberdeck" (idéntico a metapráctica) ---------- */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-lines { position: absolute; inset: -15% -8%; width: 130%; height: 130%; opacity: .6; animation: bg-lines-drift 23s ease-in-out infinite alternate; }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.bg-blob-a { width: 680px; height: 680px; left: 50%; top: -320px; transform: translateX(-50%); background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .3; animation: bg-blob-a 16s ease-in-out infinite; }
.bg-blob-b { width: 520px; height: 520px; right: -160px; bottom: -140px; background: radial-gradient(circle, var(--ok), transparent 70%); opacity: .14; animation: bg-blob-b 20s ease-in-out infinite; }
.bg-cursor-glow { position: absolute; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(139,127,245,0.22), transparent 70%); filter: blur(60px); opacity: 0; transition: opacity .5s ease; will-change: transform; }
.bg-cursor-glow.bg-cursor-active { opacity: 1; }
@keyframes bg-lines-drift { from { transform: translate(0,0); } to { transform: translate(-140px,-70px); } }
@keyframes bg-blob-a { 0%,100% { transform: translateX(-50%) translate(0,0) scale(1); } 50% { transform: translateX(-50%) translate(0,40px) scale(1.08); } }
@keyframes bg-blob-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,-40px) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .bg-lines, .bg-blob-a, .bg-blob-b { animation: none !important; } }

/* ---------- Boot intro (portado 1:1 de metapractica.gaellapeyre.com/assets/app.css) ---------- */
.boot-intro {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(ellipse 900px 600px at 50% 25%, rgba(139,127,245,0.14), transparent 65%), var(--bg);
  transition: opacity .5s ease;
}
.boot-intro.boot-hide { opacity: 0; pointer-events: none; }
.boot-stage { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; width: 100%; padding: 0 1rem; }
.boot-logo-img {
  width: min(85vw, 520px); height: auto; display: block; margin-bottom: 1.8rem;
  opacity: 0; transform: scale(.94); filter: blur(6px) drop-shadow(0 0 46px rgba(139,127,245,.4));
  animation: boot-logo-in 1.8s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes boot-logo-in {
  0% { opacity: 0; transform: scale(.94); filter: blur(6px) drop-shadow(0 0 46px rgba(139,127,245,.4)); }
  55% { opacity: 1; filter: blur(0) drop-shadow(0 0 46px rgba(139,127,245,.4)); }
  100% { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 0 46px rgba(139,127,245,.4)); }
}
.boot-reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; max-width: 460px; width: 100%; }
.boot-reveal.boot-reveal-show { opacity: 1; transform: none; }
.boot-tagline {
  font-family: var(--font-display); font-size: clamp(1rem, 2.6vw, 1.25rem); font-weight: 500;
  color: var(--accent); margin-bottom: 1.4rem;
}
.boot-skip {
  background: none; border: 1px solid var(--border-strong); color: var(--ink-3);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 999px; cursor: pointer; opacity: 0;
  animation: boot-skip-in .3s ease .3s forwards;
}
.boot-skip:hover { color: var(--ink); border-color: var(--ink-3); }
@keyframes boot-skip-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .boot-logo-img { animation: none; opacity: 1; transform: none; filter: drop-shadow(0 0 46px rgba(139,127,245,.4)); }
  .boot-reveal { transition: none; }
}

.is-hidden { display: none !important; }

/* ---------- Layout general ---------- */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 1.2rem 6rem; }
.top-bar { display: flex; justify-content: center; padding: 2.2rem 0 .8rem; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.brand-lockup-icon { height: 34px; width: auto; display: block; }
.brand-lockup-word { height: 22px; width: auto; display: block; }
.brand-lockup-slogan {
  font-family: var(--font-sans); font-weight: 600; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2);
}

.hero { text-align: center; padding: .8rem 0 1.6rem; }
.eyebrow {
  display: block; font-family: var(--font-sans); font-size: .92rem; font-weight: 500;
  color: var(--ink-2); margin: 0 0 1.1rem;
}
h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  line-height: 1.2; margin: 0; text-shadow: 0 0 30px rgba(139,127,245,.25);
}
h1 em { color: var(--accent); font-style: normal; }

/* ---------- Beneficios (debajo del video) ---------- */
.benefits-intro { text-align: center; color: var(--ink-3); font-size: .82rem; margin: 1.1rem 0 .6rem; }
.benefits-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; padding: 0 0 .2rem; }
.benefit-pill {
  font-family: var(--font-sans); font-weight: 700; font-size: .85rem; padding: .5rem 1rem;
  border-radius: 999px; border: 1px solid; letter-spacing: .01em;
}
.benefit-pill.ok { color: var(--ok); border-color: var(--ok); background: var(--ok-soft); }
.benefit-pill.bad { color: var(--danger); border-color: var(--danger); background: var(--danger-soft); }

/* ---------- Pasos ---------- */
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); margin: 1.4rem 0; overflow: hidden; position: relative;
}
.step-head {
  display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--border);
}
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700;
  font-size: .82rem; flex: none; border: 1px solid var(--border-strong);
}
.step-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.step-tag { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.step-body { padding: 1.3rem; }

.step--locked .step-body { filter: blur(6px) saturate(.6); pointer-events: none; user-select: none; }
.step--locked .step-num { background: var(--surface-2); color: var(--ink-3); }
.lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; text-align: center; padding: 1.5rem; background: rgba(10,10,18,.72); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s ease; z-index: 2;
}
.step--locked .lock-overlay { opacity: 1; }
.lock-icon { font-size: 1.6rem; }
.lock-text { font-family: var(--font-sans); font-weight: 600; color: var(--ink); font-size: .95rem; max-width: 280px; }
.lock-progress { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); }

/* ---------- Player ---------- */
.player { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }

.unmute-banner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  width: min(300px, 74%); background: linear-gradient(180deg, #f0c948, #d9a91f); color: #211a02;
  border-radius: 20px; padding: 1.6rem 1.4rem; text-align: center; cursor: pointer;
  box-shadow: 0 16px 36px rgba(0,0,0,.5); z-index: 3; border: none; font-family: var(--font-sans);
}
.unmute-banner .unmute-icon { width: 46px; height: 46px; animation: unmute-pulse 1.3s ease-in-out infinite; }
.unmute-banner .unmute-title { font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.unmute-banner .unmute-sub { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.unmute-banner.is-hidden { display: none; }
@keyframes unmute-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }

/* ---------- Prueba social (medios) ---------- */
.press-label { text-align: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 2.2rem 0 .9rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 3rem; width: max-content; animation: marquee-scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 22px; width: auto; opacity: .55; filter: grayscale(1) brightness(2.2); transition: opacity .15s ease; }
.marquee-track img:hover { opacity: .9; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; overflow-x: auto; } }

/* ---------- Testimonios (reutiliza .step) ---------- */
.testi { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-bottom: .8rem; }
.testi-name { font-weight: 600; font-size: .92rem; }
.testi-role { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.testi-text { color: var(--ink-2); font-size: .9rem; }

/* ---------- Formulario nativo ---------- */
.form-grid { display: grid; gap: .9rem; }
label { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-3); margin-bottom: .35rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .07em; }
input[type=text], input[type=email], input[type=tel] {
  width: 100%; padding: .68rem .8rem; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--ink); font-size: .95rem; font-family: inherit; transition: border-color .12s ease, box-shadow .12s ease;
}
input:hover { border-color: var(--ink-3); }
input:focus { outline: none; border-color: var(--accent); box-shadow: var(--glow-accent); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
  padding: .85rem 1.2rem; border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: .98rem; background: var(--accent); color: #fff;
  box-shadow: var(--glow-accent); transition: transform .1s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); color: #06210f; }
.btn-cta-lg { font-size: 1.15rem; padding: 1.25rem 1.4rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.form-msg { font-size: .82rem; margin-top: .6rem; text-align: center; }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: var(--ok); }

/* ---------- Calendario ---------- */
.calendar-box { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-strong); background: #fff; }
.calendar-box iframe { display: block; width: 100%; height: 640px; border: 0; }
.confirm-box { margin-top: 1rem; text-align: center; }
.confirm-note { font-size: .82rem; color: var(--ink-3); margin-top: .5rem; }

/* ---------- Footer ---------- */
.foot { text-align: center; margin-top: 2.5rem; color: var(--ink-3); font-size: .76rem; }
.foot a { color: var(--ink-3); text-decoration: underline; }

@media (max-width: 560px) {
  .step-body { padding: 1rem; }
  .calendar-box iframe { height: 560px; }
}
