/* Portada publica de LiVnet ISPs. Independiente del layout de la app. */
:root {
    --fondo: #0b1220;
    --fondo-2: #0f1a2e;
    --superficie: rgba(255, 255, 255, .04);
    --borde: rgba(148, 163, 184, .16);
    --texto: #e6edf7;
    --texto-suave: #9aa8bf;
    --acento: #22d3ee;
    --acento-2: #6366f1;
    --ok: #34d399;
    --aviso: #fbbf24;
    --radio: 16px;
    --sombra: 0 24px 60px -24px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--fondo);
    color: var(--texto);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.contenedor { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Navegacion */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(11, 18, 32, .78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borde);
}
.nav-fila { display: flex; align-items: center; gap: 24px; height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 600; }
.marca b { color: var(--acento); font-weight: 700; }
.marca-icono { width: 32px; height: 32px; }
.nav-enlaces { display: flex; gap: 28px; margin-left: auto; color: var(--texto-suave); font-size: .95rem; }
.nav-enlaces a:hover { color: var(--texto); }

/* Botones */
.boton {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 1rem;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.boton:hover { transform: translateY(-1px); }
.boton-primario {
    background: linear-gradient(135deg, var(--acento), var(--acento-2));
    color: #06101f;
    box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .55);
}
.boton-secundario { border: 1px solid var(--borde); background: var(--superficie); }
.boton-secundario:hover { background: rgba(255, 255, 255, .08); }
.boton-chico { padding: 9px 16px; font-size: .92rem; }
.nav .boton-chico { margin-left: 8px; }

.etiqueta {
    display: inline-block; padding: 6px 12px; border-radius: 999px;
    font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: var(--acento); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25);
}
.degradado {
    background: linear-gradient(135deg, var(--acento), #a5b4fc);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hero */
.hero {
    position: relative; overflow: hidden;
    padding: 88px 0 96px;
    background:
        radial-gradient(800px 400px at 85% 10%, rgba(99, 102, 241, .22), transparent 60%),
        radial-gradient(700px 380px at 10% 90%, rgba(34, 211, 238, .14), transparent 60%),
        var(--fondo);
}
.hero-red { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin: 18px 0 18px; }
.hero-sub { font-size: 1.15rem; color: var(--texto-suave); max-width: 540px; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
    font-size: .82rem; color: var(--texto-suave);
    padding: 5px 11px; border: 1px solid var(--borde); border-radius: 8px; background: var(--superficie);
}

/* Panel ilustrativo */
.hero-visual { position: relative; }
.panel {
    background: linear-gradient(180deg, rgba(20, 31, 54, .95), rgba(14, 23, 41, .95));
    border: 1px solid var(--borde); border-radius: 20px; padding: 18px;
    box-shadow: var(--sombra), 0 0 0 1px rgba(34, 211, 238, .05);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.panel-barra { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; color: var(--texto-suave); font-size: .8rem; }
.panel-barra i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.panel-barra span { margin-left: 8px; }
.panel-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.panel-kpis div { padding: 12px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--borde); }
.panel-kpis small { display: block; color: var(--texto-suave); font-size: .72rem; }
.panel-kpis strong { display: block; font-size: 1.25rem; margin: 2px 0; }
.panel-kpis em { font-style: normal; font-size: .7rem; color: var(--texto-suave); }
.panel-kpis em.sube { color: var(--ok); }
.panel-grafico {
    display: flex; align-items: flex-end; gap: 7px; height: 120px; margin: 14px 0;
    padding: 12px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--borde);
}
.panel-grafico span {
    flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--acento), rgba(99, 102, 241, .6));
}
.panel-eventos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .8rem; color: var(--texto-suave); }
.panel-eventos li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--superficie); }
.punto { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.punto.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.punto.aviso { background: var(--aviso); box-shadow: 0 0 10px var(--aviso); }
.punto.info { background: var(--acento); box-shadow: 0 0 10px var(--acento); }
.nota { text-align: right; font-size: .75rem; color: #64748b; margin-top: 10px; }

/* Secciones */
.seccion { padding: 96px 0; }
.seccion-alterna { background: var(--fondo-2); border-block: 1px solid var(--borde); }
.seccion-titulo { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.seccion-titulo h2, .robusto h2, .cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 14px; }
.seccion-titulo p { color: var(--texto-suave); margin-top: 12px; font-size: 1.05rem; }

.tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarjeta {
    padding: 26px; border-radius: var(--radio);
    background: var(--superficie); border: 1px solid var(--borde);
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.tarjeta:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-3px); background: rgba(255, 255, 255, .06); }
.tarjeta h3 { font-size: 1.12rem; margin: 16px 0 8px; }
.tarjeta p { color: var(--texto-suave); font-size: .95rem; }
.icono {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(99, 102, 241, .18));
    border: 1px solid rgba(34, 211, 238, .25);
}
.icono svg { width: 24px; height: 24px; fill: none; stroke: var(--acento); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Pasos */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.pasos li { position: relative; padding: 30px 26px; border-radius: var(--radio); background: var(--fondo); border: 1px solid var(--borde); }
.pasos h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.pasos p { color: var(--texto-suave); }
.paso-numero {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    font-weight: 700; color: #06101f; background: linear-gradient(135deg, var(--acento), var(--acento-2));
}

/* Robusto */
.robusto { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.robusto-texto p { color: var(--texto-suave); margin-top: 16px; font-size: 1.05rem; }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lista-check li {
    position: relative; padding: 16px 18px 16px 52px; border-radius: 14px;
    background: var(--superficie); border: 1px solid var(--borde); color: var(--texto-suave);
}
.lista-check li b { color: var(--texto); }
.lista-check li::before {
    content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(52, 211, 153, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Planes */
.planes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    padding: 28px 24px; border-radius: var(--radio); background: var(--fondo); border: 1px solid var(--borde);
}
.plan h3 { font-size: 1.2rem; }
.plan-precio { font-size: 2.4rem; font-weight: 700; margin: 12px 0 4px; letter-spacing: -.03em; }
.plan-precio span { font-size: .9rem; font-weight: 600; color: var(--texto-suave); vertical-align: super; }
.plan-precio small { font-size: .9rem; font-weight: 500; color: var(--texto-suave); }
.plan-desc { color: var(--texto-suave); font-size: .9rem; min-height: 2.9em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--acento), var(--acento-2)); }
.plan li.mas { color: var(--texto-suave); }
.plan li.mas::before { background: #334155; }
.plan-destacado {
    border-color: rgba(34, 211, 238, .55);
    background: linear-gradient(180deg, rgba(34, 211, 238, .08), var(--fondo) 45%);
    box-shadow: 0 20px 50px -25px rgba(34, 211, 238, .5);
}
.plan-sello {
    position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; color: #06101f; background: linear-gradient(135deg, var(--acento), var(--acento-2));
}

/* Llamado final y pie */
.cta {
    text-align: center; padding: 64px 32px; border-radius: 24px;
    background:
        radial-gradient(600px 240px at 50% 0%, rgba(99, 102, 241, .25), transparent 70%),
        linear-gradient(180deg, rgba(34, 211, 238, .08), rgba(255, 255, 255, .02));
    border: 1px solid var(--borde);
}
.cta p { color: var(--texto-suave); margin: 14px 0 28px; font-size: 1.05rem; }
.pie { border-top: 1px solid var(--borde); padding: 28px 0; color: #64748b; font-size: .88rem; }
.pie-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Responsive */
@media (max-width: 1024px) {
    .planes { grid-template-columns: repeat(2, 1fr); }
    .tarjetas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero { padding: 56px 0 72px; }
    .hero-grid, .robusto { grid-template-columns: 1fr; gap: 40px; }
    .panel { transform: none; }
    .pasos { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-enlaces { display: none; }
    .nav .boton-chico { margin-left: auto; }
    .seccion { padding: 68px 0; }
    .tarjetas, .planes { grid-template-columns: 1fr; }
    .panel-kpis { grid-template-columns: 1fr 1fr; }
    .panel-kpis div:last-child { grid-column: span 2; }
    .hero-acciones .boton { flex: 1 1 100%; }
    .hero-red { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .boton, .tarjeta { transition: none; }
}
