.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 12000;
    display: none;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner-card {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(17, 17, 17, 0.96);
    color: #ffffff;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.cookie-banner-copy {
    margin-bottom: 0.9rem;
}

.cookie-banner-title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.cookie-banner-copy p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.cookie-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    margin-top: 0.75rem;
}

.cookie-banner-links a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.78rem;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.cookie-btn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
}

.cookie-btn-primary {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

header .header-top {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

header .logo {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1;
    text-indent: 0.3em;
    text-transform: uppercase;
}

header .nav-bar {
    height: 60px;
}

header .nav-container {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 0;
}

header .nav-links {
    display: flex;
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    gap: 4rem;
    height: 100%;
    letter-spacing: 0.15em;
    list-style: none;
    text-transform: uppercase;
}

header .nav-links li {
    align-items: center;
    display: flex;
    height: 100%;
}

header .nav-links a {
    align-items: center;
    display: inline-flex;
    height: 100%;
    min-height: 0;
    padding: 0 0.5rem;
}

.nav-compact-logo {
    display: none;
}

.waitlist-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.waitlist-status {
    color: inherit;
    font-size: 0.82rem;
    line-height: 1.6;
    margin-top: 0.9rem;
    max-width: 34rem;
    opacity: 0.72;
}

.footer-signup h3,
.footer-signup p,
.footer-signup .signup-form,
.footer-signup .waitlist-status {
    display: none !important;
}

.footer-signup .footer-brand {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem) !important;
    letter-spacing: 0.22em !important;
    line-height: 0.9 !important;
    margin: 0 !important;
    text-indent: 0.22em;
}

.nav-links li:has(a[href*="beauty-scan-preview"]),
.nav-links li:has(a[href="#scan-experience"]) {
    display: none;
}

@media (min-width: 769px) {
    header {
        transition: box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
    }

    header .header-top {
        transition: max-height 0.24s ease, opacity 0.2s ease, padding 0.24s ease;
        max-height: 124px;
        overflow: hidden;
    }

    header .nav-bar {
        transition: border-color 0.22s ease, height 0.22s ease, min-height 0.22s ease;
    }

    header .nav-container {
        position: relative;
    }

    .nav-compact-logo {
        position: absolute;
        left: 2rem;
        top: 50%;
        transform: translateY(-50%);
        color: inherit;
        font-family: var(--font-heading, 'Playfair Display', serif);
        font-size: 1.08rem;
        font-weight: 400;
        letter-spacing: 0.24em;
        line-height: 1;
        opacity: 0;
        pointer-events: none;
        text-indent: 0.24em;
        text-transform: uppercase;
        transition: opacity 0.18s ease;
        white-space: nowrap;
    }

    header.site-header-compact {
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
    }

    header.site-header-compact .header-top {
        max-height: 0;
        opacity: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    header.site-header-compact .nav-bar {
        border-top-color: transparent;
        height: 52px;
        min-height: 52px;
    }

    header.site-header-compact .nav-container {
        min-height: 52px;
    }

    header.site-header-compact .nav-links a {
        min-height: 52px;
    }

    header.site-header-compact .nav-compact-logo {
        display: inline-flex;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    header .header-top {
        justify-content: space-between;
        padding: 1.25rem 0;
    }

    header .logo {
        font-size: 1.9rem;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
    }

    header .nav-bar {
        border-top: 0;
        height: auto;
    }

    header .nav-container {
        align-items: stretch;
    }

    header .nav-links {
        display: none;
        flex-direction: column;
        gap: 1.2rem;
        height: auto;
        padding: 0 0 1.2rem;
    }

    header .nav-links.active {
        display: flex;
    }

    header .nav-links li {
        border-top: 1px solid var(--border, #E5E5E5);
        height: auto;
    }

    header .nav-links a {
        height: auto;
        justify-content: flex-start;
        min-height: auto;
        padding: 1rem 1.25rem;
        width: 100%;
    }

    .nav-compact-logo {
        display: none !important;
    }

    .cookie-banner-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}
