header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 2000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
    position: relative;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.7;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.nav-links a.active {
    opacity: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandTextFlow 3s infinite linear;
    background-size: 200% auto;
}

@keyframes brandTextFlow {
    0% {
        background-position: 0% central;
    }

    100% {
        background-position: 200% central;
    }
}

.nav-indicator {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 0;
    color: var(--primary);
    font-size: 0.6rem;
    display: flex;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
    color: var(--text-main);
    position: relative;
    z-index: 2001;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
       
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    
    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.3s;
    }

    .mobile-toggle {
        display: block;
        color: var(--text-main);
    }
}