/* ============================================
   ENTERPRISE HEADER STYLES
   Nexus Pro Theme - Enterprise Grade
   Version: 1.5.0
   ============================================ */

/* ============================================
   1. ENTERPRISE VARIABLES
   ============================================ */
:root {
    /* Enterprise Colors - Dark Sophisticated */
    --header-enterprise-bg: rgba(255, 255, 255, 0.98);
    --header-enterprise-text: #0f172a;
    --header-enterprise-accent: #0f172a;
    --header-enterprise-accent-light: #334155;
    --header-enterprise-accent-dark: #020617;
    --header-enterprise-primary: #2563eb;
    --header-enterprise-primary-light: #3b82f6;
    --header-enterprise-primary-dark: #1d4ed8;
    --header-enterprise-border: rgba(15, 23, 42, 0.06);
    --header-enterprise-shadow: 0 4px 30px rgba(15, 23, 42, 0.05);
    --header-enterprise-shadow-hover: 0 8px 40px rgba(15, 23, 42, 0.1);
    
    /* Enterprise Glass */
    --glass-enterprise-bg: rgba(255, 255, 255, 0.85);
    --glass-enterprise-border: rgba(15, 23, 42, 0.06);
    --glass-enterprise-shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
    
    /* Dimensions */
    --header-enterprise-height: 80px;
    --header-enterprise-height-mobile: 64px;
    
    /* Transitions */
    --header-enterprise-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-enterprise-transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --header-enterprise-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode Enterprise */
[data-theme="dark"] {
    --header-enterprise-bg: rgba(15, 23, 42, 0.98);
    --header-enterprise-text: #f1f5f9;
    --header-enterprise-accent: #f1f5f9;
    --header-enterprise-accent-light: #94a3b8;
    --header-enterprise-accent-dark: #e2e8f0;
    --header-enterprise-border: rgba(241, 245, 249, 0.06);
    --header-enterprise-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --glass-enterprise-bg: rgba(30, 41, 59, 0.85);
    --glass-enterprise-border: rgba(241, 245, 249, 0.06);
}

/* ============================================
   2. ENTERPRISE HEADER BASE
   ============================================ */
.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--header-enterprise-bg);
    border-bottom: 1px solid var(--header-enterprise-border);
    transition: var(--header-enterprise-transition);
    overflow: visible;
}

/* Enterprise Premium Border */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--header-enterprise-primary) 20%, 
        var(--header-enterprise-primary-light) 50%,
        var(--header-enterprise-primary) 80%,
        transparent 100%
    );
    opacity: 0;
    transition: var(--header-enterprise-transition);
}

.site-header:hover::after {
    opacity: 0.3;
}

/* ============================================
   3. STICKY HEADER - ENTERPRISE
   ============================================ */
.sticky-header {
    position: sticky;
    top: 0;
}

.sticky-header.header-scrolled {
    box-shadow: var(--header-enterprise-shadow);
    border-bottom-color: transparent;
}

.sticky-header.header-scrolled::after {
    opacity: 0.2;
}

.sticky-header.header-scrolled .site-header::after {
    opacity: 0.3;
}

/* Premium Scroll Shadow */
.sticky-header.header-scrolled .header-main {
    box-shadow: 0 1px 0 var(--header-enterprise-border);
}

/* ============================================
   4. TRANSPARENT HEADER - ENTERPRISE
   ============================================ */
.transparent-header:not(.header-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.transparent-header:not(.header-scrolled) .site-title a,
.transparent-header:not(.header-scrolled) .main-menu > li > a,
.transparent-header:not(.header-scrolled) .header-action {
    color: #ffffff;
}

.transparent-header:not(.header-scrolled) .main-menu > li > a:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
}

.transparent-header:not(.header-scrolled) .main-menu > li.current-menu-item > a {
    color: #ffffff;
}

.transparent-header:not(.header-scrolled) .main-menu > li.current-menu-item > a::after {
    background: #ffffff;
}

.transparent-header:not(.header-scrolled) .hamburger-line {
    background: #ffffff;
}

.transparent-header:not(.header-scrolled) .header-cta {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.transparent-header:not(.header-scrolled) .header-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.transparent-header:not(.header-scrolled) .site-header::after {
    opacity: 0;
}

/* ============================================
   5. HEADER INNER - ENTERPRISE
   ============================================ */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-enterprise-height);
    padding: 0;
    gap: 32px;
    max-width: 100%;
    flex-wrap: nowrap;
    position: relative;
}

/* ============================================
   6. SITE BRANDING - ENTERPRISE
   ============================================ */
.site-branding {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    max-width: 280px;
}

.site-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-logo a {
    display: inline-block;
    line-height: 0;
    transition: var(--header-enterprise-transition);
    position: relative;
}

.site-logo img {
    max-height: 44px;
    width: auto;
    height: auto;
    display: block;
    transition: var(--header-enterprise-transition);
}

/* Enterprise Logo Animation */
.site-logo a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--header-enterprise-primary);
    transition: var(--header-enterprise-transition);
}

.site-logo a:hover::after {
    width: 100%;
}

/* Text Logo - Enterprise */
.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--header-enterprise-text);
}

.site-title a {
    color: var(--header-enterprise-text);
    text-decoration: none;
    transition: var(--header-enterprise-transition);
}

.site-title a:hover {
    color: var(--header-enterprise-primary);
}

/* ============================================
   7. MAIN NAVIGATION - ENTERPRISE
   ============================================ */
.main-navigation {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.menu-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    flex-wrap: wrap;
}

.main-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

/* Enterprise Menu Items */
.main-menu > li > a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--header-enterprise-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--header-enterprise-transition);
    position: relative;
    gap: 6px;
    letter-spacing: 0.01em;
}

/* Enterprise Hover Effect */
.main-menu > li > a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: var(--header-enterprise-text);
    opacity: 0;
    transition: var(--header-enterprise-transition);
    z-index: -1;
}

.main-menu > li > a:hover {
    color: var(--header-enterprise-primary);
}

.main-menu > li > a:hover::before {
    opacity: 0.05;
}

/* Active State - Enterprise */
.main-menu > li.current-menu-item > a,
.main-menu > li.current-page-ancestor > a {
    color: var(--header-enterprise-primary);
    font-weight: 600;
}

.main-menu > li.current-menu-item > a::before,
.main-menu > li.current-page-ancestor > a::before {
    opacity: 0.06;
}

/* Enterprise Active Indicator */
.main-menu > li.current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--header-enterprise-primary);
    border-radius: 2px;
}

/* ============================================
   8. DROPDOWN - ENTERPRISE
   ============================================ */
.main-menu .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 240px;
    padding: 12px;
    background: var(--glass-enterprise-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid var(--glass-enterprise-border);
    box-shadow: var(--glass-enterprise-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--header-enterprise-transition);
    z-index: 999;
    list-style: none;
}

.main-menu .menu-item-has-children:hover > .sub-menu,
.main-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Enterprise Dropdown Items */
.main-menu .sub-menu li {
    margin: 2px 0;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
}

.main-menu .sub-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--header-enterprise-text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--header-enterprise-transition);
    border-radius: 6px;
    gap: 12px;
}

.main-menu .sub-menu li a:hover {
    color: var(--header-enterprise-primary);
    background: rgba(37, 99, 235, 0.06);
    transform: translateX(4px);
}

/* Enterprise Dropdown Arrow */
.main-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: var(--header-enterprise-transition);
    opacity: 0.4;
}

.main-menu .menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    opacity: 1;
}

/* Enterprise Dropdown Badge */
.main-menu .sub-menu .menu-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--header-enterprise-primary);
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.55rem;
    font-weight: 700;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   9. HEADER ACTIONS - ENTERPRISE
   ============================================ */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Enterprise Action Buttons */
.header-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--header-enterprise-text);
    cursor: pointer;
    transition: var(--header-enterprise-transition);
    position: relative;
    flex-shrink: 0;
}

.header-action:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--header-enterprise-primary);
}

.header-action:active {
    transform: scale(0.92);
}

.header-action svg {
    transition: var(--header-enterprise-transition);
    flex-shrink: 0;
}

/* ============================================
   10. CART ICON - ENTERPRISE
   ============================================ */
.header-cart {
    position: relative;
    text-decoration: none;
}

/* Enterprise Cart Count */
.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: var(--header-enterprise-primary);
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    pointer-events: none;
    transition: var(--header-enterprise-transition);
}

.cart-count:empty {
    display: none;
}

/* Cart Count Animation */
.cart-count.pop {
    animation: cartPop 0.5s var(--header-enterprise-bounce);
}

@keyframes cartPop {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.8); }
    100% { transform: scale(1); }
}

/* ============================================
   11. CTA BUTTON - ENTERPRISE
   ============================================ */
.header-cta {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--header-enterprise-transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.header-cta.button-primary {
    background: var(--header-enterprise-primary);
    color: #ffffff;
    border: none;
}

.header-cta.button-primary:hover {
    background: var(--header-enterprise-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

/* CTA Icon */
.header-cta .button-icon {
    display: inline-block;
    transition: var(--header-enterprise-transition);
}

.header-cta:hover .button-icon {
    transform: translateX(4px);
}

/* ============================================
   12. THEME TOGGLE - ENTERPRISE
   ============================================ */
.theme-toggle .theme-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    position: relative;
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: var(--header-enterprise-transition-slow);
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* ============================================
   13. MOBILE MENU TOGGLE - ENTERPRISE
   ============================================ */
.menu-toggle {
    display: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--header-enterprise-transition);
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: rgba(37, 99, 235, 0.06);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    flex-shrink: 0;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--header-enterprise-text);
    border-radius: 2px;
    transition: var(--header-enterprise-transition);
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   14. MOBILE MENU - ENTERPRISE
   ============================================ */
@media (max-width: 992px) {
    .header-inner {
        min-height: 70px;
        gap: 16px;
    }

    .site-logo img {
        max-height: 36px;
    }

    .main-menu > li > a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        min-height: var(--header-enterprise-height-mobile);
        gap: 8px;
    }

    .site-branding {
        max-width: 200px;
        margin-right: auto;
    }

    .site-logo img {
        max-height: 32px;
    }

    .site-title {
        font-size: 1.1rem;
    }

    /* Mobile Navigation */
    .main-navigation {
        flex: 0 0 auto;
        order: 3;
    }

    .menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        height: 100dvh;
        background: var(--glass-enterprise-bg);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 80px 24px 30px;
        overflow-y: auto;
        overflow-x: hidden;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: block;
        border-left: 1px solid var(--glass-enterprise-border);
        box-shadow: var(--glass-enterprise-shadow);
    }

    .menu-wrapper.active {
        right: 0;
    }

    .main-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .main-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--header-enterprise-border);
    }

    .main-menu > li:last-child {
        border-bottom: none;
    }

    .main-menu > li > a {
        padding: 14px 16px;
        width: 100%;
        font-size: 1rem;
        justify-content: flex-start;
        border-radius: 0;
    }

    .main-menu > li.current-menu-item > a::after {
        bottom: 0;
        left: 16px;
        transform: none;
        width: 30px;
        height: 2px;
    }

    .main-menu .sub-menu {
        position: static;
        backdrop-filter: none;
        background: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0 0 0 16px;
        display: none;
    }

    .main-menu .sub-menu.open {
        display: block;
    }

    .main-menu .sub-menu li {
        border-radius: 0;
    }

    .main-menu .sub-menu li a {
        padding: 10px 16px;
        font-size: 0.95rem;
        border-radius: 0;
    }

    .main-menu .sub-menu li a:hover {
        transform: translateX(4px);
    }

    /* Mobile Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: var(--header-enterprise-transition);
        z-index: 998;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
        order: 4;
    }

    /* Mobile Menu Footer - Enterprise */
    .mobile-menu-footer {
        margin-top: 32px;
        padding-top: 24px;
        border-top: 1px solid var(--header-enterprise-border);
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.85rem;
        color: var(--header-enterprise-text);
    }

    .mobile-contact-item a {
        color: var(--header-enterprise-text);
        text-decoration: none;
        transition: var(--header-enterprise-transition);
    }

    .mobile-contact-item a:hover {
        color: var(--header-enterprise-primary);
    }

    .contact-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(37, 99, 235, 0.06);
        color: var(--header-enterprise-primary);
        flex-shrink: 0;
    }

    .mobile-menu-social {
        display: flex;
        gap: 12px;
    }

    .mobile-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: rgba(37, 99, 235, 0.06);
        color: var(--header-enterprise-text);
        transition: var(--header-enterprise-transition);
        font-size: 1.1rem;
    }

    .mobile-social-link:hover {
        background: var(--header-enterprise-primary);
        color: #ffffff;
        transform: translateY(-2px);
    }

    .mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 24px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: var(--header-enterprise-transition);
        width: 100%;
    }

    .mobile-cta.button-primary {
        background: var(--header-enterprise-primary);
        color: #ffffff;
    }

    .mobile-cta .button-icon {
        display: inline-block;
        transition: var(--header-enterprise-transition);
    }

    .mobile-cta:hover .button-icon {
        transform: translateX(4px);
    }

    /* Header Actions Mobile */
    .header-actions {
        gap: 2px;
    }

    .header-action {
        width: 40px;
        height: 40px;
    }

    .header-actions .header-cta {
        display: none;
    }

    .theme-toggle {
        order: 5;
    }

    /* Reading Progress */
    .reading-progress-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        z-index: 1001;
        background: rgba(37, 99, 235, 0.1);
        pointer-events: none;
    }

    .reading-progress-bar-inner {
        height: 100%;
        width: 0;
        background: var(--header-enterprise-primary);
        transition: width 0.1s linear;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-inner {
        min-height: 56px;
        gap: 4px;
    }

    .site-branding {
        max-width: 150px;
    }

    .site-logo img {
        max-height: 28px;
    }

    .site-title {
        font-size: 1rem;
    }

    .header-action {
        width: 36px;
        height: 36px;
    }

    .header-action svg {
        width: 18px;
        height: 18px;
    }

    .header-cart .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.55rem;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .hamburger {
        width: 18px;
        height: 14px;
    }

    .menu-wrapper {
        padding: 64px 16px 20px;
        width: 100%;
        max-width: 100%;
    }

    .mobile-menu-social {
        gap: 8px;
    }

    .mobile-social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================
   15. SEARCH OVERLAY - ENTERPRISE
   ============================================ */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    opacity: 0;
    visibility: hidden;
    transition: var(--header-enterprise-transition-slow);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 90%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: var(--header-enterprise-transition-slow);
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

.search-heading {
    margin-bottom: 32px;
    text-align: center;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.search-subtitle {
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-size: 1rem;
}

.search-close {
    position: absolute;
    top: -70px;
    right: 0;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    transition: var(--header-enterprise-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg) scale(1.1);
}

.search-overlay .search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.06);
    transition: var(--header-enterprise-transition);
    max-width: 100%;
}

.search-overlay .search-form:focus-within {
    border-color: var(--header-enterprise-primary);
    background: rgba(255, 255, 255, 0.08);
}

.search-overlay .search-form input[type="search"] {
    flex: 1;
    padding: 20px 24px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.2rem;
    outline: none;
    min-width: 0;
    width: 100%;
}

.search-overlay .search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-overlay .search-form button[type="submit"] {
    padding: 20px 32px;
    border: none;
    background: var(--header-enterprise-primary);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--header-enterprise-transition);
    flex-shrink: 0;
}

.search-overlay .search-form button[type="submit"]:hover {
    background: var(--header-enterprise-primary-dark);
}

/* Search Suggestions - Enterprise */
.search-suggestions {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.6);
}

.search-suggestions-title {
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.search-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.search-suggestions-list li a {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--header-enterprise-transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.search-suggestions-list li a:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    border-color: var(--header-enterprise-primary);
}

/* ============================================
   16. ANNOUNCEMENT BAR - ENTERPRISE
   ============================================ */
.announcement-bar {
    position: relative;
    width: 100%;
    padding: 8px 0;
    background: var(--header-enterprise-primary);
    color: #ffffff;
    overflow: hidden;
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announcement-text {
    margin: 0;
    font-size: 0.85rem;
    text-align: center;
}

.announcement-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.announcement-text a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.announcement-close {
    flex: 0 0 auto;
    padding: 4px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--header-enterprise-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announcement-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ============================================
   17. BREADCRUMBS - ENTERPRISE
   ============================================ */
.breadcrumbs-wrapper {
    width: 100%;
    padding: 12px 0;
    background: var(--header-enterprise-bg);
    border-bottom: 1px solid var(--header-enterprise-border);
    overflow: hidden;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--secondary-color, #64748b);
    flex-shrink: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin: 0 6px;
    color: var(--gray, #94a3b8);
    font-size: 0.75rem;
    font-weight: 300;
}

.breadcrumb-item a {
    color: var(--header-enterprise-primary);
    text-decoration: none;
    transition: var(--header-enterprise-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item a:hover {
    color: var(--header-enterprise-primary-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--header-enterprise-text);
    font-weight: 500;
}

.breadcrumb-item svg {
    flex-shrink: 0;
}

/* ============================================
   18. SKIP LINKS - ENTERPRISE
   ============================================ */
.skip-links {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    overflow: visible;
}

.skip-link {
    position: absolute;
    top: -1000px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    background: var(--header-enterprise-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    transition: var(--header-enterprise-transition);
    white-space: nowrap;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   19. ACCESSIBILITY - ENTERPRISE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    position: absolute !important;
    width: auto !important;
    height: auto !important;
    padding: 14px 28px !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    background: #ffffff !important;
    color: #000000 !important;
    z-index: 100000 !important;
}

/* ============================================
   20. PRINT STYLES - ENTERPRISE
   ============================================ */
@media print {
    .site-header {
        position: static !important;
        box-shadow: none !important;
        background: #ffffff !important;
        border-bottom: 1px solid #ddd !important;
        backdrop-filter: none !important;
    }

    .header-actions,
    .menu-toggle,
    .search-overlay,
    .announcement-bar,
    .skip-links,
    .breadcrumbs-wrapper,
    .menu-overlay,
    .reading-progress-bar {
        display: none !important;
    }

    .menu-wrapper {
        display: block !important;
        position: static !important;
        padding: 0 !important;
        background: none !important;
        height: auto !important;
        overflow: visible !important;
        backdrop-filter: none !important;
    }

    .main-menu {
        display: flex !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
    }

    .main-menu .sub-menu {
        display: none !important;
    }
}