@media (min-width:768px) {

    /* 卡片悬停效果 */
    .shadow {
        transform: translateY(0);
        /* box-shadow: none; */
        transition: all 0.3s ease;
    }

    .shadow:hover {
        transform: translateY(-10px);
        box-shadow: 0px 8px 22px 0px rgba(92, 99, 125, 0.25);
    }
}

/* --- 头部布局 --- */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    /* 使用 fixed 以便在滚动时脱离文档流 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    z-index: 100001;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}


@media (min-width: 768px) {

    /* --- 顶部栏样式 --- */
    .top-bar {
        position: relative;
        padding: 10px 20px;
        /* 上下内边距，控制高度 */
        max-width: 100%;
        height: auto;
        background-color: #F9FAFD;
        /* 浅灰色背景 */
        display: flex;
        justify-content: space-between;
        /* 左中右三部分两端对齐 */
        align-items: center;
        /* 移除固定高度，让其由内容决定 */

        max-height: 60px;
        /* 1. 设置一个足够大的最大高度，能容纳内容即可 */
        overflow: hidden;
        /* 2. 隐藏超出部分，防止内容被挤压 */
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        /* 3. 为高度和内边距添加平滑过渡 */
    }

    /* --- 修改：隐藏状态的类 --- */
    .top-bar.top-bar-hidden {
        /* 不再使用 transform */
        max-height: 0;
        /* 4. 隐藏时，将最大高度设为0 */
        padding-top: 0;
        /* 5. 同时将内边距也设为0，动画更平滑 */
        padding-bottom: 0;
    }

    .top-bar-left {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1001;
    }

    .top-bar-left p {
        margin: 0 auto;
        max-width: 1200px;
        font-size: 14px;
        color: #2C2D3F;
        line-height: 50px;
    }

    .top-bar-right {
        position: relative;
        z-index: 1002;
        margin-left: 250px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
    }

    .top-bar-tel span:last-child {
        margin-right: 0;
    }

    .top-bar-tel a {
        margin-right: 27px;
        /* 电话号码之间的间距 */
        font-size: 14px;
        color: #2C2D3F;
    }

    a.top-bar-login {
        cursor: pointer;
        color: #2C2D3F;
    }

    .right-btns {
        margin-left: 100px;
    }

    /* 按钮基础样式 */
    .top-bar-btn:first-child {
        margin-left: 0;
    }

    .top-bar-btn {
        margin-left: 23px;
        display: inline-block;
        text-decoration: none;
        transition: all 0.3s ease;
        width: 120px;
        height: 30px;
        background: #0C73FC;
        box-shadow: 4px 4px 8px 0px rgba(0, 55, 255, 0.2);
        border-radius: 2px;
        font-size: 14px;
        color: #FFFFFF;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
        user-select: none;
    }

    .top-bar-btn:hover {
        background-color: #036fe2;
        /* 悬停时颜色加深 */
        border-color: #036fe2;
    }

    .top-bar-btn:active {
        background-color: #0056b3;
        /* 悬停时颜色加深 */
        border-color: #0056b3;
    }
}

/* --- 移动端适配：隐藏顶部栏以节省空间 --- */
@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    /* --- 顶部栏样式 --- */
    .top-bar {
        position: relative;
        padding: 10px 20px;
        /* 上下内边距，控制高度 */
        max-width: 100%;
        height: auto;
        background-color: #F9FAFD;
        /* 浅灰色背景 */
        /* 移除固定高度，让其由内容决定 */

        /* max-height: 60px; */
        /* 1. 设置一个足够大的最大高度，能容纳内容即可 */
        overflow: hidden;
        /* 2. 隐藏超出部分，防止内容被挤压 */
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        /* 3. 为高度和内边距添加平滑过渡 */
    }

    /* --- 修改：隐藏状态的类 --- */
    .top-bar.top-bar-hidden {
        /* 不再使用 transform */
        max-height: 0;
        /* 4. 隐藏时，将最大高度设为0 */
        padding-top: 0;
        /* 5. 同时将内边距也设为0，动画更平滑 */
        padding-bottom: 0;
    }

    .top-bar-right {
        position: relative;
        z-index: 1002;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .top-bar-tel {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .top-bar-tel span:last-child {
        margin-right: 0;
    }

    .top-bar-tel a:first-child {
        margin-left: 0;
    }

    .top-bar-tel a {
        margin-left: 10px;
        /* 电话号码之间的间距 */
        font-size: 12px;
        color: #2C2D3F;
    }

    a.top-bar-login {
        cursor: pointer;
        color: #2C2D3F;
        text-align: right;
    }

    .right-btns {
        margin-top: 5px;
        display: flex;
        justify-content: center;
    }

    /* 按钮基础样式 */
    .top-bar-btn:first-child {
        margin-left: 0;
    }

    .top-bar-btn {
        margin-left: 20px;
        padding: 2px 0;
        display: inline-block;
        text-decoration: none;
        transition: all 0.3s ease;
        width: 100%;
        /* height: 30px; */
        background: #0C73FC;
        box-shadow: 4px 4px 8px 0px rgba(0, 55, 255, 0.2);
        border-radius: 2px;
        font-size: 12px;
        color: #FFFFFF;
        text-align: center;
        line-height: 25px;
        cursor: pointer;
        user-select: none;
    }

    .top-bar-btn:hover {
        background-color: #036fe2;
        /* 悬停时颜色加深 */
        border-color: #036fe2;
    }

    .top-bar-btn:active {
        background-color: #0056b3;
        /* 悬停时颜色加深 */
        border-color: #0056b3;
    }
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 17px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 70px; */
}

/* --- Logo 样式 --- */
.logo {
    z-index: 1001;
}

/* --- 导航菜单 (桌面端) --- */
.main-nav .nav-list {
    margin-left: 30px;
    /* padding: 20px; */
    display: flex;
    list-style: none;
    align-items: center;
    /* gap: 30px; */
    flex-wrap: wrap;
    /* justify-content: flex-end; */
}

.nav-item {
    position: relative;
    margin: 0 10px;
}

.nav-item>a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
    font-size: 14px;
    color: #435470;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item>a:hover {
    color: #0C73FC;
}

/* --- 下划线效果 --- */
.nav-item>a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background-color: #0C73FC;
    transition: transform 0.3s ease-in-out;
}

/* 悬停时显示下划线 */
.nav-item>a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-item>a[aria-current="page"] {
    color: #0C73FC;
    font-weight: 600;
}

.nav-item>a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
    background-color: #0C73FC;
}

/* --- 新增：激活/选中状态样式 --- */
.nav-item.nav-item-active>a {
    color: #0C73FC;
    /* 激活状态的文字颜色 */
    font-weight: 600;
    /* 激活状态的字体加粗 */
}

/* 激活状态时，下划线常驻显示 */
.nav-item.nav-item-active>a::after {
    transform: translateX(-50%) scaleX(1);
    /* 让下划线始终显示 */
    background-color: #0C73FC;
    /* 确保颜色一致 */
}

/* 默认（PC端）隐藏指示符 */
.dropdown-indicator {
    display: none;
}

/* 在移动端显示并美化指示符 */
@media (max-width: 768px) {
    .dropdown-indicator {
        display: inline-block;
        /* 让它显示出来 */
        margin-left: 10px;
        /* 与文字拉开一点间距 */
        color: #888;
        /* 设置一个柔和的颜色 */
        font-size: 1.1em;
        /* 让符号稍微大一点，易于点击 */
        font-weight: bold;
        transition: transform 0.2s ease;
        /* 为未来的动画做准备 */
    }
}

/* --- 二级菜单 (桌面端下拉) --- */
.sub-menu {
    list-style: none;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
}

.nav-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #555;
    transition: background-color 0.3s ease;
}

.sub-menu li a:hover {
    background-color: #f4f4f4;
    color: #0C73FC;
}

/* --- 汉堡菜单图标 (默认隐藏) --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}


/* --- 移动端适配 (重点修改部分) --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .wrapper {
        padding: 10px 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        z-index: 1001;
    }

    .main-nav.is-open {
        max-height: calc(100vh - 70px);
    }

    .main-nav .nav-list {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    /* --- 核心：优化一级菜单项的间距和对齐 --- */
    .nav-item>a {
        padding: 20px 20px;
        /* 减小垂直内边距，让布局更紧凑 */
        line-height: 1;
        /* 重置行高，避免干扰 */
        display: flex;
        /* 使用Flexbox布局 */
        align-items: center;
        /* 核心：实现垂直居中 */
        justify-content: space-between;
        /* 核心：将文本和指示符推到两端 */
    }

    /* --- 在移动端隐藏所有下划线效果 --- */
    .nav-item>a::after {
        display: none;
        /* 关键：完全移除伪元素 */
    }

    .sub-menu {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.4s ease-in-out;
    }

    .sub-menu.is-open {
        max-height: 70vh;
    }

    /* 同样减小二级菜单项的内边距 */
    .sub-menu li a {
        padding: 8px 20px;
        /* 从 10px 20px 减小到 8px 20px */
        font-size: 0.9em;
    }

    .nav-toggle.is-open .hamburger {
        background-color: transparent;
    }

    .nav-toggle.is-open .hamburger::before {
        transform: rotate(45deg);
    }

    .nav-toggle.is-open .hamburger::after {
        transform: rotate(-45deg);
    }
}

/* --- 轮播图 --- */
.carousel {
    position: relative
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden
}

.carousel-item {
    position: relative;
    display: none;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    transition: -webkit-transform .6s ease;
    transition: transform .6s ease;
    transition: transform .6s ease, -webkit-transform .6s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block
}

.carousel-item-next,
.carousel-item-prev {
    position: absolute;
    top: 0
}

.carousel-item-next.carousel-item-left,
.carousel-item-prev.carousel-item-right {
    -webkit-transform: translateX(0);
    transform: translateX(0)
}

@supports ((-webkit-transform-style:preserve-3d) or (transform-style:preserve-3d)) {

    .carousel-item-next.carousel-item-left,
    .carousel-item-prev.carousel-item-right {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

.active.carousel-item-right,
.carousel-item-next {
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
}

@supports ((-webkit-transform-style:preserve-3d) or (transform-style:preserve-3d)) {

    .active.carousel-item-right,
    .carousel-item-next {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0)
    }
}

.active.carousel-item-left,
.carousel-item-prev {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
}

@supports ((-webkit-transform-style:preserve-3d) or (transform-style:preserve-3d)) {

    .active.carousel-item-left,
    .carousel-item-prev {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0)
    }
}

.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: .5
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: .9
}

.carousel-control-prev {
    left: 0
}

.carousel-control-next {
    right: 0
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent no-repeat center center;
    background-size: 100% 100%
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none
}

.carousel-indicators li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: rgba(255, 255, 255, .5)
}

.carousel-indicators li::before {
    position: absolute;
    top: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: ""
}

.carousel-indicators li::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: ""
}

.carousel-indicators .active {
    background-color: #fff
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center
}

/* --- 悬浮联系方式按钮 --- */
.floating-contact-widget {
    position: fixed;
    top: 20vh;
    right: 20px;
    z-index: 10000;
    overflow: hidden;
    padding: 20px 13px;
    width: 56px;
    /* 关键：让flex子元素能够继承高度 */
    align-items: stretch;
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0px 4px 20px 0px rgba(42, 62, 113, 0.32);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.floating-contact-widget:hover {
    transform: scale(1.05);
}

.floating-contact-widget .fa-wechat {
    display: block;
    font-size: 22px;
    color: #435470;
    text-align: center;
}

.floating-contact-widget .contact-label {
    margin-top: 10px;
    font-size: 13px;
    color: #435470;
    text-align: center;
}

/* 激活状态样式 */
.floating-contact-widget:hover .fa-wechat {
    color: #2C6BFC;
}

/* 激活状态样式 */
.floating-contact-widget:hover .contact-label {
    color: #2C6BFC;
    font-weight: bold;
}

/* 激活状态样式 */
.floating-contact-widget.active .fa-wechat {
    color: #2C6BFC;
}

/* 激活状态样式 */
.floating-contact-widget.active .contact-label {
    color: #2C6BFC;
    font-weight: bold;
}

/* 弹窗样式 */
.contact-popup {
    position: fixed;
    top: 20vh;
    right: 114px;
    padding: 25px 22px;
    width: 190px;
    display: none;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px 0px rgba(42, 62, 113, 0.32);
    border-radius: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-popup.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.contact-popup-user {
    display: flex;
    align-items: center;
}

.contact-avatar {
    margin-right: 7px;
    width: 32px;
}

.contact-name {
    font-weight: bold;
    font-size: 14px;
    color: #2C2D3F;
    line-height: 14px;
}

.contact-firm {
    margin-top: 7px;
    font-size: 10px;
    color: #91959A;
    line-height: 10px;
}

.contact-qrcode {
    margin-top: 20px;
    margin-bottom: 28px;
    width: 100%;
}

.contact-title {
    font-weight: bold;
    font-size: 16px;
    color: #2C2D3F;
    text-align: center;
}

.contact-tel a {
    margin-top: 14px;
    display: inline-block;
    width: 100%;
    font-weight: bold;
    font-size: 20px;
    color: #2C6BFC;
    text-align: center;
}

.contact-line {
    margin: 20px 0;
    border: 1px solid #F3F3F3;
}

@media (max-width:768px) {
    .floating-contact-widget {
        top: 200px;
        right: 10px;
    }

    .contact-item .fa-wechat {
        font-size: 16px;
    }

    .contact-label {
        font-size: 12px;
        margin-top: 5px;
    }

    .contact-popup {
        top: 180px;
        right: 85px;
    }

    .contact-avatar {
        width: 40px;
    }

    .contact-name {
        font-size: 16px;
    }

    .contact-firm {
        font-size: 13px;
    }

    .contact-qrcode {
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .contact-tel a {
        margin-top: 5px !important;
        font-size: 16px;
    }

    .contact-line {
        margin: 10px 0;
    }
}

/* 动态生成的蒙版样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 100002;
    transition: background-color 0.3s ease;
}

.modal-overlay.show {
    background-color: rgba(0, 0, 0, 0.5);
}

/* --- 预约试用弹窗样式 --- */
.trial-modal {
    position: fixed;
    top: 50vh;
    /* 使用视口高度单位 */
    left: 50%;
    transform: translate(-50%, -50%);
    /* transform: translateX(-50%) translateY(-20px); */
    width: 446px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 100003;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.trial-modal.show {
    display: block;
    opacity: 1;
    /* transform: translateX(-50%) translateY(0); */
}

.trial-modal .modal-body {
    padding: 46px 41px;
}

.trial-modal .form-item {
    margin-bottom: 24px;
}

.trial-modal .form-label {
    position: relative;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 14px;
    color: #10203D;
}

/* 必填星号 */
.trial-modal .form-label.required::before {
    content: "*";
    position: absolute;
    right: -10px;
    color: #e74c3c;
    font-weight: bold;
}

.trial-modal .form-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #BCC0C9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.trial-modal .form-input:focus {
    outline: none;
    border-color: #2C6BFC;
}

/* 错误状态 */
.form-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* 错误提示 */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.error-message.show {
    display: block;
}

.trial-modal .submit-btn {
    display: inline-block;
    margin-top: 25px;
    width: 100%;
    height: 40px;
    background: #2C6BFC;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
}

.trial-modal .submit-btn:hover {
    background-color: #285edd;
}

.trial-modal .submit-btn:active {
    background-color: #1643b6;
}

/* 成功提示 */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
    border: 1px solid #c3e6cb;
}

.success-message.show {
    display: block;
}

/* 失败提示 */
.error-message-modal {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
    border: 1px solid #f5c6cb;
    text-align: center;
}

.error-message-modal.show {
    display: block;
}

/* Toast样式 */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100004;
    pointer-events: none;
    width: 100%;
    text-align: center;
}

.toast {
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    display: inline-block;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 80%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* 不同类型的Toast样式 */
.toast.success {
    background-color: rgba(22, 163, 74, 0.9);
}

.toast.error {
    background-color: rgba(220, 38, 38, 0.9);
}

.toast.warning {
    background-color: rgba(245, 158, 11, 0.9);
}

.toast.info {
    background-color: rgba(59, 130, 246, 0.9);
}

/* 输入框错误样式（保持原有） */
.form-input.error {
    border-color: #ff4d4f;
    outline: none;
}

/* 加载状态 */
.submit-btn.loading {
    background-color: #6c757d;
    cursor: not-allowed;
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .trial-modal {
        width: 90%;
        top: 7%;
    }

    .trial-modal .modal-body {
        padding: 20px;
    }

    .trial-modal .form-item {
        margin-bottom: 15px !important;
    }

    .trial-modal .form-label {
        margin-bottom: 5px;
    }

    .trial-modal .submit-btn {
        margin-top: 15px;
    }
}

/* --- 咨询弹窗（水平居中） --- */
.consult-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明遮罩 */
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    z-index: 100003;
    opacity: 0;
    /* 初始透明 */
    visibility: hidden;
    /* 初始隐藏 */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 弹窗显示状态 */
.consult-popup.active {
    opacity: 1;
    visibility: visible;
}

/* 弹窗内容区域 */
.consult-content {
    background-color: white;
    border-radius: 12px;
    padding: 55px 50px;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    /* width: 740px; */
    transform: translateY(20px);
    /* 初始位置偏移 */
    transition: transform 0.3s ease;
}

/* 弹窗显示时内容动画 */
.consult-popup.active .consult-content {
    transform: translateY(0);
}

/* 左侧信息区域 */
.consult-info {
    margin-right: 138px;
    flex: 1;
}

/* 头像和用户信息容器 */
.consult-avatar {
    display: flex;
    align-items: stretch;
    margin-bottom: 16px;
}

/* 头像样式 */
.avatar-img {
    margin-right: 12px;
    width: 98px;
    object-fit: cover;
    border-radius: 8px;
}

/* 用户信息容器 */
.user-info {
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 姓名样式 */
.name {
    font-weight: bold;
    font-size: 40px;
    color: #2C2D3F;
    line-height: 40px;
}

/* 公司名称样式 */
.company {
    margin-top: 14px;
    font-size: 24px;
    color: #91959A;
    line-height: 24px;
}

/* 标签样式（如"电话咨询"） */
.consult-label {
    margin-top: 43px;
    font-weight: bold;
    font-size: 32px;
    color: #2C2D3F;
}

/* 电话号码样式 */
.consult-phone a {
    margin-top: 25px;
    display: inline-block;
    font-weight: bold;
    font-size: 36px;
    color: #2C6BFC;
}

/* 右侧二维码区域 */
.consult-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 二维码图片样式 */
.consult-qrcode img {
    width: 260px;
    object-fit: contain;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .consult-content {
        width: 90%;
        padding: 20px;
        align-items: flex-start;
    }

    .consult-info {
        margin-right: 0;
    }

    .consult-avatar {
        display: flex;
        align-items: stretch;
        margin-bottom: 16px;
    }

    .avatar-img {
        margin-right: 12px;
        width: 50px;
        object-fit: contain;
        border-radius: 8px;
    }

    .name {
        font-weight: bold;
        font-size: 16px;
        color: #2C2D3F;
        line-height: 20px;
    }

    .company {
        margin-top: 14px;
        font-size: 14px;
        color: #91959A;
        line-height: 18px;
    }

    .consult-label {
        margin-top: 15px;
        font-weight: bold;
        font-size: 16px;
        color: #2C2D3F;
    }

    .consult-phone a {
        margin-top: 5px;
        font-weight: bold;
        font-size: 16px;
        color: #2C6BFC;
    }

    .consult-qrcode img {
        width: 130px;
        object-fit: contain;
    }
}


/* --- 底部版权信息菜单展示 --- */
@media (max-width:768px) {
    .footer {
        padding: 20px 0 0;
        background: #2958C3;
    }

    .footer-main {
        padding: 0 15px;
        max-width: 540px;
        margin: 0 auto;
    }

    .footer-main-wrap {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
    }

    .footer-main-infor {
        width: 100%;
    }

    .main-infor-title:first-child {
        margin-top: 0;
    }

    .main-infor-title {
        margin-top: 16px;
        font-size: 20px;
        line-height: 20px;
        font-weight: bold;
        color: #FFC76C;
    }

    .main-infor-intro {
        margin-top: 20px;
        font-size: 16px;
        color: #FFFFFF;
    }

    /* 移动端不许换行显示 */
    .main-infor-intro br {
        display: none;
    }

    .main-infor-btn {
        display: inline-block;
        margin-top: 20px;
        width: 100%;
        height: 40px;
        font-size: 14px;
        color: #FFFFFF !important;
        text-align: center;
        line-height: 40px;
        background: #326BEE;
        border-radius: 32px;
        cursor: pointer;
        user-select: none;
    }

    .main-infor-btn:hover {
        background: #4A7BF7;
        /* 悬停时背景色变浅 */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* 添加外阴影效果 */
    }

    .main-infor-btn:active {
        background: #2A5AC4;
        /* 点击时背景色变深 */
    }

    .footer-main-form {
        margin-top: 40px;
        width: 100%;
    }

    .main-form-item {
        margin-bottom: 24px;
        display: flex;
        flex-direction: column;
    }

    .form-name {
        margin-bottom: 10px;
        font-size: 13px;
        color: #FFFFFF;
    }

    .form-input {
        padding: 0 18px;
        height: 40px;
        font-size: 13px;
        background: #FFFFFF;
        border-radius: 8px;
        color: #333333;
    }

    .form-input::placeholder {
        color: #AAAAAA;
    }

    .form-input.error {
        border-color: #e74c3c;
    }

    .error-message {
        color: #e74c3c;
        font-size: 14px;
        margin-top: 5px;
        display: none;
    }

    .error-message.show {
        display: block;
    }

    .main-form-btn {
        margin-top: 42px;
        height: 45px;
        font-size: 14px;
        line-height: 45px;
        border-radius: 26px;
        border: 1px solid #FFFFFF;
        color: #FFFFFF;
        text-align: center;
        cursor: pointer;
        user-select: none;
    }

    .main-form-message {
        margin-top: 20px;
        background-color: #d4edda;
        color: #155724;
        padding: 12px 16px;
        border-radius: 4px;
        margin-top: 20px;
        display: none;
        border: 1px solid #c3e6cb;
    }

    .main-form-message.show {
        display: block;
    }

    /* 鼠标悬停或键盘聚焦时 */
    .main-form-btn:hover,
    .main-form-btn:focus {
        /* 可以稍微加深背景色或改变透明度 */
        background-color: rgba(255, 255, 255, 0.2);
        /* 更深的蓝色 */
        /* 添加一个微妙的阴影，提升“浮起”感 */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        /* 为了可访问性，聚焦时最好有个轮廓 */
        /* outline: 2px solid #FFFFFF; */
        outline-offset: 2px;
    }

    /* 激活（点击）时 */
    .main-form-btn:active {
        /* 背景色反转 */
        background-color: rgba(255, 255, 255, 0.7);
        color: #007bff;
        /* 移除阴影，制造“按下”的感觉 */
        box-shadow: none;
        /* 可以加一个轻微的缩放效果，模拟物理按压 */
        transform: scale(0.98);
    }

    .footer-main-menu {
        margin: 0 auto;
        padding: 30px 15px;
        max-width: 540px;
    }

    .menu-wrap {
        margin-bottom: 30px;
        /* flex: 1; */
    }

    .menu-title {
        font-weight: bold;
        font-size: 16px;
        color: #FFFFFF;
    }

    .menu-title-line {
        margin-top: 10px;
        display: block;
        width: 40px;
        height: 3px;
        background: #FFFFFF;
    }

    .menu-wrap ul {
        margin-top: 20px;
    }

    .menu-wrap li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        font-size: 13px;
        color: #FFFFFF;
    }

    .triangle-right {
        margin-right: 10px;
        width: 6px;
        height: 8px;
        background: #FFFFFF;
        clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
    }

    .copyright {
        height: 60px;
        background: #3461C8;
        font-size: 12px;
        color: #FFFFFF;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .copyright span {
        /* display: block; */
        text-align: center;
    }

    .copyright img {
        margin-right: 5px;
        display: inline-block;
        width: 10px;
    }
}

@media (min-width:768px) {
    .footer {
        background: #2958C3;
    }

    .footer-main {
        background-image: url('../../img/home/footer_bg1.jpg');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .footer-main-wrap {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .main-infor-title:first-child {
        margin-top: 0;
    }

    .main-infor-title {
        font-weight: bold;
        color: #FFC76C;
    }

    .main-infor-intro {
        color: #FFFFFF;
    }

    .form-input.error {
        border-color: #e74c3c;
    }

    .error-message {
        color: #e74c3c;
        font-size: 14px;
        margin-top: 5px;
        display: none;
    }

    .error-message.show {
        display: block;
    }

    .main-infor-btn {
        display: inline-block;
        background: #326BEE;
        border-radius: 32px;
        color: #FFFFFF !important;
        text-align: center;
        cursor: pointer;
        user-select: none;
    }

    .main-infor-btn:hover {
        background: #4A7BF7;
        /* 悬停时背景色变浅 */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* 添加外阴影效果 */
    }

    .main-infor-btn:active {
        background: #2A5AC4;
        /* 点击时背景色变深 */
    }

    .main-form-item:last-child {
        margin-bottom: 0;
    }

    .main-form-item {
        display: flex;
        flex-direction: column;
    }

    .form-name {
        color: #FFFFFF;
    }

    .form-input {
        background: #FFFFFF;
        border-radius: 8px;
        color: #333333;
    }

    .form-input::placeholder {
        color: #AAAAAA;
    }

    .main-form-btn {
        border-radius: 26px;
        border: 1px solid #FFFFFF;
        color: #FFFFFF;
        text-align: center;
        cursor: pointer;
        user-select: none;
    }

    /* 鼠标悬停或键盘聚焦时 */
    .main-form-btn:hover,
    .main-form-btn:focus {
        /* 可以稍微加深背景色或改变透明度 */
        background-color: rgba(255, 255, 255, 0.2);
        /* 更深的蓝色 */
        /* 添加一个微妙的阴影，提升“浮起”感 */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        /* 为了可访问性，聚焦时最好有个轮廓 */
        /* outline: 2px solid #FFFFFF; */
        outline-offset: 2px;
    }

    /* 激活（点击）时 */
    .main-form-btn:active {
        /* 背景色反转 */
        background-color: rgba(255, 255, 255, 0.7);
        color: #007bff;
        /* 移除阴影，制造“按下”的感觉 */
        box-shadow: none;
        /* 可以加一个轻微的缩放效果，模拟物理按压 */
        transform: scale(0.98);
    }

    .main-form-btn {
        margin-top: 42px;
        height: 45px;
        font-size: 14px;
        line-height: 45px;
        border-radius: 26px;
        border: 1px solid #FFFFFF;
        color: #FFFFFF;
        text-align: center;
        cursor: pointer;
        user-select: none;
    }

    .main-form-message {
        background-color: #d4edda;
        color: #155724;
        padding: 12px 16px;
        border-radius: 4px;
        margin-top: 20px;
        display: none;
        border: 1px solid #c3e6cb;
    }

    .main-form-message.show {
        display: block !important;
    }

    .footer-bottom {
        background-image: url('../../img/home/footer_bg2.jpg');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .footer-main-menu {
        display: flex;
        justify-content: space-between;
    }

    .menu-wrap {
        /* flex: 1; */
    }

    .menu-title {
        font-weight: bold;
        font-size: 20px;
        color: #FFFFFF;
    }

    .menu-title-line {
        margin-top: 15px;
        display: block;
        width: 50px;
        height: 4px;
        background: #FFFFFF;
    }

    .menu-wrap ul {
        margin-top: 30px;
    }

    .menu-wrap li {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #FFFFFF;
    }

    .triangle-right {
        margin-right: 10px;
        width: 8px;
        height: 12px;
        background: #FFFFFF;
        clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
    }

    .footer-bottom .copyright {
        height: 60px;
        background: rgba(62, 111, 246, 0.8);
        font-size: 14px;
        color: #FFFFFF;
        text-align: center;
        line-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .copyright img {
        margin-right: 5px;
        display: inline-block;
        width: 16px;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .footer-main-wrap {
        padding: 90px 0 70px;
        max-width: 768px;
    }

    .main-infor-title {
        margin-top: 16px;
        font-size: 26px;
        line-height: 26px;
    }

    .main-infor-intro {
        margin-top: 30px;
        font-size: 18px;
        line-height: 25px;
    }

    .main-infor-btn {
        margin-top: 40px;
        width: 240px;
        height: 40px;
        font-size: 15px;
        line-height: 40px;
    }

    .footer-main-form {
        margin-top: 40px;
        width: 360px;
    }

    .main-form-item {
        margin-bottom: 24px;
    }

    .form-name {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .form-input {
        padding: 0 18px;
        height: 40px;
        font-size: 14px;
    }

    .main-form-btn {
        margin-top: 42px;
        height: 45px;
        font-size: 15px;
        line-height: 45px;
    }

    .footer-main-menu {
        margin: 0 auto;
        padding: 54px 0 40px;
        max-width: 768px;
        display: flex;
        justify-content: space-between;
    }

    .footer-bottom .copyright {
        font-size: 12px;
    }
}

@media (min-width:992px) and (max-width:1200px) {
    .footer-main-wrap {
        padding: 90px 0 70px;
        max-width: 992px;
    }

    .main-infor-title {
        margin-top: 16px;
        font-size: 26px;
        line-height: 26px;
    }

    .main-infor-intro {
        margin-top: 30px;
        font-size: 18px;
        line-height: 25px;
    }

    .main-infor-btn {
        margin-top: 54px;
        width: 240px;
        height: 40px;
        font-size: 15px;
        line-height: 40px;
    }

    .footer-main-form {
        width: 300px;
    }

    .main-form-item {
        margin-bottom: 24px;
    }

    .form-name {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .form-input {
        padding: 0 18px;
        height: 40px;
        font-size: 14px;
    }

    .main-form-btn {
        margin-top: 42px;
        height: 45px;
        font-size: 15px;
        line-height: 45px;
    }

    .footer-main-menu {
        margin: 0 auto;
        padding: 54px 0 40px;
        max-width: 992px;
        display: flex;
        justify-content: space-between;
    }
}

@media (min-width:1200px) {
    .footer-main-wrap {
        padding: 90px 0 70px;
        max-width: 1200px;
    }

    .main-infor-title {
        margin-top: 16px;
        font-size: 36px;
        line-height: 36px;
    }

    .main-infor-intro {
        margin-top: 42px;
        font-size: 24px;
        line-height: 35px;
    }

    .main-infor-btn {
        margin-top: 54px;
        width: 240px;
        height: 48px;
        font-size: 20px;
        line-height: 48px;
    }

    .footer-main-form {
        width: 364px;
    }

    .main-form-item {
        margin-bottom: 24px;
    }

    .form-name {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .form-input {
        padding: 0 18px;
        height: 40px;
        font-size: 14px;
    }

    .main-form-btn {
        margin-top: 42px;
        height: 52px;
        font-size: 17px;
        line-height: 52px;
    }

    .footer-main-menu {
        margin: 0 auto;
        padding: 54px 0 40px;
        max-width: 1200px;
        display: flex;
        justify-content: space-between;
    }
}

/* --- 回到顶部按钮样式 --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2C6BFC;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.back-to-top:hover {
    background-color: #1a4fc7;
    transform: translateY(-5px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 箭头图标 */
.back-to-top::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(-45deg);
    margin-bottom: -5px;
}

/* --- 移动端轮播图触摸滑动优化 --- */
.carousel-moblie {
    touch-action: pan-y;
    /* 允许垂直滚动，但水平滑动由我们处理 */
    user-select: none;
    /* 防止文本选择 */
    -webkit-user-select: none;
    /* Safari */
    position: relative;
}

.main-err-form-message {
    background-color: #f5c6cb;
    color: #af202f;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 20px;
    display: none;
    border: 1px solid #f5c6cb;
}

.main-form-message.show {
    display: block;
}

/* Toast样式 */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100004;
    pointer-events: none;
    width: 100%;
    text-align: center;
}

.toast {
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    display: inline-block;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 80%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* 不同类型的Toast样式 */
.toast.success {
    background-color: rgba(22, 163, 74, 0.9);
}

.toast.error {
    background-color: rgba(220, 38, 38, 0.9);
}

.toast.warning {
    background-color: rgba(245, 158, 11, 0.9);
}

.toast.info {
    background-color: rgba(59, 130, 246, 0.9);
}