.header-typography {
    font-family: 'Inter', 'Noto Sans SC', 'system-ui', 'sans-serif';
}

.header-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #353740;
    letter-spacing: -0.04em;
}

.header-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    transition: color 0.2s ease;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.header-nav-link:hover {
    color: #353740;
}

.header-lang-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.header-lang-active {
    color: #353740;
}

.header-lang-inactive {
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.header-lang-inactive:hover {
    color: #353740;
}

.header-lang-divider {
    color: #E5E7EB;
    font-weight: 300;
    margin: 0 4px;
    line-height: 1;
}

.header-btn-text {
    font-size: 14px;
    font-weight: 500;
    color: #353740;
}

.header-btn-pill {
    background-color: #F7F7F8;
    border: 1px solid #ECECF1;
    padding: 8px 20px;
    border-radius: 9999px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}

.header-btn-pill:hover {
    background-color: #ECECF1;
    border-color: #D1D1D6;
}

.lang-switch {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.logo-slot {
    height: 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-slot img {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0;
    position: absolute;
    transition: filter 0.3s;
    flex-shrink: 0;
}

.logo-slot img:hover {
    filter: grayscale(0%);
    opacity: 1 !important;
    z-index: 10;
    cursor: pointer;
}

.logo-slot img:after {
    content: attr(alt);
    font-size: 12px;
    color: #999;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes logoCycle {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    28% {
        opacity: 1;
        transform: translateY(0);
    }
    33% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.logo-slot img:nth-child(1) {
    animation: logoCycle 6s linear infinite 0s;
}

.logo-slot img:nth-child(2) {
    animation: logoCycle 6s linear infinite 2s;
}

.logo-slot img:nth-child(3) {
    animation: logoCycle 6s linear infinite 4s;
}
