/**
 * Landing page — frosted-glass navbar (body.landing-page only).
 * Theme .header-2 also targets section.hero.hero-2; those are reset here.
 */

html:has(body.landing-page) {
    scroll-padding-top: 15rem;
}

body.landing-page .header.header-2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 150;
    /* Match theme .header-2 vertical rhythm (was 4rem 0 before glass overrides) */
    padding: 4rem 0;
    background: rgba(255, 252, 254, 0.22);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 32px rgba(55, 30, 50, 0.04);
}

body.landing-page .header.header-2.fixed {
    background: rgba(255, 252, 254, 0.32);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
}

/* Hero: no hero__wrapper; clear fixed navbar. Do NOT use padding:0 !important here — it overrides top spacing. */
body.landing-page section.hero.hero-2#hero {
    top: auto !important;
    margin-top: 0 !important;
    padding-top: calc(clamp(14rem, 22vw, 17rem) + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: clamp(6rem, 10vw, 10rem) !important;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent !important;
    border-bottom: none;
    box-shadow: none;
}

/* Mobile slide-out menu: glass panel */
@media (max-width: 991.98px) {
    body.landing-page .header__nav {
        background: rgba(35, 22, 48, 0.42) !important;
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        border-left: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: -8px 0 40px rgba(25, 15, 35, 0.25);
    }

    body.landing-page .header__nav li a {
        color: rgba(255, 255, 255, 0.96);
    }

    body.landing-page .header__nav li:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    body.landing-page .header__nav li:hover a,
    body.landing-page .header__nav li:hover i {
        color: #fff;
    }

    body.landing-page .header__nav span {
        color: rgba(255, 255, 255, 0.92);
    }

    body.landing-page .header__bars:hover {
        border-color: rgba(100, 80, 95, 0.35);
    }

    body.landing-page .header__bars-bar {
        background-color: #3d2f3a;
    }
}

body.customize-support.landing-page .header.header-2 {
    top: 3rem;
}
