/* ============================================
   CSS Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

html {
    font-size: 16px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
    color: #F4F5F6;
    overflow-x: hidden;
    max-width: 100%;
}

/* 页面加载：保持导航/页面稳定，避免跳转页面时整体淡入造成“闪一下” */
body.loading,
body.loaded {
    opacity: 1;
    transition: none;
}

/* ============================================
   CSS Variables
   ============================================ */

:root {
    /* Colors */
    --color-base: #191350;
    --color-base2: #F4F5F6;
    --color-white: #FFFFFF;
    --color-fill-gray: #F8F8F8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(0deg, rgba(58, 245, 255, 1) 0%, rgba(76, 79, 255, 1) 90%);
    --gradient-secondary: linear-gradient(147deg, rgba(203, 234, 255, 1) 0%, rgba(225, 210, 255, 1) 50%, rgba(142, 187, 255, 1) 100%);
    --gradient-text: linear-gradient(147deg, rgba(203, 234, 255, 1) 0%, rgba(225, 210, 255, 1) 50%, rgba(142, 187, 255, 1) 100%);
    --gradient-bottom-banner: linear-gradient(105deg, #CBEAFF 0%, #E1D2FF 50%, #8EBBFF 100%);
    --gradient-title-alt: linear-gradient(147deg, rgba(121, 161, 255, 1) 0%, rgba(169, 123, 255, 1) 50%, rgba(76, 190, 247, 1) 100%);
    --gradient-button: linear-gradient(135deg, rgba(176, 108, 255, 1) 0%, rgba(104, 160, 255, 1) 100%);
    --gradient-service: linear-gradient(135deg, rgba(246, 221, 255, 1) 0%, rgba(185, 207, 255, 1) 100%);
    --gradient-index: linear-gradient(147deg, #00E1FF 0%,#00E1FF 30%, #CA68FF 60%, #2EB9FF 100%);
    --gradient-career-btn: linear-gradient(180deg, #7E80FF 0%,#70C7F7 70%, #69ECF3 100%);
    
    /* Container */
    --container-max-width: 1920px;
    --container-padding: 0;
}

/* ============================================
   Container
   ============================================ */

.container {
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    width: 100%;
}

/* ============================================
   Typography
   ============================================ */

/* Button Styles */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    width: 180px;
    height: 51px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 51px;
    letter-spacing: 0.04em;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.4s ease;
}

.btn--primary {
    background: var(--gradient-primary);
    background-image: var(--gradient-primary), linear-gradient(106deg, #B06CFF 0%, #68A0FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    box-shadow: none;
}

.btn--primary:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #F4F5F6;
    color: #F4F5F6;
}

.btn--secondary {
    background: var(--color-fill-gray);
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    box-shadow: none;
    /* 设计稿 Gradient2：点击查看文字渐变 */
    color: transparent;
    background-image: linear-gradient(97.38deg, #CBEAFF 13.86%, #E1D2FF 48.21%, #8EBBFF 83.23%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.btn--secondary:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #F4F5F6;
    color: #F4F5F6;
}


.btn::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 30px; /* 30px vertical line */
    background-color: #4583FF;
    transform: translateY(-50%) rotate(90deg);
}

.btn--secondary::after {
    background-color: #78A0FC;
}

/* ============================================
   Component Placeholders
   ============================================ */

#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 72px;
    z-index: 1000;
    background: transparent;
}

#header-placeholder.loaded .header {
    /* 禁用组件加载淡入动画：跨页面跳转时避免导航闪烁 */
    animation: none;
}

#footer-placeholder {
    min-height: 300px;
}

#footer-placeholder.loaded .footer {
    animation: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   Header Styles (Global)
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: background-color 0.3s ease;
    visibility: visible;
    opacity: 1;
}

.header.header--scrolled {
    /* TODO(1:1): if Figma differs, adjust these values */
    background: rgba(244, 245, 246, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Scrolled state colors */
.header.header--scrolled .header__logo-text,
.header.header--scrolled .header__nav-item,
.header.header--scrolled .header__language-code {
    color: var(--color-base);
}

.header.header--scrolled .header__nav-item:hover {
    color: var(--color-base);
}

.header.header--scrolled .header__language-arrow path {
    fill: var(--color-base);
}

/* PC：滚动后固定导航中，非当前页 nav 项 0.5 透明度，hover 时恢复；顶部时不改 */
@media (min-width: 769px) {
    .header.header--scrolled .header__nav-item:not(.header__nav-item--active) {
        opacity: 0.5;
        transition: opacity 0.3s ease;
    }
    .header.header--scrolled .header__nav-item:not(.header__nav-item--active):hover {
        opacity: 1;
    }
}

/* Brand logo swap on scroll: default uses logo.png, scrolled uses logo1.png */
.header__logo-img {
    width: 32px;
    object-fit: contain;
    display: block;
}

.header__logo-img--scrolled {
    display: none;
}

.header.header--scrolled .header__logo-img--default {
    display: none;
}

.header.header--scrolled .header__logo-img--scrolled {
    display: block;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 40px;
    margin: 0 auto;
    height: 72px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header__logo-icon {
    width: 32px;
    flex-shrink: 0;
}

.header__logo-text {
    font-family: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--color-base2);
}

.header__logo-link {
    text-decoration: none;
    color: inherit;
}

.header__nav {
    display: flex;
    align-items: stretch;
    height: 72px;
}

.header__nav-icon {
    display: none;
}
.header__nav-group {
    display: flex;
    gap: 0;
    height: 72px;
}

.header__nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 20px 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: rgba(244, 245, 246, 0.5);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

/* PC：内层包裹，固定尺寸，高亮在该层上做交互 */
.header__nav-item-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    gap: 10px;
    height: 32px;
    position: relative;
    border: 1px solid transparent;
}

.header__nav-item-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-image: var(--gradient-primary) 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header__nav-item:hover .header__nav-item-inner::before {
    opacity: 1;
}

.header__nav-item--active {
    color: var(--color-base2);
}

.header__nav-item--active .header__nav-item-inner::before {
    opacity: 0;
}

.header__nav-item--active:hover {
    opacity: 0.9;
}

.header__language-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 72px;
    height: 72px;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
}

.header__language-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-image: var(--gradient-primary) 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.header__language-selector:hover::before,
.header__language-selector.is-open::before {
    opacity: 1;
}

.header__language-selector:hover {
    opacity: 0.8;
}

.header__language-code {
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--color-base2);
    display: block;
}

.header__language-arrow {
    width: 6px;
    height: 5px;
    margin-top: 0;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.header__language-selector.is-open .header__language-arrow {
    transform: rotate(180deg);
}

.header__contact-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 72px;
    padding: 10px 30px;
    background: #2F52EB;
    border: none;
    cursor: pointer;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--color-base2);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header__contact-btn::before {
    content: '';
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background-image: url('../images/letter.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.header__contact-btn:hover {
    opacity: 0.9;
}

/* ============================================
   Footer (Global, shared across all pages)
   ============================================ */

.footer {
    position: relative;
    width: 100%;
    height: 300px;
    background: #18123F;
    margin-top: 0;
}

.footer__container {
    margin: 0 auto;
    padding: 0;
}

.footer__content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 60px 0 49px;
    height: 300px;
}

.footer__left {
    position: relative;
    height: 100%;
}

.footer__design {
    position: absolute;
    bottom: 0;
    font-family: "PingFang SC", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #7F8CC3;
}



.footer__contact-text {
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-base2);
}

.footer__contact-label {
    color: #7F8CC3;
}

.footer__contact-value {
    color: var(--color-base2);
}

.footer__center {
    text-align: center;
    display: none; /* PC 隐藏中间区域 */
}

.footer__copyright {
    font-family: "PingFang SC", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #7F8CC3;
}

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    height: 100%;
}

.footer__logo-icon {
    width: 131.71px;
    height: 107px;
    background-image: url('../images/footer-logo.png');
    background-size: cover;
}

.footer__policy {
    position: absolute;
    bottom: 0;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
    font-family: "PingFang SC", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #A4B0E5;
    text-decoration: underline;
}
/* ============================================
   Header Mobile (Global)
   ============================================ */

@media (max-width: 768px) {
    #header-placeholder {
        height: 0.8rem;
    }

    .header__container {
        width: 100%;
        padding: 0 0.3rem;
        gap: 0.1rem;
        height: 0.8rem;
    }

    .header__logo {
        flex: 0 0 auto;
    }

    .header__logo-link {
        display: none;
    }

    .header__logo-text {
        font-size: 0.15rem;
        width: auto;
        height: auto;
    }

    .header__nav {
        display: none;
        flex-direction: column;
        gap: 0.1rem;
        height: auto;
    }
    .header__nav-icon {
        display: block;
        width: 0.2rem;
        height: 0.2rem;
        background-image: url('../images/h5_nav.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* H5 下滚后：导航图标换为 h5_nav2，整体高度 0.4rem */
    .header.header--scrolled .header__container {
        height: 0.42rem;
    }
    .header.header--scrolled .header__nav-icon {
        background-image: url('../images/h5_nav2.png');
        width: 0.2rem;
        height: 0.2rem;
    }

    .header__nav-group {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .header__nav-item {
        padding: 0.15rem 0.16rem;
        font-size: 0.16rem;
        width: 100%;
        height: auto;
    }

    .header__language-selector {
        width: 100%;
        height: auto;
        padding: 0.15rem 0.16rem;
        justify-content: space-between;
    }

    .header__language-code {
        font-size: 0.14rem;
        width: auto;
        height: auto;
    }

    .header__contact-btn {
        width: 1.1rem;
        height: 0.72rem;
        font-size: 0.14rem;
    }

    /* Footer Mobile (Global) */
    footer.footer {
        height: 4.8rem;
        padding: 0.5rem 0.3rem;
    }
    footer .footer__container {
        position: relative;
        height: 3.8rem;
        width: 100%;
    }   

    .footer__content {
        padding: 0;
        flex-direction: column;
        gap: 0.24rem;
        justify-content: unset;
    }

    .footer__left,
    .footer__right {
        width: 3.35rem;
        position: absolute;
        height: auto;
    }
    .footer__right {
        left: 0;
        top: 0;
        width: fit-content;
        .footer__logo-icon {
            position: absolute;
            top: 0;
            left: 0;
            width: .96rem;
            height: .79rem;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
    }

    .footer__center {
        text-align: center;
        height: auto;
        font-size: 12px;
        position: static;
        display: block; /* H5 显示中间区域 */
    }
    .footer__contact{
        position: absolute;
        top: 1.1rem;
    }
    .footer__contact-text {
        font-size: 0.14rem;
        line-height: 1.7;
    }

    .footer__design {
        position: absolute;
        font-size: 0.12rem;
        top: 3.36rem;
    }

    .footer__copyright {
        font-size: 0.12rem;
        position: absolute;
        top: 3.6rem;
        white-space: nowrap;
    }

    .footer__policy {
        transform: none;
        display: inline-block;
        font-size: 0.14rem;
        top: 2.66rem;
    }

    /* H5 首页按钮：与 c7c89e4 一致，完全覆盖 PC 样式，仅在此媒体内生效 */
    .btn {
        background: linear-gradient(0, #3AF5FF 0%, #4C4FFF 100%);
        color: #fff ;
        border: 0   ;
        font-weight: normal;
        -webkit-text-fill-color: #fff;
        -webkit-background-clip: border-box;
        background-clip: border-box;
    }

    /* H5：按钮伪元素改为两个，位置不变，各 50% 长度 */
    .btn::before,
    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 1px;
        height: 15px; /* 原 30px 的 50% */
        background-color: #4583FF;
        transform: translateY(-50%) rotate(90deg);
    }
    button.btn::before {
        background-color: #fff;
        right: 8px;
    }
    button.btn::after {
        right: -6px;
    }

    /* H5：让次级按钮在此配色下也显示白字 */
    .btn--secondary {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        background: linear-gradient(0, #3AF5FF 0%, #4C4FFF 100%);
    }
    .btn--secondary::before,
    .btn--secondary::after {
        background-color: #78A0FC;
    }
}

/* ============================================
   Language Dropdown Styles
   ============================================ */

.language-dropdown {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    margin-top: 8px;
    left: 50%;
    right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    gap: 2px;
    width: 80px;
    height: 148px;
    background: linear-gradient(163.45deg, rgba(25, 7, 60, 1) 1.45%, rgba(63, 9, 139, 1) 100.14%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 0;
    border: 1px solid transparent;
    border-image: linear-gradient(163.45deg, #19073C 1.45%, #3F098B 100.14%) 1;
    box-shadow: none;
    z-index: 1001;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
    transition: all 0.3s ease;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.language-option {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
    width: 60px;
    height: 31px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    border-bottom: none;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option-text {
    width: 60px;
    height: auto;
    font-family: 'PingFang SC', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
    color: #A6A2D0;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.language-option-code {
    display: none;
}


.language-option.active .language-option-text {
    color: #6C54CF;
}

.language-option-text {
    font-family: "PingFang SC", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.language-option-code {
    font-family: "PingFang SC", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* ============================================
   Utility Classes
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   H5 Mobile Menu (Global)
   ============================================ */

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    z-index: 99999;
    overflow: hidden;
    touch-action: none;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F4F5F6;
    z-index: 1;
    overflow: hidden;
}

.mobile-menu__overlay::before,
.mobile-menu__overlay::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.mobile-menu__overlay::before {
    width: 2.38rem;
    height: 2.39rem;
    left: -0.47rem;
    top: 0.7rem;
    background-image: url('../images/h5_nav_bg1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-menu__overlay::after {
    width: 2.13rem;
    height: 2.3rem;
    right: -0.23rem;
    bottom: 0;
    background-image: url('../images/h5_nav_bg2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-menu__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.3rem;
    height: 0.8rem;
    position: relative;
    z-index: 10;
}

.mobile-menu__logo {
    display: flex;
    align-items: center;
}

.mobile-menu__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__logo .header__logo-img {
    /* 复用 header 的 32px 宽度规则，确保位置/尺寸一致 */
    height: 0.3rem;
    width: 0.3rem;
    object-fit: contain;
    display: block;
}

.mobile-menu__close {
    width: 0.2rem;
    height: 0.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__close svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mobile-menu__nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 1.1rem;
}

/* H5：视口 >400px 时缩小 margin-top，保持 nav 视觉高度位置不变 */
@media (min-width: 401px) and (max-width: 768px) {
    .mobile-menu__nav {
        margin-top: max(0.2rem, calc(40px - (100vw - 400px) * 0.08));
    }
}

.mobile-menu__nav-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-menu__nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 74px;
    padding: 0 0.16rem;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    font-size: 0.16rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #6A7395;
    text-decoration: none;
    background: transparent;
    transition: color 0.3s ease;
    box-sizing: border-box;
}

.mobile-menu__nav-item--active {
    color: #191350;
    font-weight: 500;
}

.mobile-menu__language {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 74px;
    padding: 0 0.16rem;
    box-sizing: border-box;
    margin-bottom: 0.3rem;
}

.mobile-menu__language-code {
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    font-size: 0.14rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #191350;
    display: block;
    margin-right: 0.02rem;
}

.mobile-menu__language-arrow {
    width: 0.06rem;
    height: 0.05rem;
    display: block;
    margin-top: 0.03rem;
    transition: transform 0.4s ease;
    transform-origin: center;
}

/* 语言下拉菜单样式 */
.mobile-menu__language-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: .6rem;
    width: 0.8rem;
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid transparent;
    /* border-image: var(--gradient-primary) 1; */
    border-image: linear-gradient(135deg, #497BF8 40%, #E45BFF 80%) 1;
    padding: 0.12rem 0.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.02rem;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -0.1rem);
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu__language.is-open .mobile-menu__language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.mobile-menu__language.is-open .mobile-menu__language-arrow {
    transform: rotate(180deg);
}

.mobile-menu__language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.6rem;
    height: 0.31rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.mobile-menu__language-option-text {
    font-family: "PingFang SC", sans-serif;
    font-weight: 500;
    font-size: 0.14rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #A6A2D0;
    text-align: center;
}

.mobile-menu__language-option.active .mobile-menu__language-option-text {
    color: #6C54CF;
}

/* 点击语言选择器后，导航项间距减少、颜色改变的状态（仅添加交互样式，不修改基础样式） */
.mobile-menu__nav-group.mobile-menu__nav-group--language-open .mobile-menu__nav-item {
    height: .6rem;
    color: #191350;
}

.mobile-menu__nav-group.mobile-menu__nav-group--language-open .mobile-menu__language {
    margin-bottom: 1.6rem;
}

.mobile-menu__nav.mobile-menu__nav--language-open{
    margin-top: 0.57rem;
    .mobile-menu__contact-btn {
        margin-top: 0.15rem;
    }

    /* 多语言打开时：除多语言块外，其它内容半透明 */
    .mobile-menu__nav-item,
    .mobile-menu__contact-btn {
        opacity: 0.5;
    }

    /* 多语言块保持正常 */
    .mobile-menu__language,
    .mobile-menu__language * {
        opacity: 1;
    }
} 

.mobile-menu__contact-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    width: 1.4rem;
    height: .53rem;
    padding: 0 0.16rem;
    background: #2F52EB;
    border: none;
    cursor: pointer;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    font-size: 0.14rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #F4F5F6;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.mobile-menu__contact-btn:hover {
    opacity: 0.9;
}

.mobile-menu__contact-btn::before {
    content: '';
    width: 0.2rem;
    height: 0.2rem;
    flex: 0 0 0.2rem;
    background-image: url('../images/letter.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mobile-menu__contact-btn span {
    display: block;
    flex-shrink: 0;
}

.mobile-menu__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 7%;
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
}

.mobile-menu__footer-link {
    font-family: "PingFang SC", sans-serif;
    font-weight: 300;
    font-size: 0.14rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #566299;
    text-decoration: underline;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }

    .mobile-menu.is-open {
        display: flex;
    }
}

