.header-component {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    position: sticky;
    top: 0;
    width: 100vw;
    max-width: none;
    left: auto;
    right: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    z-index: 2000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.header-inner {
    width: min(1120px, calc(100% - 80px));
    margin: 0 auto;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.header-nav-container {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 48px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #1d1d1f;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s ease;
}

.brand:hover {
    opacity: 0.8;
}

.brand-dot {
    width: 12px;
    height: 12px;
    background: #6798AD;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(103, 152, 173, 0.4);
}

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

.nav-link {
    color: #515154;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #1d1d1f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #6798AD;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: #1d1d1f !important;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-cta:hover {
    background: #3a3a3c !important;
    color: #ffffff !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    align-items: center;
}

.lang-btn {
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    color: #86868b;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #6798AD;
    background: rgba(103, 152, 173, 0.05);
}

.lang-btn.active {
    color: white;
    background: #6798AD;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
}

.toggle-bar {
    width: 22px;
    height: 2px;
    background-color: #1d1d1f;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .header-nav-container {
        margin-left: 24px;
    }
    .header-nav {
        gap: 20px;
    }
    .header-right {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }

    .header-nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 100px 40px;
        margin-left: 0;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 2000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }

    .header-component.menu-open .header-nav-container {
        right: 0;
    }

    .header-nav {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
        text-align: center;
    }

    .nav-link {
        font-size: 24px;
        font-weight: 600;
    }

    .header-right {
        flex-direction: column;
        width: 100%;
        gap: 32px;
    }

    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .nav-cta {
        width: 100%;
        max-width: 280px;
        padding: 16px 32px;
        font-size: 16px;
    }

    /* Toggle Animation */
    .header-component.menu-open .toggle-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .header-component.menu-open .toggle-bar:nth-child(2) {
        opacity: 0;
    }
    .header-component.menu-open .toggle-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .header-inner {
        width: calc(100% - 32px);
    }
    
    .brand {
        font-size: 1.2rem;
    }
}
