.unified-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    min-height: 64px;
    padding: 0;
    transition: all 0.3s ease;
    border: none;
}

.landing-body .unified-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.bg-l2b .unified-navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .bg-l2b .unified-navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.unified-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.unified-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    flex-shrink: 0;
}

.landing-body .unified-navbar-brand {
    color: #1e293b !important;
}

.bg-l2b .unified-navbar-brand {
    color: #f1f5f9 !important;
}

[data-theme="light"] .bg-l2b .unified-navbar-brand {
    color: #1e293b !important;
}

.unified-navbar-brand:hover {
    text-decoration: none !important;
}

.landing-body .unified-navbar-brand:hover {
    color: var(--brand-deep-teal, #0a5640) !important;
}

.bg-l2b .unified-navbar-brand:hover {
    color: #93c5fd !important;
}

[data-theme="light"] .bg-l2b .unified-navbar-brand:hover {
    color: var(--brand-deep-teal, #0a5640) !important;
}

.unified-navbar-logo {
    max-height: 40px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.unified-navbar-brandname {
    font-size: 1.6rem !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.unified-navbar-brand-accent {
    color: #0a5640;
    font-weight: 800;
}

.landing-body .unified-navbar-brand-accent {
    color: #0a5640;
}

.bg-l2b .unified-navbar-brand-accent {
    color: #ffa489;
}

[data-theme="light"] .bg-l2b .unified-navbar-brand-accent {
    color: #0a5640;
}

.landing-body .unified-navbar-brandname {
    color: #1e293b;
}

.bg-l2b .unified-navbar-brandname {
    color: #f1f5f9;
}

[data-theme="light"] .bg-l2b .unified-navbar-brandname {
    color: #1e293b;
}

.unified-navbar-toggler {
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: none !important;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.landing-body .unified-navbar-toggler {
    border: 1px solid #e2e8f0 !important;
}

.landing-body .unified-navbar-toggler:hover {
    background: #f1f5f9;
}

.bg-l2b .unified-navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.bg-l2b .unified-navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .bg-l2b .unified-navbar-toggler {
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .bg-l2b .unified-navbar-toggler:hover {
    background: #f1f5f9;
}

.unified-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(10, 86, 64, 0.15) !important;
    outline: none;
}

.unified-navbar-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.unified-navbar-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.landing-body .unified-navbar-hamburger span {
    background: #475569;
}

.bg-l2b .unified-navbar-hamburger span {
    background: #e2e8f0;
}

[data-theme="light"] .bg-l2b .unified-navbar-hamburger span {
    background: #475569;
}

.unified-navbar .navbar-collapse {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.bg-l2b {
    padding-top: 0;
}

.bg-l2b::before {
    z-index: 1051;
}

.unified-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.unified-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border: none;
    background: none;
    cursor: pointer;
}

.landing-body .unified-nav-link {
    color: #475569 !important;
}

.landing-body .unified-nav-link:hover {
    background: #f1f5f9;
    color: var(--brand-deep-teal, #0a5640) !important;
}

.bg-l2b .unified-nav-link {
    color: #cbd5e1 !important;
}

.bg-l2b .unified-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #93c5fd !important;
}

[data-theme="light"] .bg-l2b .unified-nav-link {
    color: #475569 !important;
}

[data-theme="light"] .bg-l2b .unified-nav-link:hover {
    background: #f1f5f9;
    color: var(--brand-deep-teal, #0a5640) !important;
}

.unified-nav-link:focus {
    text-decoration: none !important;
}

.unified-nav-link i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.unified-nav-link span {
    white-space: nowrap;
}

.unified-nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.unified-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    background: var(--brand-deep-teal, #0a5640) !important;
    color: #ffffff !important;
}

.unified-nav-cta:hover {
    background: var(--brand-deep-teal-hover, #084a38) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 86, 64, 0.25);
}

.bg-l2b .unified-nav-cta {
    background: var(--l2b-light-blue, #38bdf8) !important;
}

.bg-l2b .unified-nav-cta:hover {
    background: var(--l2b-blue, #0ea5e9) !important;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

[data-theme="light"] .bg-l2b .unified-nav-cta {
    background: var(--brand-deep-teal, #0a5640) !important;
    color: #ffffff !important;
}

[data-theme="light"] .bg-l2b .unified-nav-cta:hover {
    background: var(--brand-deep-teal-hover, #084a38) !important;
    box-shadow: 0 4px 12px rgba(10, 86, 64, 0.25);
}

.unified-nav-dropdown {
    position: relative;
}

.unified-dropdown-menu {
    border-radius: 12px;
    min-width: 180px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.landing-body .unified-dropdown-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.bg-l2b .unified-dropdown-menu {
    background: var(--l2b-bg-card, #1e293b) !important;
    border: 1px solid var(--l2b-border-medium, rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .bg-l2b .unified-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.unified-dropdown-item {
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 0.875rem;
}

.landing-body .unified-dropdown-item {
    color: #334155 !important;
}

.landing-body .unified-dropdown-item:hover {
    background: #f1f5f9;
    color: var(--brand-deep-teal, #0a5640) !important;
}

.bg-l2b .unified-dropdown-item {
    color: var(--l2b-text-primary, #e2e8f0) !important;
}

.bg-l2b .unified-dropdown-item:hover {
    background: var(--l2b-border-light, rgba(255, 255, 255, 0.08)) !important;
    color: #93c5fd !important;
}

[data-theme="light"] .bg-l2b .unified-dropdown-item {
    color: #334155 !important;
}

[data-theme="light"] .bg-l2b .unified-dropdown-item:hover {
    background: #f1f5f9 !important;
    color: var(--brand-deep-teal, #0a5640) !important;
}

.unified-dropdown-divider {
    margin: 0.25rem 0;
}

.landing-body .unified-dropdown-divider {
    border-color: #e2e8f0;
}

.bg-l2b .unified-dropdown-divider {
    border-color: var(--l2b-border-light, rgba(255, 255, 255, 0.08)) !important;
}

[data-theme="light"] .bg-l2b .unified-dropdown-divider {
    border-color: #e2e8f0 !important;
}

.theme-toggle-btn {
    cursor: pointer;
}

@media (max-width: 991px) {
    .unified-navbar .navbar-collapse {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        padding: 0.75rem 1rem 1rem;
        display: none;
    }

    .unified-navbar .navbar-collapse.show,
    .unified-navbar .navbar-collapse.collapsing {
        display: block;
    }

    .landing-body .unified-navbar .navbar-collapse {
        background: #ffffff;
        border-bottom: 1px solid #f1f5f9;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .bg-l2b .unified-navbar .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    [data-theme="light"] .bg-l2b .unified-navbar .navbar-collapse {
        background: #ffffff;
        border-bottom: 1px solid #f1f5f9;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .unified-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        width: 100%;
    }

    .unified-nav-link {
        width: 100%;
        padding: 0.65rem 0.75rem;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .unified-nav-link i {
        width: 22px;
        font-size: 0.95rem;
    }

    .unified-nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: center;
        padding: 0.65rem 1rem;
        border-radius: 10px;
    }

    .unified-nav-dropdown {
        width: 100%;
    }

    .unified-nav-dropdown .unified-nav-link {
        width: 100%;
    }

    .unified-dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 0.25rem !important;
        border-radius: 8px;
        padding: 0.25rem;
    }

    .landing-body .unified-dropdown-menu {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .bg-l2b .unified-dropdown-menu {
        background: rgba(15, 23, 42, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
    }

    [data-theme="light"] .bg-l2b .unified-dropdown-menu {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .unified-dropdown-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .unified-navbar-logo {
        max-height: 34px;
    }

    .unified-navbar-brandname {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .unified-navbar-logo {
        max-height: 30px;
    }

    .unified-navbar-brandname {
        font-size: 0.9rem;
    }

    .unified-nav-link {
        padding: 0.55rem 0.6rem;
        font-size: 0.85rem;
    }

    .unified-nav-link i {
        width: 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .unified-navbar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .unified-navbar-brandname {
        font-size: 0.85rem;
    }

    .unified-navbar-logo {
        max-height: 28px;
    }
}
