/* ========== 全局重置 & 主色调 ========== */
:root {
    --primary: #1C1DFF;
    --primary-light: #4a4bff;
    --primary-dark: #1415cc;
    --text-dark: #1f2937;
    --text-white: #ffffff;
    --bg-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--bg-light);
}

/* ========== 顶部菜单栏 (fixed) ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent;
    transition: all 0.1s ease;
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    box-shadow: none;
}

.site-header.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    height: auto;
}

.site-header.scrolled .pc-menu a,
.site-header.scrolled .pc-menu .layui-nav-item a,
.site-header.scrolled .pc-menu .layui-nav-item .layui-nav-more {
    color: var(--text-dark) !important;
}

.site-header.scrolled .pc-menu .layui-nav-item.layui-this>a {
    color: var(--primary) !important;
}

.site-header.scrolled .logo-text {
    color: var(--primary-dark) !important;
}

.site-header.scrolled .h5-lang-switch {
    color: var(--text-dark) !important;
}

.site-header.scrolled .h5-trigger {
    color: var(--text-dark) !important;
}

.site-header.scrolled .lang-switch {
    color: var(--text-dark) !important;
}

.header-container {
    max-width: 1330px;
    margin: 0 auto;
}

.header-row {
    display: flex;
    align-items: center;
    height: 70px;
    flex-wrap: nowrap;
    width: 100%;
}

.header-row .layui-col {
    display: flex;
    align-items: center;
}

/* ========== LOGO ========== */
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    transition: color 0.3s;
}

/* ========== PC 菜单 ========== */
.pc-menu .layui-nav {
    background: transparent !important;
    padding: 0 !important;
    margin: 0;
    width: 100%;
}

.pc-menu .layui-nav-item {
    line-height: 70px;
}

.pc-menu .layui-nav-item a {
    color: var(--text-white) !important;
    font-size: 16px;
    padding: 0 16px;
    transition: color 0.2s;
    font-weight: 500;
    text-decoration: none !important;
}

.pc-menu .layui-nav-item a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.site-header.scrolled .pc-menu .layui-nav-item a:hover {
    color: var(--primary) !important;
    text-decoration: none !important;
}

/* 移除 layui-nav-bar 和 layui-this:after 下划线 */
.pc-menu .layui-nav .layui-nav-bar {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.pc-menu .layui-nav .layui-this:after {
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
}

.pc-menu .layui-nav .layui-nav-item.layui-this:after {
    display: none !important;
    background: transparent !important;
}

.pc-menu .layui-nav .layui-nav-item:hover:after {
    display: none !important;
    background: transparent !important;
}

.pc-menu .layui-nav .layui-nav-child .layui-this:after {
    display: none !important;
}

.pc-menu .layui-nav .layui-nav-child .layui-nav-bar {
    display: none !important;
}

/* 二级菜单 */
.pc-menu .layui-nav .layui-nav-child {
    background-color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    top: 65px;
    padding: 8px 0;
}

.pc-menu .layui-nav .layui-nav-child a {
    color: var(--text-dark) !important;
    line-height: 40px;
    padding: 0 24px;
    text-decoration: none !important;
}

.pc-menu .layui-nav .layui-nav-child a:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary) !important;
    text-decoration: none !important;
}

.pc-menu .layui-nav .layui-nav-child .layui-this a {
    color: var(--primary) !important;
}

/* ========== 中英文切换 (PC) ========== */
.lang-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--text-white);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
    border-left: none;
}

.lang-switch span {
    font-weight: 500;
    padding: 0 2px;
}

/* ========== H5 菜单 ========== */
.h5-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    width: 100%;
}

.h5-lang-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--text-white);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.h5-lang-switch span {
    font-weight: 500;
    padding: 0 2px;
}

.h5-lang-switch .lang-divider {
    opacity: 0.4;
}

.h5-trigger {
    font-size: 28px;
    color: var(--text-white);
    cursor: pointer;
    transition: color 0.3s;
    padding: 6px 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.lang-switch {
    white-space: nowrap;
}

.h5-menu-panel .layui-nav {
    display: none !important;
}

.site-header.scrolled .pc-menu .layui-nav-item.layui-this>a {
    color: var(--primary) !important;
}

/* ========== H5 侧滑菜单面板 ========== */
.h5-menu-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 998;
    overflow-y: auto;
    transition: all 0.25s ease;
}

.h5-menu-panel.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.h5-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h5-menu-list .menu-active .h5-menu-parent {
    background-image: url(../images/menu-active.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 60px;
}

.h5-menu-list>li {
    border-bottom: 1px solid #f1f5f9;
    padding: 0;
}

.h5-menu-list>li>a {
    display: block;
    padding: 14px 0;
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.5px;
    padding: 14px 20px;
}

.h5-menu-list>li>a:hover {
    color: var(--primary);
}

.h5-menu-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.h5-menu-parent .parent-link {
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
}

.h5-menu-parent .parent-link:hover {
    color: var(--primary);
}

.h5-menu-parent .arrow-icon {
    color: #94a3b8;
    font-size: 16px;
    transition: transform 0.3s;
}

.h5-menu-parent .arrow-icon.open {
    transform: rotate(180deg);
}

.h5-sub-menu {
    list-style: none;
    padding: 0 0 8px 30px;
    margin: 0;
    display: none;
}

.h5-sub-menu.open {
    display: block;
}

.h5-sub-menu li {
    padding: 0;
}

.h5-sub-menu li a {
    display: block;
    padding: 10px 0;
    color: #64748b;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid #f8fafc;
}

.h5-sub-menu li a:hover {
    color: var(--primary);
}

.h5-lang-switch-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.h5-lang-switch-bottom span {
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 20px;
    background: #f1f5f9;
    transition: all 0.2s;
}

.h5-lang-switch-bottom span:hover {
    background: #e2e8f0;
}


/* ========== 修复layui默认样式 ========== */
.layui-nav .layui-nav-item a,
.layui-nav .layui-nav-item a:hover,
.layui-nav-child a,
.layui-nav-child a:hover {
    text-decoration: none !important;
}

.layui-nav .layui-nav-item {
    line-height: 70px;
}

.layui-nav .layui-nav-more {
    border-top-color: rgba(255, 255, 255, 0.6) !important;
}

.site-header.scrolled .layui-nav .layui-nav-more {
    border-top-color: var(--text-dark) !important;
}

.layui-nav .layui-nav-child dd {
    line-height: 40px;
}

/* 彻底移除所有导航下划线 */
.layui-nav .layui-nav-bar {
    display: none !important;
    height: 0 !important;
    background: transparent !important;
}

.layui-nav .layui-this:after,
.layui-nav .layui-nav-item:after,
.layui-nav .layui-nav-item:hover:after {
    display: none !important;
    background: transparent !important;
    height: 0 !important;
}

.layui-nav .layui-nav-item.layui-this:after {
    display: none !important;
    background: transparent !important;
}

.layui-nav .layui-nav-child .layui-nav-bar {
    display: none !important;
}

.layui-nav .layui-nav-child .layui-this:after {
    display: none !important;
}

.foot-wrapper {
    background-color: #1C1DFF;
    color: #ffffff;
    padding-top: 60px;
}

.foot-logo {
    font-size: 40px;
}

.foot-daohan .title,
.foot-lianxi .title {
    font-weight: bold;
    font-size: 24px;
    position: relative;
    padding-bottom: 20px;
}

.foot-daohan .title::before,
.foot-lianxi .title::before {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 15px;
    height: 3px;
    background-color: #fff;
}

.foot-daohan .list {
    display: flex;
    flex-direction: column;
}

.foot-daohan a {
    display: inline-block;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 300;
    margin-top: 12px;
}

.foot-lianxi .list {
    display: flex;
    flex-direction: column;
}

.foot-lianxi .list p {
    font-size: 14px;
    font-weight: 300;
    margin-top: 12px;
}

.foot-fenxiang {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 20px;
}

.copyright-wrapper {
    margin-top: 45px;
    height: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 60px;
    font-size: 13px;
}

/* 公共头部 */
.title-wrapper {
    text-align: center;
    margin: 100px 0;
    font-weight: 400;
    font-size: 60px;
    color: #666666;
    line-height: 30px;
}

.title-wrapper span {
    font-weight: bold;
    color: #1C1DFF;
    margin-right: 10px;
}

.desc-wrapper .layui-container {
    text-align: center;
    padding: 0 120px;
    box-sizing: border-box;
    font-weight: 300;
    font-size: 20px;
    color: #666666;
    line-height: 30px;
}

.kong-wrapper {
    width: 100%;
    height: 80px;
}
#page{
    padding-top: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#page a:hover{
    color: #1C1DFF;
}
.layui-breadcrumb a:hover{
    color: #1C1DFF !important;
}
/* H5端菜单高度调整 */
@media screen and (max-width: 767px) {
    .site-header {
        height: 60px;
        padding: 0 16px;
    }

    .header-row {
        height: 60px;
    }

    .logo-text {
        font-size: 18px;
    }

    .h5-menu-panel {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .foot-daohan {
        padding: 30px 0;
    }

    .foot-lianxi {
        padding: 30px 0;
    }

    .foot-fenxiang {
        padding: 20px 0;
    }

    .desc-wrapper .layui-container {
        padding: 0 15px;
        font-size: 14px;
    }

    .kong-wrapper {
        width: 100%;
        height: 60px;
    }
}