/* Video Lyric Pro — web de venta. Misma paleta y tipografía que el programa
   (src/renderer/src/styles.css: «Liquid Glass» morado/azul sobre negro,
   Orbitron para títulos y Jura para todo lo demás). Las fuentes son los
   mismos archivos woff2 que embarca la app. */
@font-face { font-family: 'Orbitron'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/orbitron-400.woff2') format('woff2'); }
@font-face { font-family: 'Orbitron'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/orbitron-700.woff2') format('woff2'); }
@font-face { font-family: 'Orbitron'; font-weight: 900; font-style: normal; font-display: swap; src: url('fonts/orbitron-900.woff2') format('woff2'); }
@font-face { font-family: 'Jura'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/jura-400.woff2') format('woff2'); }
@font-face { font-family: 'Jura'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/jura-500.woff2') format('woff2'); }
@font-face { font-family: 'Jura'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/jura-600.woff2') format('woff2'); }
@font-face { font-family: 'Jura'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/jura-700.woff2') format('woff2'); }

:root {
  /* Tokens copiados de la app */
  --bg: #120722;
  --purple: #7c3aed; --purple-soft: #8b5cf6; --blue: #2563eb; --blue-soft: #3b82f6;
  --deep: #0b1026; --violet-ink: #17102e;
  --glass: rgba(255, 255, 255, .06);
  --glass-strong: rgba(255, 255, 255, .10);
  --border: rgba(255, 255, 255, .14);
  --border-strong: rgba(255, 255, 255, .20);
  --text: #f4f4fa; --muted: #b7bdd4;
  --link: #a78bfa; --link-hover: #c4b5fd;   /* morado claro: 6,9:1 sobre el fondo */
  --danger: #f05a5a; --warn: #e0a83c; --ok: #34d399;
  --grad-primary: linear-gradient(120deg, #7c3aed 0%, #2563eb 100%);
  --glow-purple: 0 0 24px rgba(124, 58, 237, .35);
  --font-display: 'Orbitron', 'Arial Narrow', sans-serif;
  --font-body: 'Jura', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
/* El fondo del programa (tres halos + degradado vertical) en una capa fija propia:
   un background-attachment: fixed junto a backdrop-filter deja paneles en blanco
   al hacer scroll en Chromium. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 60% at 15% 0%, rgba(147, 70, 255, .30) 0%, transparent 60%),
    radial-gradient(80% 60% at 90% 100%, rgba(59, 90, 255, .24) 0%, transparent 55%),
    radial-gradient(60% 40% at 55% 45%, rgba(88, 32, 160, .20) 0%, transparent 70%),
    linear-gradient(180deg, #1a0a33 0%, #120722 45%, #0d0520 100%);
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0; letter-spacing: .06em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; letter-spacing: .14em;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 16px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
strong { color: var(--text); }

.grad-text { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--font-display); font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Barra superior: igual que la tabbar del programa */
nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border); }
nav .brand { font-family: var(--font-display); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
nav .brand b { color: var(--purple-soft); font-weight: 700; }
nav .brand:hover { text-decoration: none; color: var(--text); }
nav .links { display: flex; gap: 6px; flex-wrap: wrap; }
nav .links a { font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--muted);
  padding: 7px 14px; border-radius: 10px; border: 1px solid transparent; transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease), color 140ms var(--ease); }
nav .links a:hover { text-decoration: none; color: var(--text); border-color: var(--purple-soft); box-shadow: var(--glow-purple); }

.hero { padding: 72px 0 56px; text-align: center; }
.hero p.lead { font-size: 1.3rem; max-width: 760px; margin: 20px auto 32px; }

/* Botones: los del programa (vidrio) y el primario con degradado morado→azul */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .015em;
  padding: 12px 24px; border-radius: var(--radius); cursor: pointer; border: none;
  background: var(--grad-primary); color: #fff; box-shadow: 0 4px 20px rgba(124, 58, 237, .45);
  transition: box-shadow 140ms var(--ease), transform 120ms var(--ease), border-color 140ms var(--ease); }
.btn:hover { box-shadow: 0 4px 28px rgba(124, 58, 237, .65); text-decoration: none; color: #fff; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: var(--glass); color: var(--text); border: 1px solid var(--border); box-shadow: none;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--ghost:hover { border-color: var(--purple-soft); box-shadow: var(--glow-purple); color: var(--text); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

section { padding: 56px 0; }
.rule { height: 1px; border: 0; background: var(--border); margin: 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 28px; }

/* Paneles de vidrio: receta .glass del programa */
.card, .plan {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 18%, transparent 45%),
    var(--glass);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 50px rgba(5, 2, 16, .55);
  backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%);
}
.card { padding: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 1rem; margin: 0; }

.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 28px; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan--featured { border-color: var(--purple-soft); background-color: rgba(124, 58, 237, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 14px rgba(124, 58, 237, .35), 0 18px 50px rgba(5, 2, 16, .55); }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; letter-spacing: 0; line-height: 1; color: var(--text); }
.plan .price small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.plan .label { font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }

/* Etiquetas: los chips del programa */
.tag { display: inline-flex; align-items: center; align-self: flex-start; font-weight: 600; font-size: .8rem; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border); color: var(--text); }
.tag--pro { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: var(--glow-purple); }

.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--text); }
.faq summary:hover { color: var(--link-hover); }
.faq p { margin: 10px 0 0; font-size: 1rem; }

footer { padding: 40px 0 60px; color: var(--muted); font-size: .9rem; }
footer .links a { margin-right: 18px; }

.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h2 { margin: 36px 0 12px; font-size: 1rem; letter-spacing: .16em;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc p, .doc li { font-size: 1.05rem; color: var(--muted); }

@media (max-width: 640px) { .hero { padding: 48px 0 40px; } nav .links { gap: 2px; } nav .links a { padding: 6px 10px; } }

/* =====================================================================
   1-nov: web en varias páginas. Capa nueva: arranque igual al del programa
   (Splash.tsx), marcos para capturas, pasos, bloque IA, tabla de precios.
   ===================================================================== */

/* Arranque: copia de .splash del programa (styles.css v47). La capa se
   disuelve (opacidad y blur a 0) sobre la página ya montada debajo. */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(124, 58, 237, .28) 0%, rgba(5, 7, 12, 0) 60%),
    radial-gradient(80% 60% at 80% 100%, rgba(37, 99, 235, .25) 0%, rgba(5, 7, 12, 0) 60%),
    rgba(5, 7, 12, .92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.splash::before { content: ''; position: absolute; inset: -20%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(124, 58, 237, .35), rgba(37, 99, 235, .2) 30%,
    rgba(219, 39, 119, .25) 55%, rgba(124, 58, 237, 0) 80%, rgba(124, 58, 237, .35));
  filter: blur(60px); animation: splash-spin 14s linear infinite; }
.splash.splash-out { opacity: 0; transform: scale(1.03); pointer-events: none; }
.splash-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 36px 44px; border-radius: 18px; min-width: min(420px, 90vw); max-width: 600px;
  background: rgba(10, 14, 24, .55); border: 1px solid rgba(200, 213, 219, .14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(124, 58, 237, .25), 0 0 40px rgba(124, 58, 237, .25);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand-eyebrow { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.splash-wordmark { font-family: var(--font-display); font-size: clamp(22px, 5vw, 34px); font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; margin: 0; text-align: center;
  background: linear-gradient(110deg, #f5f7f8 0%, #c7cfd4 35%, #838d93 50%, #f5f7f8 65%, #c7cfd4 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: splash-shimmer 2.6s linear infinite; }
.splash-line { width: 100%; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(200, 213, 219, .12); }
.splash-line > i { display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--link), transparent); animation: splash-sweep 1.4s ease-in-out infinite; }
.splash-line.done > i { width: 100%; animation: none; background: var(--link); }
.splash-status { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes splash-sweep { from { transform: translateX(-120%); } to { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .splash::before, .splash-wordmark, .splash-line > i { animation: none; } }

/* Barra: enlace activo y botón de descarga a la derecha */
nav .links a.active { color: var(--text); border-color: var(--purple-soft); }
nav .links a.nav-cta { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(124, 58, 237, .4); }
nav .brand img { width: 26px; height: 26px; border-radius: 7px; vertical-align: middle; margin-right: 10px; }
nav .brand { display: inline-flex; align-items: center; }

/* Hero con capa de dos columnas y captura grande */
.hero .lead strong { color: var(--text); }
.hero--page { padding: 56px 0 24px; text-align: left; }
.hero--page .lead { margin-left: 0; }
.hero--page .cta-row { justify-content: flex-start; }

/* Marco de captura: el mismo panel de vidrio, con la imagen dentro */
.shot { display: block; margin: 36px auto 0; max-width: 1000px; padding: 10px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 18%, transparent 45%), var(--glass);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px rgba(124, 58, 237, .18), 0 0 60px rgba(124, 58, 237, .22), 0 30px 80px rgba(5, 2, 16, .7); }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shot--sm { max-width: none; margin: 0; }
.shot figcaption { padding: 12px 6px 4px; font-size: .9rem; color: var(--muted); text-align: center; }

/* Dos columnas (texto + captura) */
.split { display: grid; gap: 36px; grid-template-columns: 1.05fr 1fr; align-items: center; margin-top: 28px; }
.split.split--rev > :first-child { order: 2; }
.split p { font-size: 1.05rem; }
.split ul { margin: 0 0 16px; padding-left: 0; list-style: none; color: var(--muted); line-height: 1.7; }
.split li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.split li::before { content: ''; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; border-radius: 2px; background: var(--grad-primary); }

/* Pasos numerados */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 28px; counter-reset: paso; }
.step { position: relative; padding: 24px 24px 24px 24px; counter-increment: paso; }
.step::before { content: counter(paso, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem;
  letter-spacing: .04em; margin-bottom: 10px; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { background: none; color: var(--text); -webkit-text-fill-color: var(--text); letter-spacing: .08em; margin-bottom: 8px; }
.step p { font-size: 1rem; margin: 0; }

/* Iconos de las tarjetas */
.card .ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; margin-bottom: 14px;
  background: rgba(124, 58, 237, .18); border: 1px solid rgba(139, 92, 246, .35); color: #c4b5fd; box-shadow: var(--glow-purple); }
.card .ico svg { width: 22px; height: 22px; }

/* Bloque IA: panel grande con brillo, el «boom» */
.boom { position: relative; overflow: hidden; padding: 48px; border-radius: 22px; margin-top: 28px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .28) 0%, rgba(37, 99, 235, .18) 55%, rgba(219, 39, 119, .14) 100%), var(--glass);
  border: 1px solid rgba(139, 92, 246, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px rgba(124, 58, 237, .25), 0 0 80px rgba(124, 58, 237, .35), 0 30px 80px rgba(5, 2, 16, .7); }
.boom::before { content: ''; position: absolute; inset: -40%; pointer-events: none;
  background: conic-gradient(from 90deg at 50% 50%, rgba(124, 58, 237, .25), rgba(37, 99, 235, .12) 30%, rgba(219, 39, 119, .18) 55%, rgba(124, 58, 237, 0) 80%, rgba(124, 58, 237, .25));
  filter: blur(70px); animation: splash-spin 22s linear infinite; }
.boom > * { position: relative; }
.boom h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.boom .lead { font-size: 1.2rem; max-width: 720px; }
.boom .kpis { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 8px; }
.kpi { padding: 14px 18px; border-radius: 14px; background: rgba(5, 7, 12, .45); border: 1px solid var(--border); min-width: 150px; }
.kpi b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--text); letter-spacing: .02em; }
.kpi span { font-size: .85rem; color: var(--muted); }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--grad-primary); color: #fff; box-shadow: var(--glow-purple); margin-bottom: 16px; }
.ai-badge svg { width: 14px; height: 14px; }

/* Estilos de la IA: las seis tarjetas del generador */
.styles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 24px; }
.stylecard { padding: 6px; border-radius: 12px; background: var(--glass); border: 1px solid var(--border); text-align: center; }
.stylecard i { display: block; height: 70px; border-radius: 8px; }
.stylecard span { display: block; padding: 8px 0 4px; font-size: .9rem; font-weight: 600; }
.sw-neon { background: linear-gradient(135deg, #7c3aed, #2563eb 60%, #0ea5e9); }
.sw-calle { background: linear-gradient(135deg, #7c2d12, #f97316 55%, #fbbf24); }
.sw-lujo { background: linear-gradient(135deg, #78350f, #d4a017 50%, #fde68a); }
.sw-romantico { background: linear-gradient(135deg, #be123c, #f472b6 60%, #fda4af); }
.sw-oscuro { background: linear-gradient(135deg, #0f172a, #164e63 60%, #22d3ee); }
.sw-club { background: linear-gradient(135deg, #d946ef, #7c3aed 50%, #22d3ee); }

/* Tabla de costos y comparativa */
table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 1rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); color: var(--muted); }
th { font-family: var(--font-display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); font-weight: 700; }
td strong, td b { color: var(--text); }
td.num { font-family: var(--font-display); font-weight: 700; color: var(--text); white-space: nowrap; }

/* Franja final de llamada */
.cta-band { text-align: center; padding: 56px 24px; border-radius: 22px; margin-top: 28px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(37, 99, 235, .16)), var(--glass); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 50px rgba(5, 2, 16, .55); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 640px; margin: 0 auto 24px; }

/* Lista de requisitos / instalación */
.checks { margin: 20px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 1.05rem; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad-primary); box-shadow: var(--glow-purple); }

footer .made { margin-top: 14px; font-size: .85rem; }

@media (max-width: 880px) {
  .split, .split.split--rev { grid-template-columns: 1fr; }
  .split.split--rev > :first-child { order: 0; }
  .boom { padding: 28px 20px; }
  .shot { padding: 6px; }
  table { font-size: .9rem; } th, td { padding: 10px 6px; }
}
.card, .plan { transform: translateZ(0); }          /* capa propia: evita el parpadeo en blanco al hacer scroll */
@media (max-width: 640px) { nav .brand .mwr { display: none; } }
