/* ==================== LANDING PAGE ==================== */

/* === NAV === */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--m-surface);
    border-bottom: 1px solid var(--m-border);
}

.lp-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--m-text);
}

.lp-logo-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--m-accent) 0%, var(--m-accent-hover) 100%);
    box-shadow: 0 4px 10px rgba(var(--m-accent-rgb), .35), inset 0 1px 0 rgba(255, 255, 255, .2);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

    .lp-nav-links a {
        font-size: 13.5px;
        font-weight: 600;
        color: var(--m-text-muted);
        transition: color 120ms ease;
    }

        .lp-nav-links a:hover {
            color: var(--m-accent);
        }

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-sm);
    color: var(--m-text);
    cursor: pointer;
}

.lp-nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 24px 18px;
    border-top: 1px solid var(--m-divider);
}

    .lp-nav-mobile.is-open {
        display: flex;
    }

    .lp-nav-mobile a {
        padding: 10px 4px;
        font-size: 14px;
        font-weight: 600;
        color: var(--m-text);
        border-bottom: 1px solid var(--m-divider);
    }

.lp-nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

/* === MAIN WRAP === */
.lp-main {
    display: flex;
    flex-direction: column;
}

.lp-section {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
}

/* === BAND (fondo alternado de sección, para separar visualmente) === */
.lp-band {
    padding: 72px 0;
}

.lp-band--surface {
    background: var(--m-surface);
}

/* === HERO === */
.lp-hero {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    padding: 56px 24px 72px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 36px;
}

.lp-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--m-accent-soft);
    color: var(--m-accent);
    font-size: 12.5px;
    font-weight: 700;
}

    .lp-badge svg, .lp-badge i {
        width: 13px !important;
        height: 13px !important;
    }

.lp-hero-title {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--m-text);
    margin: 0;
}

    .lp-hero-title span {
        color: var(--m-accent);
    }

.lp-hero-subtitle {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--m-text-muted);
    max-width: 480px;
    margin: 0;
}

.lp-hero-hint {
    font-size: 12.5px;
    color: var(--m-text-faint);
    margin: 0;
}

/* === HERO SEARCH === */
.lp-hero-search {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 460px;
}

    .lp-hero-search .input-wrap {
        flex: 1;
    }

    .lp-hero-search .input {
        height: 46px;
    }

/* === HERO QUICK CATEGORIES === */
.lp-hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-hero-cat-chip {
    padding: 7px 14px;
    border: 1px solid var(--m-border);
    border-radius: 999px;
    background: var(--m-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--m-text-muted);
    transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

    .lp-hero-cat-chip:hover {
        border-color: var(--m-accent);
        color: var(--m-accent);
        background: var(--m-accent-soft);
    }

.lp-hero-cat-skel {
    width: 92px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--m-border) 25%, var(--m-surface-2) 37%, var(--m-border) 63%);
    background-size: 400% 100%;
    animation: lp-skel-shimmer 1.4s ease infinite;
}

@keyframes lp-skel-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* === HERO ILLUSTRATION (formas + íconos, sin mockup literal de la app) === */
.lp-hero-visual {
    display: flex;
    justify-content: center;
}

.lp-illustration {
    position: relative;
    width: 340px;
    height: 340px;
}

.lp-illustration-blob {
    position: absolute;
    inset: 20px;
    border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
    background: var(--m-accent-soft);
}

.lp-illustration-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--m-surface);
    box-shadow: var(--m-shadow-md);
    color: var(--m-accent);
}

    .lp-illustration-center svg, .lp-illustration-center i {
        width: 44px !important;
        height: 44px !important;
    }

.lp-illustration-badge {
    position: absolute;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--m-surface);
    box-shadow: var(--m-shadow-sm);
}

    .lp-illustration-badge svg, .lp-illustration-badge i {
        width: 22px !important;
        height: 22px !important;
    }

.lp-illustration-badge--1 {
    top: 6%;
    left: 4%;
    color: var(--m-c2);
    transform: rotate(-8deg);
}

.lp-illustration-badge--2 {
    top: 12%;
    right: 0%;
    color: var(--m-c4);
    transform: rotate(6deg);
}

.lp-illustration-badge--3 {
    bottom: 4%;
    left: 22%;
    color: var(--m-success);
    transform: rotate(-4deg);
}

/* === SECTION HEAD (título + subtítulo compartido por las secciones) === */
.lp-section-head {
    max-width: 560px;
    margin: 0 0 28px;
}

    .lp-section-head h2 {
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.01em;
        color: var(--m-text);
        margin: 0 0 6px;
    }

    .lp-section-head p {
        font-size: 13.5px;
        color: var(--m-text-muted);
        margin: 0;
    }

/* === STEPS (livianos, sin chrome de .card) === */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.lp-step {
    text-align: center;
}

.lp-step-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: var(--m-accent-soft);
    color: var(--m-accent);
}

    .lp-step-icon svg, .lp-step-icon i {
        width: 20px !important;
        height: 20px !important;
    }

.lp-step h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--m-text);
    margin: 0 0 4px;
}

.lp-step p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--m-text-muted);
    margin: 0;
}

/* === PANELES LIVIANOS (audiencia + comparación) ===
   Sin borde/sombra de .card ni header con ícono — solo un título y
   contenido, para que dos paneles lado a lado no se sientan como
   "cajas dentro de cajas". */
.lp-audience-grid,
.lp-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.lp-panel h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--m-text);
    margin: 0 0 14px;
}

.lp-panel--highlight {
    padding: 20px;
    border-radius: var(--m-radius);
    background: var(--m-accent-soft);
}

    .lp-panel--highlight .btn {
        margin-top: 16px;
    }

/* Lista de checks compartida (audiencia + comparación) */
.lp-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .lp-check-list li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 13.5px;
        line-height: 1.5;
        color: var(--m-text-muted);
    }

    .lp-check-list li svg, .lp-check-list li i {
        width: 15px !important;
        height: 15px !important;
        color: var(--m-success);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .lp-check-list--muted li svg, .lp-check-list--muted li i {
        color: var(--m-text-faint);
    }

/* === CTA FINAL (banda con tinte, sin card) === */
.lp-cta-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 48px 24px;
    border-radius: var(--m-radius-lg);
    background: var(--m-accent-soft);
}

    .lp-cta-body h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--m-text);
        margin: 0;
    }

    .lp-cta-body p {
        font-size: 14px;
        color: var(--m-text-muted);
        max-width: 440px;
        margin: 0;
    }

/* === FOOTER — mismo azul oscuro del sidebar de la app === */
.lp-footer {
    background: var(--m-sidebar);
}

.lp-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.lp-footer .lp-logo {
    color: var(--m-text-on-dark);
}

.lp-footer-brand p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--m-text-faint-on-dark);
    max-width: 320px;
}

.lp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .lp-footer-col h4 {
        font-size: 12.5px;
        font-weight: 700;
        color: var(--m-text-faintest-on-dark);
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .lp-footer-col a {
        font-size: 13.5px;
        color: var(--m-text-muted-on-dark);
        transition: color 120ms ease;
    }

        .lp-footer-col a:hover {
            color: var(--m-accent-on-dark);
        }

.lp-footer-bottom {
    background: var(--m-sidebar-soft);
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 16px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--m-text-faint-on-dark);
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .lp-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .lp-hero-text {
        align-items: center;
    }

    .lp-hero-search {
        max-width: 100%;
    }

    .lp-hero-categories {
        justify-content: center;
    }

    .lp-hero-visual {
        margin-top: 8px;
    }

    .lp-illustration {
        width: 260px;
        height: 260px;
    }

    .lp-band {
        padding: 56px 0;
    }

    .lp-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-audience-grid,
    .lp-compare-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lp-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .lp-footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .lp-nav-links,
    .lp-nav-actions {
        display: none;
    }

    .lp-nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .lp-hero-title {
        font-size: 32px;
    }

    .lp-hero-search {
        flex-direction: column;
    }

    .lp-hero-visual {
        display: none;
    }

    .lp-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lp-footer-inner {
        grid-template-columns: 1fr;
    }

    .lp-footer-brand {
        grid-column: auto;
    }
}
