/* ===========================
   PREMIUM HEADER - ROG + APPLE + LAMBORGHINI INSPIRED
=========================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 9999;
    
    /* Glass effect with depth */
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    
    /* Premium shadow */
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scrolled state */
.site-header.scrolled {
    height: 68px;
    background: rgba(8, 8, 8, 0.88);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border-bottom-color: rgba(255, 106, 0, 0.08);
}

/* Header glow border animation */
.site-header::before {
    content: '';
    position: fixed;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #00B8FF 20%,
        #FF6A00 50%,
        #A100FF 80%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

.site-header.scrolled::before {
    opacity: 0.6;
}

/* Animated gradient border */
.site-header::after {
    content: '';
    position: fixed;
    bottom: -1px;
    left: -100%;
    width: 300%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #FF6A00,
        #A100FF,
        #00B8FF,
        transparent
    );
    animation: headerGlow 8s linear infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.site-header.scrolled::after {
    opacity: 0.8;
}

@keyframes headerGlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(33.33%); }
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

/* ===========================
   PREMIUM LOGO
=========================== */

.site-logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 70px;
    width: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.15));
}

.site-header.scrolled .site-logo img {
    height: 40px;
}

/* Logo glow effect */
.site-logo::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(255, 106, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.site-logo:hover::after {
    opacity: 1;
}

/* Logo brand text */
.logo-text {
    font-family: 'Oxanium', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #FF6A00, #A100FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 106, 0, 0.2);
    display: none;
}

@media (min-width: 1024px) {
    .logo-text {
        display: block;
    }
}

/* ===========================
   PREMIUM DESKTOP MENU
=========================== */

.desktop-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.02em;
    text-decoration: none;
}

/* Hover effect - glass background */
.main-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.8);
}

.main-menu a:hover::before,
.main-menu a.active::before {
    opacity: 1;
    transform: scale(1);
}

.main-menu a:hover,
.main-menu a.active {
    color: #fff;
}

/* Active indicator - Lamborghini style */
.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #00B8FF, #FF6A00, #A100FF);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-menu a:hover::after,
.main-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Menu item glow on hover */
.main-menu a:hover {
    text-shadow: 0 0 30px rgba(255, 106, 0, 0.2);
}

/* ===========================
   HEADER RIGHT - PREMIUM ACTIONS
=========================== */

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icon buttons */
.icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 106, 0, 0.3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.15);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Cart badge */
.icon-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #FF6A00, #A100FF);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   PREMIUM CTA BUTTON - FIXED
=========================== */

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #FF6A00, #A100FF);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    letter-spacing: 0.02em;
    overflow: hidden;
}

/* Animated gradient background */
.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #A100FF, #00B8FF);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 106, 0, 0.3);
    color: #fff;
}

.cta-btn:hover::before {
    opacity: 1;
}

.cta-btn > * {
    position: relative;
    z-index: 1;
}

/* CTA glow pulse */
.cta-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(135deg, #FF6A00, #A100FF);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-btn:hover::after {
    opacity: 0.5;
}

/* Header CTA - Hidden on mobile/tablet */
.header-cta {
    display: block;
}

/* ===========================
   PREMIUM MENU TOGGLE
=========================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

/* Animated hamburger to X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 26px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 26px;
}

/* ===========================
   PREMIUM MOBILE DRAWER
=========================== */

.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: calc(100vh - 80px);
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9998;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
    box-shadow: -20px 0 80px rgba(0, 0, 0, 0.6);
}

.mobile-menu.active {
    right: 0;
}

/* Mobile menu overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9997;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    padding: 40px 30px 30px;
}

/* Mobile menu header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-header h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Premium mobile nav */
.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.active .mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-nav li:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active .mobile-nav li:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav li:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav li:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav li:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav li:nth-child(6) { transition-delay: 0.3s; }

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav a:hover {
    color: #fff;
    transform: translateX(8px);
}

.mobile-nav a:hover::before {
    opacity: 1;
}

.mobile-nav a .nav-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.mobile-nav a .nav-icon svg {
    width: 18px;
    height: 18px;
}

/* Mobile nav active indicator */
.mobile-nav a.active {
    color: #fff;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.15);
}

/* ===========================
   MOBILE CTA - ONLY IN DRAWER
=========================== */

.mobile-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-cta .cta-btn {
    width: 100%;
    padding: 16px 28px;
    font-size: 1rem;
}

/* ===========================
   MOBILE SOCIAL LINKS
=========================== */

.mobile-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.mobile-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-3px);
}

/* ===========================
   SCROLL PROGRESS BAR
=========================== */

.scroll-progress {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00B8FF, #FF6A00, #A100FF);
    z-index: 99999;
    transition: width 0.1s linear;
}

.site-header.scrolled .scroll-progress {
    top: 68px;
}

/* ===========================
   RESPONSIVE
=========================== */

/* Tablet & Mobile - Hide header CTA */
@media (max-width: 1024px) {
    .desktop-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hide CTA in header on tablet/mobile */
    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }
    
    .site-header.scrolled {
        height: 62px;
    }
    
    .scroll-progress {
        top: 70px;
    }
    
    .site-header.scrolled .scroll-progress {
        top: 62px;
    }
    
    .site-logo img {
        height: 65px;
    }
    
    .site-header.scrolled .site-logo img {
        height: 34px;
    }
    
    .mobile-menu {
        top: 70px;
        height: calc(100vh - 70px);
        max-width: 100%;
    }
    
    .mobile-menu-inner {
        padding: 30px 20px 20px;
    }
    
    .mobile-nav a {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .header-right .icon-btn {
        width: 38px;
        height: 38px;
    }
    
    .header-right .icon-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        height: 60px;
    }
    
    .header-container {
        padding: 0 12px;
    }
    
    .mobile-menu-inner {
        padding: 20px 16px;
    }
}