* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 96px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 100px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* 顶部导航栏 Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #6CB896;
    transition: background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.header.scrolled {
    background-color: #6CB896;
    box-shadow: 0 4px 24px rgba(18, 83, 160, 0.08);
}

.header-inner {
    height: 96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: height 0.3s ease;
}

/* .header.scrolled .header-inner {
            height: 80px;
        } */

/*  Logo 与站点简介  */
.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    display: block;
    transition: height 0.3s ease, transform 0.3s ease;
}

.logo a {
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.logo a:hover img {
    transform: scale(1.02);
}

/* .header.scrolled .logo img {
            height: 50px;
        } */

.intro {
    margin-left: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

/* .header.scrolled .intro {
            color: #fff;
        } */

.intro p {
    text-align: justify;
    text-justify: inter-character;
}


/* 主导航 Menu*/
.main-nav {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav>.nav-item {
    margin-right: 2px;
}

.main-nav>.nav-item:last-child {
    margin-right: 0;
}

.nav-item>a {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease;
}

/* .header.scrolled .nav-item>a {
            color: #ffffff;
        } */

.nav-item>a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item>a:hover {
    color: #fff;
    background: rgba(18, 160, 101, 0.06);
}

.nav-item>a:hover::before,
.nav-item>a.active::before {
    width: calc(100% - 24px);
}

.nav-item>a.active {
    color: #fff !important;
    font-weight: 600;
    background: transparent;
}

/* 大图下拉 Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: linear-gradient(180deg, #f7fbf9 0%, #ffffff 60%);
    box-shadow: 0 24px 60px rgba(18, 83, 160, 0.14);
    padding: 48px 0 52px;
    z-index: 1000;
    display: none;
    border-top: 3px solid #6CB896;
}

.mega-dropdown.show {
    display: block;
    animation: megaFadeIn 0.28s ease;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-dropdown-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    padding: 0 100px;
}

/*  导航栏左侧  */
.dropdown-left-img {
    width: 460px;
    height: 280px;
    background-color: #6CB896;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0 16px 36px rgba(18, 83, 160, 0.22);
    margin-right: 56px;
}

.dropdown-left-img::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 0;
    pointer-events: none;
}

.dropdown-left-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dropdown-left-img:hover img {
    transform: scale(1.06);
}

.dropdown-left-img::before {
    content: 'SOLUTIONS';
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    font-size: 11px;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(108, 184, 150, 0.9);
    padding: 4px 10px;
    border-radius: 20px;
}

#aboutDropdown .dropdown-left-img::before {
    content: 'ABOUT';
}

.dropdown-left-img span {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.dropdown-left-img .img-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6CB896;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-style: normal;
    transition: transform 0.25s ease, background 0.25s ease;
}

.dropdown-left-img:hover .img-arrow {
    transform: translateX(4px);
    background: #5aa584;
}

/*  右侧分组  */
.dropdown-right-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: stretch;
    padding-top: 0;
}

.dropdown-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 220px;
    padding: 22px 22px 18px;
    margin: 0 28px 24px 0;
}

.dropdown-group:nth-child(4n) {
    margin-right: 0;
}

.dropdown-group-title {
    position: relative;
    display: flex;
    align-items: center;
    color: #1A2C3E;
    font-size: 17px;
    font-weight: 600;
    /* white-space: nowrap; */
    padding-left: 0;
    padding-bottom: 10px;
    margin-bottom: 6px;
    transition: color 0.25s ease;
}

.title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #a8d9c3;
    /* transition: color 0.25s ease, transform 0.25s ease; */
    transition: color 0.25s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.title-icon svg {
    display: block;
}

.dropdown-group-title:hover .title-icon {
    transform: translateX(4px);
}

.dropdown-group-title:hover {
    color: #6CB896;
}

.dropdown-group-title:hover .title-icon {
    color: #6CB896;
    transform: rotate(90deg);
}

/* 下划线动画 */
.dropdown-group-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6CB896, #a8d9c3);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.dropdown-group-title:hover::after {
    transform: scaleX(1);
}

/*  子项  */
.dropdown-sub-items {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-top: 8px;
}

.dropdown-sub-items>* {
    margin-bottom: 4px;
}

.dropdown-sub-items>*:last-child {
    margin-bottom: 0;
}

.dropdown-sub-item {
    position: relative;
    padding: 8px 10px 8px 26px;
    font-size: 14.5px;
    color: #5a6b7b;
    /* white-space: nowrap; */
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}

.dropdown-sub-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cfe6da;
    transform: translateY(-50%);
    transition: background 0.25s ease, transform 0.25s ease;
}

.dropdown-sub-item:hover {
    color: #2f7f5e;
    background: #f0f9f4;
    padding-left: 30px;
}

.dropdown-sub-item:hover::before {
    background: #6CB896;
    transform: translateY(-50%) scale(1.2);
}

.nav-lang {
    display: flex;
    align-items: center;
}

/* 语言切换 */
.nav-lang {
    display: flex;
    align-items: center;
    padding: 10px 0 10px 18px;
    box-sizing: border-box;
}

.lang-item {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.25s ease;
}

.lang-item:hover {
    color: #ffffff;
}

.lang-item.active {
    color: #ffffff;
    font-weight: 600;
    pointer-events: none;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 6px;
    font-size: 13px;
}

/* 滚动后（白底模式）文字颜色适配 */
.header.scrolled .lang-item {
    /* color: #a0c7b2; */
    color: rgba(255, 255, 255, 0.7);
}

.header.scrolled .lang-item:hover {
    color: #6CB896;
}

.header.scrolled .lang-item.active {
    color: #fff;
}

.header.scrolled .lang-divider {
    color: #a0c7b2;
}

/* 移动端汉堡按钮 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: background 0.25s ease;
}

.mobile-toggle:hover {
    background: rgba(18, 83, 160, 0.08);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.25s ease;
    margin-bottom: 5px;
}

.header.scrolled .mobile-toggle span {
    background: #1A2C3E;
}

.mobile-toggle.active span {
    background: #1A2C3E;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端全屏菜单 */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background: #ffffff;
    z-index: 99999;
    overflow-y: auto;
    padding: 20px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: none;
}

.mobile-nav-overlay.open {
    transform: translateX(0);
    display: block;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf0;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-nav-header .mobile-logo img {
    height: 32px;
}

.mobile-intro {
    font-size: 10px;
    font-weight: 600;
    color: #333;
    margin-left: 15px;
}

.mobile-close {
    font-size: 26px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-close:hover {
    background: rgba(18, 160, 72, 0.08);
    color: #6CB896;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #e8ecf0;
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-item>a,
.mobile-nav-item>.mobile-nav-head>.mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.mobile-nav-item>a:hover,
.mobile-nav-item>.mobile-nav-head>.mobile-nav-link:hover {
    color: #6CB896;
}

.mobile-arrow {
    font-size: 20px;
    color: #999;
    transition: transform 0.3s ease, color 0.2s ease;
    cursor: pointer;
    padding: 16px 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.mobile-nav-item.open .mobile-arrow {
    transform: rotate(90deg);
    color: #6CB896;
}

/* 移动端子菜单 */
.mobile-sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

.mobile-sub-menu.open {
    display: block;
}

/* 小标题样式 */
.mobile-sub-title {
    padding: 16px 16px 8px 0px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    background: #fff;
}

/* 具体子链接的样式 */
.mobile-sub-menu li a {
    display: block;
    padding: 12px 16px 12px 20px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-top: 1px solid #f0f2f5;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-sub-menu li a:hover {
    color: #6CB896;
    padding-left: 30px;
}

/* 移动端语言切换 */
.mobile-lang-wrap {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mobile-lang-wrap>* {
    margin: 0 10px 10px 0;
}

.mobile-lang-item {
    padding: 8px 12px;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
}

.mobile-lang-item.active {
    background: #eafff1;
    color: #6CB896;
}

.mobile-lang-divider {
    color: #ccc;
}

@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        display: none !important;
    }

    .header-inner {
        height: 70px;
    }

    /* .header.scrolled .header-inner {
                height: 64px;
            } */

    .logo img {
        height: 34px;
    }

    /* .header.scrolled .logo img {
                height: 30px;
            } */

    .header,
    .header.scrolled {
        background-color: #6CB896;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .intro {
        color: #fff;
    }

    .header.scrolled .intro {
        color: #fff;
    }

    .mobile-toggle span {
        background: #fff;
    }

    .header.scrolled .mobile-toggle span {
        background: #fff;
    }
}

@media (max-width: 480px) {

    .mobile-nav-item>a,
    .mobile-nav-item>.mobile-nav-link {
        font-size: 16px;
        padding: 14px 0;
    }

    .mobile-sub-menu li a {
        font-size: 14px;
        padding: 8px 0 8px 18px;
    }

    .intro {
        font-size: 10px;
    }
}

/* 页脚 Footer */
.footer {
    position: relative;
    background-color: #f3f3f3;
    background-image: url('/static/images/footer.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0 0;
    margin-top: auto;
    color: #333;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
    pointer-events: none;
}

.footer-inner.container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;

    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-main>* {
    margin-bottom: 40px;
}

.footer-brand {
    flex: 0 0 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 80px;
}

.footer-brand img {
    margin: auto;
    width: 80px;
    height: auto;
    display: block;
}

.footer-brand .group-text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    text-align: center;
    margin: 36px auto;
}

.footer-nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.footer-nav-col {
    margin-right: 80px;
}

.footer-nav-col:last-child {
    margin-right: 0;
}

.footer-nav-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col ul li {
    margin-bottom: 12px;
}

.footer-nav-col ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
}

.footer-nav-col ul li a:hover {
    color: #fff;
    color: #333;
}

.footer-contact {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
}

.footer-contact>*+* {
    margin-top: 12px;
}

.footer-contact .contact-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-contact-line {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

.footer-contact-line a {
    color: #fff;
}

.footer-wechat {
    display: flex;
}

.footer-wechat>*+* {
    margin-left: 14px;
}

.footer-wechat img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    background: #fff;
}

.footer-wechat .wechat-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    margin-top: 13px;
}

/*  底部版权条  */
.footer-bottom-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

.footer-bottom-bar>* {
    margin: 0 6px;
}

.footer-bottom-bar .copyright-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.footer-bottom-bar .copyright-text a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-bottom-bar .copyright-text a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .footer-main {
        padding-bottom: 36px;
    }

    .footer-nav-col {
        margin-right: 40px;
    }

    .footer-contact {
        flex: 1 1 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 0;
    }

    .footer-main {
        display: none !important;
        padding-bottom: 50px;
    }

    .footer-bottom-bar {
        padding: 16px 0;
    }

    .footer-bottom-bar .copyright-text {
        font-size: 12px;
        line-height: 1.7;
    }
}