:root {
    --design-width: 1728px;
    --scale-ratio: min(1, 100vw / var(--design-width));
}

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

html {
    /* 防止微信/部分 WebView 自动放大字体，导致布局和手机浏览器不一致 */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: #F0EFF6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.banner-container {
    background-color: #F0EFF6;
}

.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 137px;
    padding: 0 56px;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-img {
    height: auto;
    max-height: 103px;
    width: auto;
    display: block;
}

.mobile-logo-img {
    display: none;
    height: auto;
    max-height: 40px;
    width: auto;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    font-family: sans-serif;
    color: #3C2680;
    text-decoration: none;
    font-size: 24px;
    padding: 8px 30px;
    position: relative;
    cursor: pointer;
}

.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #3C2680;
}

.nav-item.active {
    font-weight: bolder;
}

.nav-item:hover {
    font-weight: bolder;
}

.contact-section::before {
    content: '';
    width: 2px;
    height: 60px;
    background-color: #3C2680;
    margin-right: 15px;
    align-self: center;
    flex-shrink: 0;
}

.contact-section {
    display: flex;
    align-items: center;
    gap: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}

.business-cooperation {
    color: #3C2680;
    font-size: 24px;
    margin-bottom: 5px;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #3C2680;
    font-size: 18px;
}

.phone-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.phone-number {
    font-size: 20px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #7168AD;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 移动端菜单 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.mobile-menu-logo-img {
    height: auto;
    max-height: 35px;
    width: auto;
}

.mobile-menu-close {
    background: #ffffff00;
    border: 4px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 40px;
    color: #fff;
    line-height: 1;
    padding: 0;
}

.mobile-menu-nav {
    background-color: #453C7C;
    padding: 0;
}

.mobile-nav-item {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 13px 30px;
    font-size: 18px;
    border-bottom: 1px solid #fff;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1120px) {

    .main-header {
        height: 62px;
        padding: 0 20px;
        position: relative;
    }

    .header-content {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    /* PC端logo图片在移动端隐藏 */
    .logo-img {
        display: none;
    }

    /* 显示移动端logo图片 */
    .mobile-logo-img {
        display: block;
    }

    /* PC端导航和联系信息在移动端隐藏 */
    .navigation,
    .contact-section {
        display: none;
    }

    /* 显示移动端菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
    }

    /* 移动端菜单样式 */
    .mobile-menu-overlay {
        display: block;
    }
}

/* 底部样式 */
.main-footer {
    background-color: #453C7C;
    color: #ffffff;
    padding: 90px 40px 20px 40px;
    /* margin-top: auto; */
    height: 420px;
}

.footer-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
}

.footer-left {
    text-align: center;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    padding: 10px;
    border-radius: 4px;
    display: block;
    margin: 0 auto 15px;
}

.qrcode-text {
    font-size: 16px;
    color: #ffffff;
}

.footer-center {
    text-align: left;
}

.footer-title {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-title-large {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-item {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease, font-size 0.3s ease;
    display: inline-block;
}

.footer-link.active {
    font-size: 30px;
}

.footer-link:hover {
    font-size: 30px;
}

.footer-right {
    text-align: left;
}

.footer-contact {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.8;
}

.contact-line {
    display: block;
    margin-bottom: 8px;
    white-space: nowrap;
}

.contact-line>span {
    display: inline;
}

.contact-line .wechat-note {
    display: inline;
    margin-left: 0;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin: 40px 0 20px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    padding: 20px 0;
    margin: 0 auto;
}

.footer-copyright br {
    display: none;
}

/* 底部移动端样式 */
@media (max-width: 900px) {
    .main-footer {
        height: auto;
        min-height: 360px;
        padding: 30px 30px 20px;
        margin-bottom: 57px;
    }

    .footer-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-center {
        text-align: left;
        flex: 1;
        min-width: 0;
        order: 1;
    }

    .footer-left {
        text-align: center;
        flex: 0 0 120px;
        order: 2;
        align-self: flex-start;
    }

    .footer-right {
        text-align: left;
        flex: 1 1 100%;
        order: 3;
        margin-top: 0;
    }

    .qrcode-img {
        width: 120px;
        height: 120px;
    }

    .qrcode-text {
        font-size: 14px;
        margin-top: 10px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-title-large {
        font-size: 18px;
        margin-bottom: 12px;
        margin-top: 15px;
    }

    .footer-item {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-link.active {
        font-size: 20px;
    }

    .footer-contact {
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-line {
        display: block;
        margin-bottom: 10px;
        white-space: normal;
        word-break: break-word;
    }

    .footer-divider {
        margin: 25px 0 15px;
    }

    .footer-copyright {
        font-size: 11px;
        color: #8783A1;
    }

    .footer-copyright br {
        display: block;
    }

    .footer-copyright p {
        margin-bottom: 3px;
    }

    .footer-copyright em {
        color: #8783A1;
        display: block;
        line-height: 1.5;
    }

    .footer-copyright em:first-child {
        margin-bottom: 4px;
    }

    .mobile-contact-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #fff;
        color: #3C2680;
        padding: 15px 20px;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        z-index: 999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-contact-button:active {
        background-color: #5E5693;
    }

    .mobile-contact-icon {
        width: 20px;
        height: 20px;
        display: block;
    }

    .mobile-contact-text {
        color: #3C2680;
    }
}

.mobile-contact-button {
    display: none;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 800ms ease-out, transform 800ms ease-out;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}