/* =====================================================================
   NETWILONE - LA PORTADA

   Solo la carga la portada (HomeController::index), despues de app.css,
   ui.css y platform.css. Todas las clases van con `lx-` para no pisar
   nada de lo que comparten la tienda, el panel y la cuenta.

   Ideas:
     · Serio antes que llamativo: mucho aire, pocos colores, el verde
       solo donde hay que actuar o donde algo "esta bien".
     · El producto se ensena dibujado (HTML y CSS), nunca con capturas.
     · En el telefono todo se apila y la escena del hero se simplifica:
       se queda el navegador y un aviso, el telefono sobra en un telefono.
   ===================================================================== */

/* ------------------------------------------------------------ Base */

.lx-sec { position: relative; }

.lx-head {
    max-width: 720px;
    margin: 0 auto clamp(28px, 4vw, 48px);
    text-align: center;
}
.lx-head h2,
.vt .sec-head h2 {
    font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.65rem);
    letter-spacing: -.035em;
    line-height: 1.08;
    margin-bottom: .55rem;
}
.lx-head p { margin: 0 auto; max-width: 56ch; color: var(--text-2); font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); }

.lx-kicker,
.vt .sec-head .kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.vt .sec-head .kicker::before { display: none; }

.lx-grad {
    background: linear-gradient(100deg, var(--primary-3) 0%, var(--primary) 45%, #3DDC97 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lx-btn { gap: 10px; }
.lx-btn svg {
    width: 18px; height: 18px;
    fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform var(--med);
}
.lx-btn:hover svg { transform: translateX(3px); }

/* Aparece al entrar en pantalla (landing.js). Sin JS no se oculta nada. */
.lx-js .lx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.lx-js .lx-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================== Hero */

.lx-hero {
    position: relative;
    padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px);
    overflow: hidden;
}

/* Un halo detras de la escena: da profundidad sin pedir atencion. */
.lx-hero::before {
    content: '';
    position: absolute;
    right: -10%;
    top: 6%;
    width: min(760px, 70vw);
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(0, 230, 118, .16), transparent 72%);
    filter: blur(20px);
    pointer-events: none;
}

.lx-hero-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.lx-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 10px;
    border: 1px solid var(--border-2);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .025);
    color: var(--text-2);
    font-size: .82rem;
    font-weight: 500;
}
.lx-pill i {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 230, 118, .16);
    animation: lx-pulse 2.4s var(--ease) infinite;
}

.lx-h1 {
    margin: 22px 0 18px;
    font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
    max-width: 13ch;
}
.lx-h1 .lx-grad { display: inline-block; }

.lx-lead {
    margin: 0 0 30px;
    max-width: 50ch;
    color: var(--text-2);
    font-size: clamp(1rem, .94rem + .35vw, 1.17rem);
    line-height: 1.62;
}

.lx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lx-actions-center { justify-content: center; }

.lx-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .875rem;
}
.lx-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lx-trust svg,
.lx-vs svg {
    width: 16px; height: 16px; flex: none;
    fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------- La escena */

.lx-stage {
    position: relative;
    text-align: left;
    padding: 28px 46px 56px 0;
}

.lx-browser {
    position: relative;
    border: 1px solid var(--border-2);
    border-radius: 16px;
    background: linear-gradient(180deg, #0D1510, #090E0B);
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 80px -30px rgba(0, 230, 118, .35);
    overflow: hidden;
    transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
    transform-origin: left center;
    transition: transform 1s var(--ease-out);
}
.lx-stage:hover .lx-browser { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }

.lx-browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}
.lx-dots { display: inline-flex; gap: 6px; flex: none; }
.lx-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3A30; }
.lx-dots i:nth-child(1) { background: #FF5F57; }
.lx-dots i:nth-child(2) { background: #FEBC2E; }
.lx-dots i:nth-child(3) { background: #28C840; }

.lx-url {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .35);
    color: var(--muted);
    font-family: var(--mono);
    font-size: .74rem;
    white-space: nowrap;
    overflow: hidden;
}
.lx-url svg { width: 12px; height: 12px; fill: none; stroke: var(--primary); stroke-width: 2.2; flex: none; }
.lx-url b { color: var(--primary); font-weight: 600; }
.lx-url b.is-typing::after {
    content: '';
    display: inline-block;
    width: 1px; height: 1em;
    margin-left: 1px;
    vertical-align: -2px;
    background: var(--primary);
    animation: lx-caret 1s steps(1) infinite;
}

.lx-browser-body { padding: 14px; }

.lx-shop-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.lx-shop-logo {
    display: grid; place-items: center;
    width: 24px; height: 24px; border-radius: 7px;
    background: var(--primary); color: var(--on-primary);
    font-weight: 800; font-size: .72rem;
}
.lx-shop-name { font-weight: 700; font-size: .8rem; letter-spacing: -.01em; }
.lx-shop-search { flex: 1; height: 22px; margin-left: 10px; border-radius: 6px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.lx-shop-cart { width: 22px; height: 22px; border-radius: 6px; background: rgba(0, 230, 118, .12); border: 1px solid rgba(0, 230, 118, .25); }

.lx-shop-banner {
    display: grid;
    gap: 4px;
    justify-items: start;
    padding: 16px 16px 15px;
    margin-bottom: 12px;
    border-radius: 11px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(0, 230, 118, .22), transparent 55%),
        linear-gradient(135deg, #10241A, #0B130E);
    border: 1px solid rgba(0, 230, 118, .14);
}
.lx-shop-banner span { color: var(--primary); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lx-shop-banner b { font-family: var(--font-display); font-size: .98rem; line-height: 1.2; letter-spacing: -.02em; max-width: 22ch; }
.lx-shop-banner em {
    margin-top: 6px; padding: 4px 10px; border-radius: 6px;
    background: var(--primary); color: var(--on-primary);
    font-style: normal; font-size: .64rem; font-weight: 700;
}

.lx-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.lx-shop-card {
    display: grid;
    gap: 2px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .018);
    min-width: 0;
}
.lx-shop-img {
    display: grid; place-items: center;
    height: 44px;
    margin-bottom: 5px;
    border-radius: 7px;
    background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #000));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
}
.lx-shop-t { font-size: .66rem; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-shop-p { font-size: .72rem; font-weight: 800; color: var(--primary); }

/* --- El telefono con el pedido entregado */
.lx-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 178px;
    padding: 7px;
    border-radius: 28px;
    background: #121A15;
    border: 1px solid #2A3B31;
    box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset;
    animation: lx-float 7s var(--ease) infinite;
}
.lx-phone-screen {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 18px 11px 12px;
    border-radius: 22px;
    background: linear-gradient(180deg, #0C1510, #080C0A);
    text-align: center;
}
.lx-phone-ok {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: rgba(0, 230, 118, .14);
    border: 1px solid rgba(0, 230, 118, .35);
}
.lx-phone-ok svg { width: 17px; height: 17px; fill: none; stroke: var(--primary); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lx-phone-screen > b { font-size: .78rem; }
.lx-phone-screen > small { color: var(--muted); font-size: .62rem; margin-bottom: 6px; }
.lx-phone-data { display: grid; gap: 4px; width: 100%; }
.lx-phone-data span,
.lx-fields span {
    display: grid;
    gap: 1px;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    text-align: left;
    font-family: var(--mono);
    font-size: .6rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lx-phone-data i,
.lx-fields i { font-style: normal; font-family: var(--font); color: var(--muted); font-size: .54rem; text-transform: uppercase; letter-spacing: .08em; }
.lx-phone-wa {
    width: 100%;
    margin-top: 7px;
    padding: 6px;
    border-radius: 8px;
    background: #25D366;
    color: #04120A;
    font-size: .62rem;
    font-weight: 700;
}

/* --- Los avisos que flotan */
.lx-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border-radius: 14px;
    border: 1px solid var(--border-2);
    background: rgba(13, 20, 16, .86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .7);
    white-space: nowrap;
}
.lx-float b { display: block; font-size: .8rem; }
.lx-float small { display: block; color: var(--muted); font-size: .7rem; }

.lx-float-sale { left: -26px; top: 0; animation: lx-float 6s var(--ease) infinite -2s; }
.lx-float-ico {
    display: grid; place-items: center;
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--c); color: #fff;
    font-family: var(--font-display); font-weight: 800; font-size: .9rem;
}

.lx-float-stats {
    left: 18px;
    bottom: 8px;
    display: grid;
    gap: 2px;
    width: 176px;
    padding: 11px 13px 8px;
    animation: lx-float 8s var(--ease) infinite -4s;
}
.lx-float-stats b { font-size: 1.05rem; font-family: var(--font-display); letter-spacing: -.02em; }
.lx-float-stats em { font-style: normal; font-family: var(--font); font-size: .68rem; color: var(--primary); font-weight: 700; margin-left: 4px; }
.lx-float-stats svg { width: 100%; height: 30px; margin-top: 4px; overflow: visible; }
.lx-spark { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 220; stroke-dashoffset: 220; animation: lx-draw 1.8s var(--ease-out) .6s forwards; }
.lx-spark-area { fill: rgba(0, 230, 118, .1); }

/* ========================================================= Medios de pago */

.lx-pay { padding-block: 8px clamp(26px, 4vw, 44px); }
.lx-pay-t {
    margin: 0 0 18px;
    text-align: center;
    color: var(--muted);
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.lx-pay-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px clamp(14px, 3vw, 34px);
}
.lx-pay-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-2);
    font-weight: 600;
    font-size: .92rem;
    opacity: .8;
    filter: grayscale(.4);
    transition: opacity var(--med), filter var(--med);
}
.lx-pay-item:hover { opacity: 1; filter: none; }
.lx-pay-item img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; background: #fff; }

/* ================================================================ Cifras */

.lx-stats-sec { padding-bottom: clamp(20px, 3vw, 36px); }
.lx-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008));
    overflow: hidden;
}
.lx-stats > div {
    display: grid;
    gap: 4px;
    padding: clamp(18px, 2.4vw, 28px) clamp(14px, 2vw, 26px);
    text-align: center;
    border-left: 1px solid var(--border);
}
.lx-stats > div:first-child { border-left: 0; }
.lx-stats b {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--text);
}
.lx-stats span { color: var(--muted); font-size: .84rem; }

/* ========================================================= Antes / despues */

.lx-vs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1040px;
    margin-inline: auto;
}
.lx-vs-col {
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .015);
}
.lx-vs-con {
    border-color: rgba(0, 230, 118, .3);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(0, 230, 118, .1), transparent 60%),
        rgba(255, 255, 255, .02);
    box-shadow: 0 30px 80px -40px rgba(0, 230, 118, .4);
}
.lx-vs-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 4px 11px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-2);
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.lx-vs-con .lx-vs-tag { color: var(--primary); border-color: rgba(0, 230, 118, .35); background: rgba(0, 230, 118, .08); }
.lx-vs ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lx-vs li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; line-height: 1.45; }
.lx-vs li svg { margin-top: 3px; }
.lx-vs-antes li { color: var(--muted); }
.lx-vs-antes svg { stroke: #7A5050; }

/* ============================================================== Funciones */

.lx-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.lx-card {
    position: relative;
    padding: clamp(20px, 2.4vw, 28px);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    overflow: hidden;
    transition: border-color var(--med), transform var(--med), box-shadow var(--med);
}
.lx-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.lx-card h3 { font-size: 1.08rem; margin: 16px 0 6px; letter-spacing: -.02em; }
.lx-card p { margin: 0; color: var(--text-2); font-size: .9rem; line-height: 1.6; }

.lx-card-ico {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 230, 118, .25);
    background: rgba(0, 230, 118, .08);
}
.lx-card-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.lx-card-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
    gap: 22px;
}
.lx-card-wide h3 { margin-top: 16px; }

.lx-card-strip {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-block: 20px;
}
.lx-card-strip > div { flex: 1; min-width: 0; }
.lx-card-strip h3 { margin: 0 0 2px; }
.lx-card-strip .btn { flex: none; }

.lx-fields { display: grid; gap: 8px; }
.lx-fields span { font-size: .74rem; padding: 8px 11px; }
.lx-fields i { font-size: .6rem; }
.lx-fields .is-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; background: none; border: 0; }

.lx-tiers { display: grid; gap: 8px; }
.lx-tiers div {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}
.lx-tiers div.is-on { border-color: rgba(0, 230, 118, .35); background: rgba(0, 230, 118, .06); }
.lx-tiers small { color: var(--muted); font-size: .76rem; }
.lx-tiers b { font-family: var(--mono); font-size: .86rem; }
.lx-tiers em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--primary); padding: 2px 7px; border-radius: 6px; background: rgba(0, 230, 118, .12); }
.lx-tiers div:not(:has(em)) { grid-template-columns: 1fr auto; }

/* ========================================================== Como funciona */

.lx-band {
    border-block: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent);
}

.lx-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
/* La raya que une los pasos: se lee como un camino, no como una lista. */
.lx-steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2) 15%, rgba(0, 230, 118, .45) 50%, var(--border-2) 85%, transparent);
}
.lx-steps li { position: relative; text-align: center; padding-inline: 8px; }
.lx-step-n {
    display: inline-grid;
    place-items: center;
    width: 54px; height: 54px;
    margin-bottom: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 230, 118, .4);
    background: var(--bg);
    color: var(--primary);
    font-family: var(--mono);
    font-weight: 600;
    font-size: .95rem;
    box-shadow: 0 0 0 6px var(--bg), 0 0 30px -4px rgba(0, 230, 118, .45);
}
.lx-steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.lx-steps p { margin: 0 auto; max-width: 30ch; color: var(--text-2); font-size: .92rem; }

/* ================================================================ Planes */

/* Tres tarjetas de la misma altura, con el boton antes de los beneficios:
   la lista (partials/plan_benefits, estilos en app.css) es la misma en las
   tres y se compara renglon a renglon. */
.lx-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
    max-width: 1160px;
    margin-inline: auto;
    align-items: stretch;
}
.lx-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 2.4vw, 32px) clamp(20px, 2.2vw, 28px) clamp(22px, 2.2vw, 28px);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
    color: var(--text);
    transition: border-color var(--med), transform var(--med), box-shadow var(--med);
}
.lx-plan::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
}
.lx-plan:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .9); }
.lx-plan.is-top {
    border-color: rgba(0, 230, 118, .45);
    background:
        radial-gradient(110% 60% at 50% 0%, rgba(0, 230, 118, .13), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
    box-shadow: 0 30px 80px -40px rgba(0, 230, 118, .55), 0 0 0 1px rgba(0, 230, 118, .18);
}
.lx-plan.is-top::before { background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.lx-plan-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    background: var(--primary);
    color: var(--on-primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 20px -6px rgba(0, 230, 118, .7);
}
.lx-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 30px; }
.lx-plan-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.lx-plan-chip {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(0, 230, 118, .35);
    background: rgba(0, 230, 118, .08);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.lx-plan-pitch { margin: 6px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; min-height: 3em; }
.lx-plan-price {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 1.6rem + 1.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.lx-plan.is-top .lx-plan-price { color: var(--primary); }
.lx-plan-price small { font-family: var(--font); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.lx-plan-year { margin: 10px 0 0; color: var(--muted); font-size: .84rem; }
.lx-plan-year b { color: var(--text-2); font-weight: 650; }
.lx-plan-cta { width: 100%; justify-content: center; margin-top: 20px; min-height: 48px; }
.lx-plan .pb-list { margin-top: 22px; }

.lx-plans-foot {
    margin: clamp(22px, 3vw, 32px) auto 0;
    text-align: center;
    color: var(--muted);
    font-size: .88rem;
}
.lx-plans-foot a { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; color: var(--primary); font-weight: 700; text-decoration: none; }
.lx-plans-foot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--med); }
.lx-plans-foot a:hover svg { transform: translateX(3px); }

@media (max-width: 980px) {
    .lx-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 26px; }
    .lx-plan-pitch { min-height: 0; }
}

/* ============================================================= Preguntas */

.lx-faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.lx-head-left { text-align: left; margin: 0; position: sticky; top: 96px; }
.lx-head-left p { margin: 0 0 22px; }

.lx-faq { display: grid; gap: 10px; }
.lx-faq details {
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: rgba(255, 255, 255, .015);
    transition: border-color var(--med), background var(--med);
}
.lx-faq details[open] { border-color: var(--border-2); background: rgba(255, 255, 255, .03); }
.lx-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: .98rem;
}
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary:hover { color: var(--primary-3); }
.lx-faq-ico {
    display: grid; place-items: center;
    flex: none;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    transition: transform var(--med), border-color var(--med), background var(--med);
}
.lx-faq-ico svg { width: 14px; height: 14px; fill: none; stroke: var(--text-2); stroke-width: 2.2; stroke-linecap: round; }
.lx-faq details[open] .lx-faq-ico { transform: rotate(45deg); border-color: rgba(0, 230, 118, .4); background: rgba(0, 230, 118, .08); }
.lx-faq details[open] .lx-faq-ico svg { stroke: var(--primary); }
.lx-faq details p { margin: 0; padding: 0 20px 20px; color: var(--text-2); font-size: .93rem; line-height: 1.65; max-width: 62ch; }

/* ================================================================ Cierre */

.lx-final {
    position: relative;
    display: grid;
    justify-items: center;
    padding: clamp(40px, 7vw, 84px) clamp(20px, 5vw, 64px);
    border-radius: var(--r-xl);
    border: 1px solid rgba(0, 230, 118, .28);
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(0, 230, 118, .2), transparent 70%),
        linear-gradient(180deg, #0C1611, #070B08);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 50px 120px -60px rgba(0, 230, 118, .55);
}
/* Rejilla tenue detras del texto. */
.lx-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
    pointer-events: none;
}
.lx-final > * { position: relative; }
.lx-final h2 {
    max-width: 20ch;
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 1.1rem + 2.8vw, 3.1rem);
    letter-spacing: -.04em;
    line-height: 1.05;
}
.lx-final p { margin: 0 0 28px; color: var(--text-2); max-width: 48ch; font-size: 1.02rem; }
.lx-final-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 22px;
    color: var(--muted);
    font-size: .82rem;
}
.lx-final-note svg { width: 15px; height: 15px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================ Animaciones */

@keyframes lx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lx-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(0, 230, 118, .16); } 50% { box-shadow: 0 0 0 7px rgba(0, 230, 118, .05); } }
@keyframes lx-caret { 50% { opacity: 0; } }
@keyframes lx-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .lx-phone, .lx-float, .lx-pill i { animation: none; }
    .lx-spark { animation: none; stroke-dashoffset: 0; }
    .lx-js .lx-reveal { opacity: 1; transform: none; transition: none; }
    .lx-browser { transform: none; }
}

/* ============================================================== Pantallas */

@media (max-width: 1100px) {
    .lx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lx-card-wide { grid-column: span 2; }
}

@media (max-width: 980px) {
    .lx-hero-in { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .lx-hero-copy { display: grid; justify-items: center; }
    .lx-h1 { max-width: 16ch; }
    .lx-lead { margin-inline: auto; }
    .lx-actions { justify-content: center; }
    .lx-trust { justify-content: center; }
    .lx-stage { max-width: 640px; width: 100%; margin-inline: auto; padding: 24px 40px 48px 0; }
    .lx-browser { transform: none; }
    .lx-stage:hover .lx-browser { transform: none; }
    .lx-hero::before { right: 50%; transform: translateX(50%); top: 40%; }

    .lx-faq-wrap { grid-template-columns: minmax(0, 1fr); }
    .lx-head-left { position: static; text-align: center; margin-inline: auto; }
    .lx-head-left .btn { display: none; }
}

@media (max-width: 760px) {
    .lx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lx-stats > div:nth-child(3) { border-left: 0; }
    .lx-stats > div:nth-child(n + 3) { border-top: 1px solid var(--border); }

    .lx-vs { grid-template-columns: minmax(0, 1fr); }

    .lx-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .lx-steps::before { top: 27px; bottom: 27px; left: 27px; right: auto; width: 1px; height: auto;
        background: linear-gradient(180deg, var(--border-2), rgba(0, 230, 118, .45), var(--border-2)); }
    .lx-steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 18px; text-align: left; padding: 0 0 26px; }
    .lx-steps li:last-child { padding-bottom: 0; }
    .lx-step-n { grid-row: span 2; margin: 0; }
    .lx-steps h3 { margin: 12px 0 4px; }
    .lx-steps p { margin: 0; }
}

@media (max-width: 640px) {
    .lx-bento { grid-template-columns: minmax(0, 1fr); }
    .lx-card-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
    .lx-card-strip { flex-wrap: wrap; }
    .lx-card-strip .btn { width: 100%; justify-content: center; }

    /* En el telefono la escena se simplifica: sin telefono dentro del telefono. */
    .lx-stage { padding: 30px 0 0; }
    .lx-phone { display: none; }
    .lx-float-sale { left: 50%; top: 0; transform: translateX(-50%); animation: none; }
    .lx-float-stats { display: none; }
    .lx-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lx-shop-card:nth-child(n + 5) { display: none; }
    .lx-shop-search { display: none; }
    .lx-shop-banner b { margin-right: auto; }

    .lx-actions { display: grid; width: 100%; justify-content: stretch; }
    .lx-actions .btn { width: 100%; justify-content: center; }
    .lx-trust { gap: 8px 16px; font-size: .82rem; }

    .lx-pay-row { gap: 12px 18px; }
    .lx-pay-item { font-size: .84rem; }
    .lx-pay-item img { width: 24px; height: 24px; }

    .lx-faq summary { padding: 16px; font-size: .94rem; }
    .lx-faq details p { padding: 0 16px 16px; }
}

/* Los enlaces del menu (#funciones, #preguntas...) no caen debajo de la cabecera fija. */
html { scroll-behavior: smooth; }
.lx-sec[id], .vt[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* El cierre ya trae su aire: el pie no suma el suyo encima. */
.lx-final-sec { padding-bottom: clamp(40px, 6vw, 72px); }
.lx-final-sec ~ .ft, .pg:has(.lx-final-sec) + .ft { margin-top: 0; }
