* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* ==========================================
   1. 主 WebGL 容器与状态动画体系
========================================== */
.footer_webgl_container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 75% 30%, #ecf3fc 0%, #d4e4f7 50%, #c4d9f3 100%);
}

.webgl_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

/* 状态文字层统一定义（绝对定位居中，附带出入场平滑过渡） */
.footer_text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(3.5vh) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.8s;
}

/* 激活状态 */
.footer_text.status_active {
    opacity: 1;
    visibility: visible;
    pointer-events: none; /* 空白区域穿透，保证可拖拽地球 */
    transform: translateY(0) scale(1);
}

/* 允许内容卡片与表单元素交互 */
.status_1_wrapper,
.status_2_wrapper,
.status_3_wrapper,
.pill_item,
.team_card,
.consult_form,
.submit_btn,
a, input, textarea, button {
    pointer-events: auto;
}

/* ==========================================
   2. STATUS 1: 联系我们基本信息（左侧布局）
========================================== */
.status_1 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8vw;
}

.status_1 .main_title {
    font-size: 3.75vw;
    font-weight: bold;
    color: #193F87;
    margin-bottom: 2.5vh;
    line-height: 1.1;
}

.status_1 .desc_text {
    font-size: 1.25vw;
    color: #737373;
    line-height: 1.6;
    margin-bottom: 10vh;
}

.status_1 .company_info_box {
    margin-bottom: 3.2vh;
}

.status_1 .company_name {
    font-size: 1.66vw;
    font-weight: bold;
    color: #262626;
    margin-bottom: 0.6vh;
}

.status_1 .company_en_name {
    font-size: 0.88vw;
    color: #737373;
}

.status_1 .section_subtitle {
    font-weight: bold;
    font-size: 1.25vw;
    color: #737373;
    margin-bottom: 1.8vh;
}

/* 胶囊卡片列表 */
.contact_pill_list {
    display: inline-flex;
    flex-direction: column;
    gap: 1.4vh;
}

.pill_item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.1vh 1.8vw 1.1vh 1.6vw;
    border-radius: 4vh;
    box-shadow: 0 0.5vh 2vh rgba(35, 70, 135, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.pill_item:hover {
    transform: translateX(0.4vw);
    background: rgba(255, 255, 255, 0.65);
}

.contact_pill_list .iconfont {
    font-size: 1.6vw;
    color: #193F87;
    margin-right: 1.77vw;
}

.pill_content {
    display: flex;
    flex-direction: column;
    font-size: 0.84vw;
    color: #737373;
}

.pill_content.multiline {
    gap: 0.3vh;
}

/* ==========================================
   3. STATUS 2: 管理团队（四列网格排版）
========================================== */
.status_2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4vw;
}

.status_2_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center_title {
    font-size: 2.4vw;
    font-weight: bold;
    color: #262626;
    margin-bottom: 4vh;
    text-align: center;
}

.team_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 3.5vw;
}

/* 团队卡片基础与 Hover 效果 */
.team_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.team_card:hover {
    transform: translateY(-0.8vh);
}

/* 头像容器与 Hover 效果 */
.avatar_wrap {
    width: 18vh;
    height: 18vh;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2vh;
    box-shadow: 0 1vh 2.5vh rgba(23, 59, 117, 0.12);
    flex-shrink: 0;
    transition: box-shadow 0.3s ease;
}

.team_card:hover .avatar_wrap {
    box-shadow: 0 1.5vh 3.5vh rgba(23, 59, 117, 0.25);
}

/* 头像图片微放大效果 */
.avatar_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team_card:hover .avatar_wrap img {
    transform: scale(1.08);
}

/* 成员信息与高亮效果 */
.member_header {
    margin-bottom: 1.8vh;
    width: 100%;
}

.member_header .name_row {
    font-size: 1.05vw;
    font-weight: bold;
    color: #434343;
    margin-bottom: 0.6vh;
    transition: color 0.3s ease;
}

.member_header .name_row .en {
    font-size: 0.95vw;
    font-weight: bold;
    color: #434343;
    margin-left: 0.6vw;
    transition: color 0.3s ease;
}

/* 鼠标悬停卡片时高亮姓名颜色 */
.team_card:hover .member_header .name_row,
.team_card:hover .member_header .name_row .en {
    color: #193F87;
}

.member_header .role_tag {
    font-size: 0.85vw;
    color: #707070;
}

.contact_meta {
    width: 100%;
    font-size: 0.78vw;
    line-height: 1.6;
    color: #707070;
    margin-bottom: 2.2vh;
    text-align: left;
    min-height: 8vw;
}

.contact_meta p {
    white-space: nowrap;
}

.contact_meta .label {
    color: #707070;
    margin-right: 2px;
}

/* 二维码区域独立 Hover 效果 */
.qr_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 0.4vh;
    padding: 0.5vh 0.4vw;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr_block:hover {
    transform: scale(1.06);
    box-shadow: 0 0.8vh 2vh rgba(0, 0, 0, 0.08);
}

.qr_box {
    width: 7.5vh;
    height: 7.5vh;
}

.qr_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr_tip {
    margin: 0.4vh 0 0.2vh;
    font-size: 0.65vw;
    color: #595959;
}

/* ==========================================
   4. STATUS 3: 留言咨询表单（右侧排版）
========================================== */
.status_3 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8.5vw;
}

.status_3_wrapper {
    width: 38vw;
}

.form_title {
    font-size: 2.5vw;
    font-weight: 800;
    color: #262626;
    margin-bottom: 1vh;
    line-height: 1.2;
}

.form_subtitle {
    font-size: 0.95vw;
    color: #595959;
    margin-bottom: 2.5vh;
    line-height: 1.5;
}

.form_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1.6vh;
    column-gap: 1.2vw;
    margin-bottom: 1.8vh;
}

.form_item {
    display: flex;
    flex-direction: column;
    gap: 0.7vh;
}

.form_item.full_width {
    grid-column: 1 / -1;
}

.form_item label {
    font-size: 0.95vw;
    font-weight: 500;
    color: #595959;
    transition: color 0.25s ease;
}

/* 悬停表单项时 Label 联动高亮 */
.form_item:hover label {
    color: #193F87;
}

.form_item input, 
.form_item textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0.5vh;
    padding: 0 0.9vw;
    font-size: 0.95vw;
    color: #262626;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

/* 输入框与文本域 Hover 悬停效果 */
.form_item input:hover, 
.form_item textarea:hover {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(25, 63, 135, 0.4);
    box-shadow: 0 0.3vh 1vh rgba(25, 63, 135, 0.08);
}

.form_item input {
    height: 4.8vh;
    line-height: 4.8vh;
}

.form_item textarea {
    height: 15.5vh;
    resize: none;
    padding: 1.1vh 0.9vw;
}

.form_item input::placeholder, 
.form_item textarea::placeholder {
    color: #8c9ba5;
    font-size: 0.9vw;
}

.form_item input:focus, 
.form_item textarea:focus {
    background: rgba(255, 255, 255, 0.85);
    border-color: #193F87;
    box-shadow: 0 0 0 0.25vh rgba(25, 63, 135, 0.18);
}

/* 隐私条款勾选框与文本 Hover 效果 */
.form_terms {
    margin-bottom: 2.4vh;
}

.checkbox_label {
    display: inline-flex;
    align-items: center;
    gap: 0.5vw;
    cursor: pointer;
    font-size: 0.88vw;
    color: #737373;
    transition: color 0.2s ease;
}

.checkbox_label:hover {
    color: #262626;
}

.checkbox_label input {
    display: none;
}

.checkbox_custom {
    width: 1.8vh;
    height: 1.8vh;
    border-radius: 0.3vh;
    border: 1px solid #8ba4c4;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox_label:hover .checkbox_custom {
    border-color: #193F87;
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.checkbox_label input:checked + .checkbox_custom {
    background: #193F87;
    border-color: #193F87;
}

.checkbox_label input:checked + .checkbox_custom::after {
    content: "";
    position: absolute;
    left: 0.5vh;
    top: 0.2vh;
    width: 0.45vh;
    height: 0.85vh;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms_text a {
    color: #193F87;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.terms_text a:hover {
    color: #12306b;
    text-decoration: underline;
}

/* 提交按钮 */
.submit_btn {
    width: 100%;
    height: 5.2vh;
    background: #193F87;
    color: #ffffff;
    font-size: 1.1vw;
    font-weight: bold;
    letter-spacing: 0.1vw;
    border: none;
    border-radius: 2.6vh;
    cursor: pointer;
    box-shadow: 0 0.6vh 1.8vh rgba(25, 63, 135, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.submit_btn:hover {
    background: #12306b;
    transform: translateY(-0.2vh);
    box-shadow: 0 0.8vh 2.2vh rgba(25, 63, 135, 0.35);
}

.submit_btn:active {
    transform: translateY(0);
}

/* ==========================================
   5. STATUS 4: 页脚基础信息与穿梭动画
========================================== */
.footer_webgl_container .status_4 {
    top: 16%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    z-index: 0;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.7, 1),
                opacity 0.9s cubic-bezier(0.4, 0, 0.8, 1),
                visibility 1.2s;
}

.footer_webgl_container .status_4.status_active {
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
    z-index: 0;
    transition: all 2s;
}

.footer_webgl_container .status_4.is_front {
    z-index: 20 !important;
}

/* ==========================================
   6. 移动端专属分页状态指示器 (侧边悬浮)
========================================== */
.mobile_state_indicator {
    display: none;
}

/* ==========================================
   7. 移动端适配 (<= 768px)
========================================== */
@media screen and (max-width: 768px) {
    .footer_webgl_container {
        height: 100vh;
        height: 100dvh;
        min-height: -webkit-fill-available;
    }

    /* 状态层统一移动端内边距与居中 */
    .status_1, .status_2, .status_3 {
        padding: 80px 18px 24px 18px;
        justify-content: center;
    }
    .status_1,.status_3{
        align-items: flex-start;
    }
    .status_2{
        align-items: center;
    }
    /* --- 移动端 STATUS 1: 联系我们 --- */
    .status_1_wrapper {
        width: 100%;
        max-width: 390px;
    }

    .status_1 .main_title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 5vw;
    }

    .status_1 .desc_text {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15vw;
        color: #555555;
    }

    .status_1 .company_info_box {
        margin-bottom: 5vw;
    }

    .status_1 .company_name {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .status_1 .company_en_name {
        font-size: 10.5px;
        color: #777777;
    }

    .status_1 .section_subtitle {
        font-size: 13.5px;
        margin-bottom: 10px;
    }

    .contact_pill_list {
        display: flex;
        flex-direction: column;
        gap: 9px;
        width: 100%;
    }

    .pill_item {
        padding: 9px 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.6);
    }

    .contact_pill_list .iconfont {
        font-size: 17px;
        margin-right: 12px;
    }

    .pill_content {
        font-size: 12.5px;
        line-height: 1.4;
    }

    /* --- 移动端 STATUS 2: 管理团队 (2x2 精致网格) --- */
    .status_2_wrapper {
        width: 100%;
        max-width: 380px;
    }

    .center_title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .team_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .team_card {
        background: rgba(255, 255, 255, 0.58);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 14px;
        padding: 10px 8px;
        box-shadow: 0 4px 14px rgba(35, 70, 135, 0.05);
    }

    .avatar_wrap {
        width: 7vh;
        height: 7vh;
        margin-bottom: 6px;
        box-shadow: 0 4px 10px rgba(23, 59, 117, 0.12);
    }

    .member_header {
        margin-bottom: 4px;
    }

    .member_header .name_row {
        font-size: 13.5px;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .member_header .name_row .en {
        display: none; /* 移动端隐藏过长拼音，保持简明 */
    }

    .member_header .role_tag {
        font-size: 11px;
        color: #193F87;
        font-weight: 500;
    }

    /* 移动端仅保留最关键的电话/微信两行，防止爆屏 */
    .contact_meta {
        font-size: 10.5px;
        line-height: 1.35;
        margin-bottom: 6px;
        min-height: auto;
        text-align: center;
    }

    .contact_meta p:nth-child(n+3) {
        display: none;
    }

    .qr_block {
        padding: 4px;
        border-radius: 6px;
    }

    .qr_box {
        width: 10vh;
        height: 10vh;
    }

    .qr_tip {
        font-size: 9px;
        margin-top: 2px;
        color: #666;
    }

    /* --- 移动端 STATUS 3: 留言咨询 --- */
    .status_3_wrapper {
        width: 100%;
        max-width: 380px;
    }

    .form_title {
        font-size: 21px;
        margin-bottom: 4px;
        text-align: center;
    }

    .form_subtitle {
        font-size: 11.5px;
        line-height: 1.45;
        margin-bottom: 12px;
        text-align: center;
    }

    /* 移动端双列紧凑排布：前四项两两一行，留言占全宽 */
    .form_grid {
        grid-template-columns: 1fr;
        gap: 8px 8px;
        margin-bottom: 10px;
    }

    .form_item {
        gap: 3px;
    }

    .form_item label {
        font-size: 11px;
    }

    /* 设置 16px 字体，防止 iOS 聚焦输入框时网页自动放大破坏布局 */
    .form_item input {
        height: 36px;
        line-height: 36px;
        font-size: 14px;
        padding: 0 10px;
        border-radius: 6px;
    }

    .form_item textarea {
        height: 56px;
        font-size: 14px;
        padding: 6px 10px;
        border-radius: 6px;
    }

    .form_item input::placeholder,
    .form_item textarea::placeholder {
        font-size: 12.5px;
    }

    .form_terms {
        margin-bottom: 12px;
    }

    .checkbox_label {
        font-size: 11.5px;
        gap: 6px;
    }

    .checkbox_custom {
        width: 15px;
        height: 15px;
        border-radius: 3px;
    }

    .checkbox_label input:checked + .checkbox_custom::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
    }

    .submit_btn {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        border-radius: 20px;
    }

    /* --- 移动端 STATUS 4: 页脚 --- */
    .footer_webgl_container .status_4 {
        top: 10%;
        padding: 0 16px;
    }

    .status_4 .footer_logo {
        height: 28px;
        margin-bottom: 12px;
    }

    .status_4 .information {
        font-size: 11.5px;
        margin-bottom: 6px;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .status_4 .social_media_platform {
        margin: 12px 0;
        gap: 16px;
    }

    .status_4 .social_media_platform .iconfont {
        font-size: 18px;
    }

    .status_4 .footer_nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        margin-bottom: 12px;
    }

    .status_4 .footer_nav .nav_btn {
        font-size: 11.5px;
    }

    .status_4 .filing_information {
        font-size: 10px;
        flex-wrap: wrap;
        justify-content: center;
        line-height: 1.4;
    }

    /* --- 移动端状态圆点指示条 --- */
    .mobile_state_indicator {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: fixed;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 60;
        pointer-events: auto;
    }

    .mobile_dot_btn {
        width: 7px;
        height: 7px;
        border-radius: 4px;
        background: rgba(25, 63, 135, 0.3);
        transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        cursor: pointer;
    }

    .mobile_dot_btn.active {
        height: 20px;
        background: #193F87;
        box-shadow: 0 0 6px rgba(25, 63, 135, 0.4);
    }
}