/* ═══════════════════════════════════════════════════════════════════
   Landing de Podium — extiende Podium UI (tokens de components.css).
   Dirección: lienzo claro con cuadrícula, tinta casi negra para estructura,
   un único azul Podium para lo vivo, maquetas de producto reales (no stock).
   Movimiento: aparición al scroll, marquesina, barras que crecen, reloj vivo.
   Todo respeta prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════════ */

.lp { background: #FBFCFD; color: var(--color-ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html:has(.lp) { overflow-x: clip; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { text-decoration: none; }
.lp-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.lp-section, .lp-hero { scroll-margin-top: 76px; }
.lp-section { padding: clamp(64px, 9vw, 120px) 0; }
.lp-section--tint { background: linear-gradient(180deg, var(--color-surface-subtle), #FBFCFD); border-block: 1px solid var(--color-divider); }

/* ── Tipografía ─────────────────────────────────────────────── */
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px;
    background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-border), var(--shadow-1);
    font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-2);
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); position: relative; }
.lp-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--color-primary); opacity: .35; animation: lp-pulse 2s ease-in-out infinite; }
.lp-dot--live { background: var(--color-danger-strong); }
.lp-dot--live::after { background: var(--color-danger-strong); }
@keyframes lp-pulse { 0%, 100% { transform: scale(.7); opacity: .45; } 50% { transform: scale(1.5); opacity: 0; } }

.lp-h1 { font-size: clamp(40px, 7.2vw, 76px); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; margin: 22px 0 0; text-wrap: balance; }
.lp-h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin: 14px 0 0; text-wrap: balance; }
.lp-grad {
    background: linear-gradient(100deg, var(--color-ink) 0%, var(--color-primary) 48%, #60A5FA 100%);
    background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: lp-sheen 7s ease-in-out infinite alternate;
}
@keyframes lp-sheen { to { background-position: 100% 0; } }
.lp-lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--color-text-secondary); max-width: 62ch; margin: 18px 0 0; }
.lp-center { text-align: center; }
.lp-center .lp-lead { margin-inline: auto; }

.lp-eyebrow--dark { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.lp-on-dark { color: #fff; }
.lp-grad--light { background-image: linear-gradient(100deg, #fff, var(--color-primary-soft)); }
.lp-warn { color: var(--color-warning, #B45309); }

/* ── Navegación ─────────────────────────────────────────────── */
.lp-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.6) blur(14px); background: rgba(251, 252, 253, .78); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lp-nav.is-stuck { border-color: var(--color-divider); box-shadow: 0 8px 30px rgba(15, 23, 42, .05); }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.lp-links { display: none; gap: 4px; }
.lp-links a { padding: 8px 14px; border-radius: 9999px; font-size: 14px; font-weight: 500; color: var(--color-ink-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.lp-links a:hover { background: var(--color-surface-subtle); color: var(--color-ink); }
.lp-nav-cta { display: flex; align-items: center; gap: 8px; }
.lp-nav-cta .btn-ghost { display: none; }
@media (min-width: 880px) { .lp-links { display: flex; } .lp-nav-cta .btn-ghost { display: inline-flex; } }

/* ── Hero ───────────────────────────────────────────────────── */
.lp-hero { position: relative; overflow: clip; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); text-align: center; }
.lp-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(var(--color-gridline, #E8EBF0) 1px, transparent 1px), linear-gradient(90deg, var(--color-gridline, #E8EBF0) 1px, transparent 1px);
    background-size: 44px 44px; opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.lp-hero::after {
    content: ""; position: absolute; left: 50%; top: -120px; width: min(900px, 120vw); height: 520px; transform: translateX(-50%); z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--color-primary) 18%, transparent), transparent);
    animation: lp-glow 9s ease-in-out infinite alternate;
}
@keyframes lp-glow { from { opacity: .55; transform: translateX(-50%) scale(.95); } to { opacity: 1; transform: translateX(-50%) scale(1.08); } }
.lp-hero > .lp-wrap { position: relative; z-index: 1; }
.lp-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.lp-cta-row .btn { height: 50px; padding: 0 26px; font-size: 15px; }
.lp-note { margin-top: 16px; font-size: 13px; color: var(--color-text-muted); }

/* Maqueta flotante del hero */
.lp-stage { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; width: min(1040px, 100%); text-align: left; }
.lp-app {
    border-radius: 26px; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-divider), 0 40px 90px rgba(15, 23, 42, .16), 0 8px 24px rgba(15, 23, 42, .06);
    overflow: hidden;
}
.lp-app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--color-divider); background: var(--color-surface-subtle); }
.lp-app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.lp-app-url { margin-left: 10px; padding: 4px 12px; border-radius: 9999px; background: var(--color-surface); font-size: 12px; color: var(--color-text-muted); box-shadow: inset 0 0 0 1px var(--color-divider); }
.lp-app-body { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 20px; background: var(--color-canvas); }
@media (min-width: 820px) { .lp-app-body { grid-template-columns: 1.15fr 1fr; padding: 24px; } }
.lp-card { background: var(--color-surface); border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-1); }
.lp-card-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }

.lp-score { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.lp-team { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; font-size: 13px; font-weight: 600; text-align: center; }
.lp-shield { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-on-primary-soft); font-size: 20px; }
.lp-shield--ink { background: var(--color-ink); color: #fff; }
.lp-goals { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 10px; }
.lp-goals span:nth-child(2) { color: var(--color-border); font-weight: 500; }
.lp-clock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9999px; background: color-mix(in srgb, var(--color-danger-strong) 10%, #fff); color: var(--color-danger); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-events { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lp-events li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text-secondary); padding: 8px 10px; border-radius: 12px; background: var(--color-surface-subtle); }
.lp-events b { color: var(--color-ink); font-variant-numeric: tabular-nums; min-width: 28px; }

.lp-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 13px; }
.lp-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); padding: 6px 4px; }
.lp-table td { padding: 9px 4px; border-top: 1px solid var(--color-divider); font-variant-numeric: tabular-nums; }
.lp-table td:first-child { width: 26px; color: var(--color-text-muted); font-weight: 700; }
.lp-table .lp-bar { height: 8px; border-radius: 9999px; background: var(--color-track); overflow: hidden; min-width: 70px; }
.lp-table .lp-bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--color-ink-2), var(--color-primary)); transition: width 1.1s var(--ease) .25s; }
.lp-in .lp-table .lp-bar > i { width: var(--w); }

/* Tarjetas que flotan alrededor */
.lp-float { position: absolute; z-index: 2; background: var(--color-surface); border-radius: 18px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--color-divider), 0 18px 44px rgba(15, 23, 42, .16); display: none; align-items: center; gap: 12px; font-size: 13px; animation: lp-bob 6s ease-in-out infinite; }
.lp-float b { display: block; font-size: 13.5px; }
.lp-float small { color: var(--color-text-muted); font-size: 12px; }
.lp-float--a { left: -44px; bottom: -26px; }
.lp-float--b { right: -40px; top: -22px; animation-delay: -2.2s; }
.lp-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--color-primary-soft); color: var(--color-on-primary-soft); flex: none; }
.lp-ico--ok { background: color-mix(in srgb, var(--color-success) 14%, #fff); color: var(--color-success); }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (min-width: 1100px) { .lp-float { display: flex; } }

/* ── Marquesina ─────────────────────────────────────────────── */
.lp-trust { padding: 36px 0 44px; border-block: 1px solid var(--color-divider); background: var(--color-surface); }
.lp-trust p { margin: 0 0 20px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.lp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-track { display: flex; width: max-content; gap: 14px; animation: lp-scroll 48s linear infinite; }
.lp-marquee:hover .lp-track { animation-play-state: paused; }
.lp-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 9999px; background: var(--color-surface-subtle); font-size: 15px; font-weight: 600; color: var(--color-ink-2); white-space: nowrap; }
.lp-chip i { font-size: 18px; color: var(--color-primary); }
@keyframes lp-scroll { to { transform: translateX(-50%); } }

/* ── Bento ──────────────────────────────────────────────────── */
.lp-head { margin-bottom: clamp(36px, 5vw, 64px); }
.lp-bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-bento { grid-template-columns: repeat(6, 1fr); } .lp-b-lg { grid-column: span 4; } .lp-b-md { grid-column: span 3; } .lp-b-sm { grid-column: span 2; } }
.lp-tile { position: relative; overflow: hidden; border-radius: 28px; padding: 28px; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-divider), var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; gap: 10px; }
.lp-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--color-border), 0 26px 56px rgba(15, 23, 42, .1); }
.lp-tile h3 { margin: 6px 0 0; font-size: 21px; letter-spacing: -.02em; font-weight: 700; }
.lp-tile p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--color-text-secondary); }
.lp-tile--dark { background: var(--color-ink); color: #fff; box-shadow: none; }
.lp-tile--dark p { color: #B6C0D0; }
.lp-tile--dark .lp-ico { background: rgba(255, 255, 255, .12); color: #fff; }
.lp-demo { margin-top: auto; padding-top: 14px; }

.lp-fix { display: grid; gap: 8px; }
.lp-fix > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--color-surface-subtle); font-size: 13px; font-weight: 600; }
.lp-fix > div > span:last-child { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--color-text-muted); font-weight: 600; }
.lp-bracket { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 0; font-size: 12.5px; font-weight: 600; }
.lp-bracket .m { display: grid; gap: 6px; }
.lp-bracket .m span { padding: 8px 10px; border-radius: 10px; background: var(--color-surface-subtle); }
.lp-bracket .m span.w { background: var(--color-primary-soft); color: var(--color-on-primary-soft); }
.lp-bracket .ln { height: 2px; background: var(--color-border); border-radius: 2px; transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease) .3s; }
.lp-in .lp-bracket .ln { transform: scaleX(1); }
.lp-qr { display: flex; align-items: center; gap: 14px; }
.lp-qr svg { width: 92px; height: 92px; border-radius: 12px; background: #fff; padding: 6px; flex: none; }
.lp-id { font-size: 13px; line-height: 1.5; color: #B6C0D0; }
.lp-id b { display: block; color: #fff; font-size: 15px; }
.lp-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 9999px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--color-success-solid, #16A34A) 22%, transparent); color: #86EFAC; margin-top: 6px; }

/* ── Flujo en 5 pasos ───────────────────────────────────────── */
.lp-flow { display: grid; gap: 20px; position: relative; }
@media (min-width: 900px) { .lp-flow { grid-template-columns: repeat(5, 1fr); gap: 14px; } .lp-flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--color-border) 0 8px, transparent 8px 16px); } }
.lp-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0; }
@media (max-width: 899px) { .lp-step { flex-direction: row; gap: 16px; align-items: flex-start; } }
.lp-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-border), var(--shadow-1); font-weight: 800; font-size: 20px; position: relative; z-index: 1; flex: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.lp-in .lp-num { background: var(--color-ink); color: #fff; }
.lp-step:nth-child(2) .lp-num { transition-delay: .12s; } .lp-step:nth-child(3) .lp-num { transition-delay: .24s; } .lp-step:nth-child(4) .lp-num { transition-delay: .36s; } .lp-step:nth-child(5) .lp-num { transition-delay: .48s; }
.lp-step h3 { margin: 6px 0 0; font-size: 17px; letter-spacing: -.01em; }
.lp-step p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--color-text-secondary); }
.lp-who { display: inline-flex; margin-top: 8px; padding: 3px 10px; border-radius: 9999px; background: var(--color-primary-soft); color: var(--color-on-primary-soft); font-size: 12px; font-weight: 700; }

/* ── Roles ──────────────────────────────────────────────────── */
.lp-roles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lp-roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-roles { grid-template-columns: repeat(3, 1fr); } }
.lp-role { padding: 24px; border-radius: 24px; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-divider); display: flex; gap: 16px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.lp-role:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--color-primary), 0 20px 44px rgba(37, 99, 235, .12); }
.lp-role h3 { margin: 0; font-size: 17px; }
.lp-role p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }

/* ── Cifras ─────────────────────────────────────────────────── */
.lp-stats { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); border-radius: 28px; overflow: hidden; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-divider), var(--shadow-1); }
@media (min-width: 860px) { .lp-stats { grid-template-columns: repeat(4, 1fr); } }
.lp-stat { padding: 32px 24px; border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.lp-stat strong { display: block; font-size: clamp(38px, 5vw, 56px); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--color-text-secondary); line-height: 1.45; }

/* ── Seguridad ──────────────────────────────────────────────── */
.lp-sec { display: grid; gap: 28px; grid-template-columns: 1fr; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--color-ink); color: #fff; position: relative; overflow: hidden; }
.lp-sec::before { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--color-primary) 55%, transparent), transparent); }
@media (min-width: 900px) { .lp-sec { grid-template-columns: 1fr 1fr; align-items: center; } }
.lp-sec .lp-lead { color: #B6C0D0; }
.lp-sec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.lp-sec li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 14.5px; line-height: 1.5; color: #D7DEEA; }
.lp-sec li b { display: block; color: #fff; font-size: 15px; }
.lp-sec li i { font-size: 22px; color: #93C5FD; flex: none; }

/* ── FAQ ────────────────────────────────────────────────────── */
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq details { border-radius: 20px; background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-divider); transition: box-shadow .2s var(--ease); }
.lp-faq details[open] { box-shadow: 0 0 0 1px var(--color-border), var(--shadow-1); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 16px; font-weight: 600; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { transition: transform .25s var(--ease); color: var(--color-text-muted); }
.lp-faq details[open] summary i { transform: rotate(45deg); }
.lp-faq summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 20px; }
.lp-faq details p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--color-text-secondary); }

/* ── CTA final y pie ────────────────────────────────────────── */
.lp-final { position: relative; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 36px; background: var(--color-ink); color: #fff; overflow: hidden; }
.lp-final::before { content: ""; position: absolute; inset: auto 0 -60% 0; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--color-primary) 60%, transparent), transparent); animation: lp-glow 8s ease-in-out infinite alternate; }
.lp-final > * { position: relative; }
.lp-final .lp-h2 { color: #fff; margin-top: 0; }
.lp-final .lp-lead { color: #B6C0D0; margin-inline: auto; }
.lp-final .btn-light { background: #fff; color: var(--color-ink); }
.lp-final .btn-light:hover { background: var(--color-primary-soft); color: var(--color-ink); }
.lp-foot { padding: 40px 0 56px; }
.lp-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--color-text-muted); }
.lp-foot nav { display: flex; gap: 20px; }
.lp-foot a { color: var(--color-ink-2); }
.lp-foot a:hover { color: var(--color-primary); }

/* ── Aparición al scroll ────────────────────────────────────── */
.js .lp-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .lp-rv.lp-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .lp-rv { opacity: 1; transform: none; }
    .lp-table .lp-bar > i { width: var(--w); }
    .lp-bracket .ln { transform: none; }
}
