.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 24px;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-svg {
    width: 28px;
    height: 28px;
    color: var(--text);
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.25s ease;
    position: relative;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.nav-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.nav-icon-small {
    width: 15px;
    height: 15px;
}

.nav a:hover {
    color: var(--text);
}

.nav a:hover .nav-icon {
    color: var(--text);
}

.nav a.active {
    color: var(--text);
}

.nav a.active .nav-icon {
    color: var(--text);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
        height: 56px;
    }

    .logo {
        left: 16px;
    }

    .logo-text {
        display: none;
    }

    .nav {
        gap: 24px;
    }

    .nav a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 20px;
    }

    .nav a {
        font-size: 12px;
    }

    .nav-icon {
        width: 14px;
        height: 14px;
    }

    .nav-icon-small {
        width: 13px;
        height: 13px;
    }
}
