﻿/* =========================
   LANDING (global CSS)
   Scoped under .ab-landing-shell so it won't affect the app/dashboard.
   ========================= */

.ab-landing-shell {
    background: var(--ab-body-bg, #f5f3ff);
    color: var(--ab-text-main, #0f172a);
    min-height: 100dvh;
}

    .ab-landing-shell * {
        box-sizing: border-box;
    }

    .ab-landing-shell .lp-container {
        width: min(1120px, calc(100% - 44px));
        margin-inline: auto;
    }

    /* Skip link (A11y) */
    .ab-landing-shell .lp-skip {
        position: absolute;
        left: -9999px;
        top: 12px;
        padding: 10px 12px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.12);
        z-index: 999;
        text-decoration: none;
        font-weight: 800;
        color: var(--ab-text-main, #0f172a);
    }

        .ab-landing-shell .lp-skip:focus {
            left: 12px;
        }

    /* Header */
    .ab-landing-shell .lp-header {
        position: sticky;
        top: 0;
        z-index: 60;
        background: rgba(245, 243, 255, 0.75);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .ab-landing-shell .lp-header-inner {
        height: 68px;
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .ab-landing-shell .lp-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: inherit;
        font-weight: 900;
        letter-spacing: -0.2px;
    }

    .ab-landing-shell .lp-brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 11px;
        background: rgba(255, 230, 213, 0.90);
        border: 1px solid rgba(15, 23, 42, 0.10);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ab-landing-shell .lp-nav {
        display: flex;
        gap: 6px;
        margin-left: 6px;
    }

        .ab-landing-shell .lp-nav a {
            text-decoration: none;
            color: var(--ab-text-muted, #64748b);
            font-weight: 800;
            font-size: 0.95rem;
            padding: 8px 10px;
            border-radius: 12px;
        }

            .ab-landing-shell .lp-nav a:hover {
                background: rgba(139, 92, 246, 0.10);
                color: var(--ab-text-main, #0f172a);
            }

    .ab-landing-shell .lp-actions {
        margin-left: auto;
        display: flex;
        gap: 10px;
        align-items: center;
    }

    /* Buttons */
    .ab-landing-shell .lp-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 14px;
        border-radius: 12px;
        border: 1px solid transparent;
        text-decoration: none;
        font-weight: 900;
        letter-spacing: -0.1px;
        white-space: nowrap;
        cursor: pointer;
        transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
    }

        .ab-landing-shell .lp-btn:active {
            transform: translateY(1px);
        }

    .ab-landing-shell .lp-btn--ghost {
        background: rgba(255, 255, 255, 0.55);
        border-color: rgba(15, 23, 42, 0.10);
        color: var(--ab-text-main, #0f172a);
    }

        .ab-landing-shell .lp-btn--ghost:hover {
            background: rgba(255, 255, 255, 0.85);
        }

    .ab-landing-shell .lp-btn--primary {
        background: var(--ab-accent, #8b5cf6);
        color: #fff;
        box-shadow: 0 12px 28px rgba(124, 58, 237, 0.22);
    }

        .ab-landing-shell .lp-btn--primary:hover {
            background: var(--ab-accent-strong, #7c3aed);
        }

    .ab-landing-shell .lp-btn--lg {
        height: 46px;
        padding: 0 18px;
        border-radius: 14px;
        font-size: 1rem;
    }

    /* Main padding */
    .ab-landing-shell .lp-main {
        padding: 34px 0 54px;
    }

    /* Hero */
    .ab-landing-shell .lp-hero {
        padding: 26px 0 18px;
        background: radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.16), transparent 46%), radial-gradient(circle at 88% 0%, rgba(255, 230, 213, 0.75), transparent 44%);
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .ab-landing-shell .lp-hero-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
        align-items: center;
    }

    .ab-landing-shell .lp-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid rgba(15, 23, 42, 0.10);
        color: var(--ab-text-muted, #64748b);
        font-weight: 900;
        width: fit-content;
    }

    .ab-landing-shell .lp-badge-dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: rgba(139, 92, 246, 0.9);
        box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
    }

    .ab-landing-shell .lp-h1 {
        margin: 14px 0 10px;
        font-size: clamp(2.2rem, 3.6vw, 3.2rem);
        line-height: 1.05;
        letter-spacing: -0.7px;
    }

    .ab-landing-shell .lp-lead {
        margin: 0 0 18px;
        font-size: 1.08rem;
        color: var(--ab-text-muted, #64748b);
        line-height: 1.6;
        max-width: 62ch;
    }

    .ab-landing-shell .lp-cta {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .ab-landing-shell .lp-chips {
        margin-top: 14px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .ab-landing-shell .lp-chip {
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(139, 92, 246, 0.08);
        border: 1px solid rgba(139, 92, 246, 0.18);
        font-weight: 900;
        color: var(--ab-text-main, #0f172a);
    }

    /* Device preview */
    .ab-landing-shell .lp-hero-media {
        justify-self: end;
    }

    .ab-landing-shell .lp-device {
        width: min(420px, 100%);
        position: relative;
    }

    .ab-landing-shell .lp-device-frame {
        aspect-ratio: 10 / 18;
        border-radius: 28px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.55);
        border: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: 0 22px 70px rgba(2, 6, 23, 0.14);
        overflow: hidden;
    }

    .ab-landing-shell .lp-device-top {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 6px 12px;
    }

    .ab-landing-shell .lp-device-dots {
        display: inline-flex;
        gap: 6px;
        margin-right: 2px;
    }

        .ab-landing-shell .lp-device-dots span {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.22);
        }

    .ab-landing-shell .lp-device-title {
        font-weight: 1000;
        letter-spacing: -0.2px;
    }

    .ab-landing-shell .lp-device-pill {
        margin-left: auto;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(139, 92, 246, 0.12);
        border: 1px solid rgba(139, 92, 246, 0.20);
        color: var(--ab-text-main, #0f172a);
        font-weight: 1000;
        font-size: 0.9rem;
    }

    .ab-landing-shell .lp-device-screen {
        height: calc(100% - 44px);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(15, 23, 42, 0.08);
        padding: 12px;
        display: grid;
        gap: 10px;
    }

    .ab-landing-shell .lp-mini-card {
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.10);
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 12px 26px rgba(2, 6, 23, 0.07);
    }

    .ab-landing-shell .lp-mini-card--accent {
        background: rgba(255, 230, 213, 0.65);
    }

    .ab-landing-shell .lp-mini-label {
        font-weight: 1000;
        font-size: 0.88rem;
        letter-spacing: -0.1px;
    }

    .ab-landing-shell .lp-mini-text {
        margin-top: 6px;
        color: var(--ab-text-main, #0f172a);
        font-weight: 800;
        line-height: 1.4;
    }

    .ab-landing-shell .lp-mini-foot {
        margin-top: auto;
        padding-top: 4px;
        color: var(--ab-text-muted, #64748b);
        font-weight: 900;
        font-size: 0.95rem;
    }
    .ab-landing-shell .lp-mini-chips {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    .ab-landing-shell .lp-mini-chip {
        display: inline-flex;
        align-items: center;
        height: 26px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(139, 92, 246, 0.08);
        border: 1px solid rgba(139, 92, 246, 0.18);
        font-weight: 900;
        font-size: 0.85rem;
        color: var(--ab-text-main, #0f172a);
    }


    .ab-landing-shell .lp-bear {
        position: absolute;
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 230, 213, 0.92);
        border: 1px solid rgba(15, 23, 42, 0.10);
        box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
        animation: lpFloat 3.8s ease-in-out infinite;
    }

@keyframes lpFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-landing-shell .lp-bear {
        animation: none;
    }
}

/* Sections */
.ab-landing-shell .lp-section {
    padding: 54px 0;
    scroll-margin-top: 84px;
}

.ab-landing-shell .lp-h2 {
    font-size: 1.7rem;
    letter-spacing: -0.35px;
    margin: 0 0 10px;
}

.ab-landing-shell .lp-muted {
    color: var(--ab-text-muted, #64748b);
    margin: 0 0 18px;
    max-width: 80ch;
    line-height: 1.7;
}

/* Steps */
.ab-landing-shell .lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.ab-landing-shell .lp-step {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.ab-landing-shell .lp-step-n {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.22);
    font-weight: 1000;
}

.ab-landing-shell .lp-step-title {
    font-weight: 1000;
    margin-bottom: 4px;
    letter-spacing: -0.15px;
}

.ab-landing-shell .lp-step-desc {
    color: var(--ab-text-muted, #64748b);
    font-weight: 800;
    line-height: 1.45;
}

/* CTA cards */
.ab-landing-shell .lp-inline-cta {
    margin-top: 18px;
}

.ab-landing-shell .lp-cta-card {
    max-width: 920px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 230, 213, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.ab-landing-shell .lp-cta-title {
    font-weight: 1100;
    font-size: 1.05rem;
    letter-spacing: -0.15px;
}

.ab-landing-shell .lp-cta-sub {
    margin-top: 4px;
    color: var(--ab-text-muted, #64748b);
    font-weight: 850;
}

/* Grid cards */
.ab-landing-shell .lp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.ab-landing-shell .lp-card {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.ab-landing-shell .lp-card-title {
    font-weight: 1100;
    margin-top: 10px;
    letter-spacing: -0.15px;
}

.ab-landing-shell .lp-card-text {
    margin-top: 6px;
    color: var(--ab-text-muted, #64748b);
    font-weight: 800;
    line-height: 1.5;
}

.ab-landing-shell .lp-ico {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.18);
}

/* Privacy */
.ab-landing-shell .lp-privacy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

/* FAQ */
.ab-landing-shell .lp-faq {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.ab-landing-shell .lp-faq-item {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    padding: 12px 14px;
}

    .ab-landing-shell .lp-faq-item summary {
        cursor: pointer;
        font-weight: 1000;
        letter-spacing: -0.15px;
    }

.ab-landing-shell .lp-faq-body {
    margin-top: 10px;
    color: var(--ab-text-muted, #64748b);
    font-weight: 800;
    line-height: 1.6;
}

/* Final CTA */
.ab-landing-shell .lp-final {
    margin-top: 18px;
}

.ab-landing-shell .lp-final-card {
    max-width: 920px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.10);
    border: 1px solid rgba(139, 92, 246, 0.18);
}

.ab-landing-shell .lp-final-title {
    font-weight: 1100;
    font-size: 1.12rem;
    letter-spacing: -0.2px;
}

.ab-landing-shell .lp-final-sub {
    margin-top: 4px;
    color: var(--ab-text-muted, #64748b);
    font-weight: 850;
}

/* Footer */
.ab-landing-shell .lp-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 24px 0 34px;
    background: rgba(255, 255, 255, 0.35);
}

.ab-landing-shell .lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--ab-text-muted, #64748b);
    font-weight: 900;
}

    .ab-landing-shell .lp-footer-inner a {
        color: inherit;
        text-decoration: none;
    }

        .ab-landing-shell .lp-footer-inner a:hover {
            text-decoration: underline;
        }

/* Responsive */
@media (max-width: 900px) {
    .ab-landing-shell .lp-nav {
        display: none;
    }

    .ab-landing-shell .lp-header-inner {
        height: 64px;
    }
}

@media (max-width: 980px) {
    .ab-landing-shell .lp-hero-grid {
        grid-template-columns: 1fr;
    }

    .ab-landing-shell .lp-hero-media {
        justify-self: center;
    }

    .ab-landing-shell .lp-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-landing-shell .lp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-landing-shell .lp-privacy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .ab-landing-shell .lp-steps {
        grid-template-columns: 1fr;
    }

    .ab-landing-shell .lp-grid {
        grid-template-columns: 1fr;
    }

    .ab-landing-shell .lp-cta-card,
    .ab-landing-shell .lp-final-card {
        grid-template-columns: 1fr;
    }
}
.ab-landing-shell .lp-note {
    margin-top: 14px;
    color: var(--ab-text-muted, #64748b);
    font-weight: 700;
    line-height: 1.6;
    max-width: 90ch;
}
