@font-face {
    font-family: "SHSans SC Web";
    src: url("../fonts/SourceHanSansSC-VF.core.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "SHSans SC Full";
    src: url("../fonts/SourceHanSansSC-VF.subset.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
}
:root {
    --color-primary: #2b4ae0;
    --color-secondary: #f67761;
    --color-dark-blue: #0d1155;
    --color-text-dark: #171717;
    --color-text-light: #ffffff;
    --color-text-gray: #808080;
    --color-background-light: #f9f9fb;
    --color-background-dark: #0d1155;
    --color-accent-green: #50d6a0;
    --color-deco-green: #3acc96;
    --color-btn-green: #55c142;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "SHSans SC Web", "SHSans SC Full", "Inter", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background-color: #f9f9fb;
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: transparent;
    padding: 18px 0;
    transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-stuck {
    padding: 10px 0;
    background-color: var(--color-background-dark);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.site-header + .hero-section {
    margin-top: -89px;
}
.site-header .logo img { width: 144px; height: 53px; object-fit: contain; }
:target { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; }
.hero-section {
    background-color: var(--color-background-dark);
    background-image: url("../images/hero-bg.png");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    color: var(--color-text-light);
    padding-top: 0;
    padding-bottom: 0;
    min-height: 807px;
    position: relative;
    overflow: hidden;
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}
.logo img { width: 144px; }
.nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a { font-size: 16px; color: #fff; }
.nav-links a:hover { color: #55c142; }
.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
}
.nav-contact span { font-size: 16px; }
.nav-contact .btn { margin-left: 24px; }
.btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: box-shadow 0.15s ease, opacity 0.2s ease;
}
.btn:hover {
    opacity: 0.95;
}
.btn-primary {
    background-color: #55c142;
    color: white;
}
.hero-section > .container {
    position: relative;
    width: 100%;
    z-index: 1;
    min-height: 807px;
}
.hero-content {
    width: 100%;
    padding-top: 181px;
}
.hero-text {
    max-width: 744px;
    padding-bottom: 130px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 34px;
}
.hero-text h1 {
    font-size: 68px;
    font-weight: 900;
    line-height: 78px;
    letter-spacing: 0;
    margin: 0 0 16px;
}
.hero-text p {
    font-size: 16px;
    line-height: 24px;
    max-width: 552px;
    opacity: 1;
    margin-bottom: 42px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 58px;
}
.btn-cta {
    background-color: var(--color-primary);
    color: white;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 22px;
    box-shadow: 0 10px 25px #4285f445;
}
.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 14px 18px;
    border-radius: 10px;
    background: transparent;
    font-weight: 700;
    line-height: 22px;
    box-shadow: 0 10px 25px #4285f445;
}
.hero-stats {
    display: flex;
    gap: 49px;
    margin-left: 20px;
}
.hero-stats > div { display: flex; flex-direction: column; }
.stat-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 34px;
    color: var(--color-accent-green);
    margin-bottom: 19px;
}
.stat-label {
    font-size: 16px;
    font-weight: 700;
    opacity: 1;
}
.hero-section .deco-shape-1 {
    position: absolute;
    width: 373px;
    height: 373px;
    background-color: var(--color-deco-green);
    border-radius: 60px;
    transform: rotate(45deg);
    top: 330px; 
    left: calc(50% - 720px + 921px); 
    z-index: 1;
}
.hero-section .deco-shape-2 {
    position: absolute;
    width: 180px;
    height: 179px;
    top: 253px; 
    left: calc(50% - 720px + 1165px); 
    z-index: 0;
}
.hero-image-container {
    position: absolute;
    width: 623px;
    height: 691px;
    bottom: 0;
    left: calc(50% - 720px + 804px); 
    z-index: 2;
}
.hero-person-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
}
.js-anim-ready .hero-badge,
.js-anim-ready .hero-text h1,
.js-anim-ready .hero-text p,
.js-anim-ready .hero-buttons,
.js-anim-ready .hero-stats > div {
    opacity: 0;
}
.js-anim-ready .hero-image-container,
.js-anim-ready .hero-section .deco-shape-1,
.js-anim-ready .hero-section .deco-shape-2 {
    opacity: 0;
}
.hero-anim-done .hero-badge,
.hero-anim-done .hero-text h1,
.hero-anim-done .hero-text p,
.hero-anim-done .hero-buttons,
.hero-anim-done .hero-stats > div,
.hero-anim-done .hero-image-container,
.hero-anim-done .hero-section .deco-shape-1,
.hero-anim-done .hero-section .deco-shape-2 {
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .js-anim-ready .hero-badge,
    .js-anim-ready .hero-text h1,
    .js-anim-ready .hero-text p,
    .js-anim-ready .hero-buttons,
    .js-anim-ready .hero-stats > div,
    .js-anim-ready .hero-image-container,
    .js-anim-ready .hero-section .deco-shape-1,
    .js-anim-ready .hero-section .deco-shape-2 {
        opacity: 1;
    }
}
@media (max-width: 1280px) {
    .hero-image-container {
        width: 520px;
        height: 577px;
        left: auto;
        right: 40px;
    }
    .hero-section .deco-shape-1 {
        width: 311px;
        height: 311px;
        top: 290px;
        left: auto;
        right: 190px;
    }
    .hero-section .deco-shape-2 {
        width: 150px;
        height: 149px;
        top: 214px;
        left: auto;
        right: 60px;
    }
    .hero-text h1 { font-size: 56px; line-height: 66px; }
}
@media (max-width: 1200px) {
    .nav-links { display: none; }
    .site-header + .hero-section { margin-top: -89px; }
    .hero-section {
        min-height: 0;
        align-items: stretch;
    }
    .hero-section > .container { align-items: stretch; }
    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding-top: 120px;
    }
    .hero-text {
        max-width: 100%;
        padding-bottom: 0;
    }
    .hero-text p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-stats { justify-content: center; }
    .hero-badge { justify-content: center; }
    .hero-image-container { margin-top: 40px; }
}
@media (max-width: 768px) {
    .hero-text h1 { font-size: 40px; line-height: 50px; }
    .hero-stats { flex-wrap: wrap; gap: 24px 32px; }
    .stat-number { font-size: 30px; }
    .hero-image-container {
        width: 100%;
        max-width: 420px;
        height: auto;
        aspect-ratio: 623/691;
    }
    .deco-shape-1 {
        width: 60%;
        height: 0;
        padding-bottom: 60%;
        top: 31%;
        left: 19%;
    }
    .deco-shape-2 { width: 29%; height: auto; top: 20%; left: 58%; }
}
.stats-section {
    background-color: #ffffff;
    padding: 80px 20px 60px 40px;
}
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1109px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px 24px;
    position: relative;
    padding-bottom: 80px;
}
.stats-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(9, 70, 71, 0.5);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 180px;
    z-index: 1;
}
.stat-item .stat-number {
    font-size: 59px;
    font-weight: 700;
    color: #151a26;
    line-height: 89px;
    margin-bottom: 12px;
}
.stat-item .stat-label {
    font-size: 30px;
    font-weight: 200;
    color: #1a1d1f;
    line-height: 42px;
}
@media (max-width: 1024px) {
    .stat-item .stat-number { font-size: 48px; line-height: 72px; }
    .stat-item .stat-label { font-size: 24px; line-height: 36px; }
}
@media (max-width: 768px) {
    .stats-bar { justify-content: center; gap: 32px; padding-bottom: 68px; }
    .stat-item { min-width: 140px; }
    .stat-item .stat-number { font-size: 36px; line-height: 54px; }
    .stat-item .stat-label { font-size: 18px; line-height: 28px; }
    .stats-line { bottom: 0; }
}

.site-footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    padding: 120px 20px 42px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}
.footer-main {
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.footer-spacer-206 { width: 150px; flex: none; }
.footer-spacer-140 { width: 120px; flex: none; }
.footer-col.about-col { width: 290px; flex: none; }
.footer-col:nth-child(3) { width: 130px; flex: none; }
.footer-col:nth-child(5) { width: 250px; flex: none; }
.footer-col-right {
    flex: 1;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer-col-right ul { text-align: right; }
.footer-col:nth-child(4) { display: flex; flex-direction: column; align-items: flex-end; } 
.footer-col h4 {
    font-size: 20px;
    margin: 0 0 24px;
    color: var(--color-text-light);
}
.footer-col p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 24px;
}
.about-col {
    max-width: 350px;
}
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}
.social-icon-merged {
    position: relative;
    width: 18px;
    height: 16px;
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.social-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.wechat-popup {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    transform: translate(-50%, 8px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    width: 144px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 12px 32px rgba(13, 17, 85, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.28s;
}
.wechat-popup::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    margin-top: -5px;
    background-color: #ffffff;
    transform: rotate(45deg);
    border-radius: 1px;
}
.wechat-popup-title {
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-text-gray);
    text-align: center;
}
.wechat-popup img {
    width: 120px;
    height: 120px;
    border-radius: 4px;
}
.social-item-wechat:hover .wechat-popup,
.social-item-wechat:focus-within .wechat-popup,
.social-item-wechat.is-open .wechat-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-col ul li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: var(--color-text-light);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 992px) {
    .footer-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
    .footer-spacer-206,
    .footer-spacer-140 {
        display: none;
    }
    .footer-col.about-col,
    .footer-col:nth-child(3),
    .footer-col:nth-child(5) {
        width: auto;
        max-width: none;
    }
    .footer-col.about-col {
        grid-column: 1 / -1;
    }
    .footer-col-right {
        order: 1;
    }
    .footer-col:nth-child(5) {
        order: 2;
        grid-column: 1 / -1;
    }
    .footer-col:nth-child(4),
    .footer-col-right {
        align-items: flex-start;
    }
    .footer-col-right ul {
        text-align: left;
    }
    .footer-col h4 {
        margin-bottom: 16px;
    }
    .footer-col ul {
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .site-footer {
        padding-top: 48px;
    }
    .footer-col p {
        margin-bottom: 20px;
    }
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--color-btn-green);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after { transform: scaleX(0.6); }
.nav-links a.is-active { color: var(--color-btn-green); }
.nav-links a.is-active::after { transform: scaleX(1); }

/* 语言切换按钮：加粗区分，不参与导航下划线动效 */
.nav-links a.lang-switch {
    font-weight: 700;
}
.nav-links a.lang-switch::after { content: none; }
.nav-links a.lang-switch:hover { color: var(--color-btn-green); }

/* 移动端菜单里的语言切换 */
.lang-switch-mobile {
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background-color: var(--color-text-light);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background-color: rgba(13, 17, 85, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: min(320px, 82vw);
    height: 100%;
    padding: 96px 28px 32px;
    background-color: var(--color-background-dark);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.28);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-panel > a {
    padding: 15px 4px;
    font-size: 17px;
    color: var(--color-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-panel > a:hover,
.mobile-nav-panel > a:focus-visible {
    color: var(--color-btn-green);
    padding-left: 10px;
}
.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}
.mobile-nav-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-light);
}
.mobile-nav-footer .btn { text-align: center; }
body.nav-locked { overflow: hidden; }

@media (max-width: 1200px) {
    .nav-toggle { display: flex; }
    .nav-contact { display: none; }
}
@media (min-width: 1201px) {
    .mobile-nav { display: none; }
}

.field-error {
    display: none;
    font-size: 14px;
    color: #e5484d;
    line-height: 1.4;
}
.field-error:not(:empty) { display: block; }
.form-group input.has-error,
.form-group textarea.has-error {
    border-color: #e5484d;
    background-color: #fff6f6;
}
.form-status {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    min-height: 22px;
}
.form-status.is-pending { color: var(--color-text-gray); }
.form-status.is-success { color: #16a34a; }
.form-status.is-error { color: #e5484d; }
.contact-form.is-submitting .btn-submit {
    opacity: 0.65;
    cursor: not-allowed;
}
.btn-submit:disabled { cursor: not-allowed; }

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 98;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(43, 74, 224, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease,
                visibility 0.3s ease,
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background-color: #1f3ac4;
    box-shadow: 0 10px 28px rgba(43, 74, 224, 0.4);
}
.back-to-top:active {
    transform: translateY(2px);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--color-text-light);
    outline-offset: 3px;
}
.back-to-top svg {
    width: 20px;
    height: 20px;
    display: block;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

body.nav-locked .back-to-top {
    opacity: 0;
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .nav-links a::after,
    .nav-toggle-bar,
    .mobile-nav,
    .mobile-nav-panel,
    .back-to-top {
        transition: none;
    }
}
