img { width: 100%; display: block; }
body {
    margin: 0;
    font-family: "Microsoft Yahei", sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    padding-top:125px;
}

/* ===== Banner Container ===== */
.banner-container {
    position: relative;
    height: 350px;
    overflow: hidden;
}

/* ===== Banner Items ===== */
.banner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner.active {
    display: block;
}

.banner img {
    height: 350px;
    object-fit: cover;
}
.banner-text {
    position: absolute;
    left: 250px;
    top: 30%;
}
.banner-text h2 {
    font-size: 36px;
    font-weight: 500;
    color: #FFFFFF;
}
.banner-text p {
    margin-top: 10px;
    font-size: 24px;
    color: #F3F3F3;

}

/* ===== 中间 Tabs ===== */
.tab-container {

    width: 100%;
    padding-top:20px;
    background-color: #F6F6F6;
    text-align: center;
    border-bottom: 1px solid #f3f3f3;
}
.tabs {
    width:  var(--width-main);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
}
.tab {
    font-size: 22px;
    text-align: center;
    justify-content: center;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.tab.active {
    color: #0b4fa8;
    border-bottom-color: #0b4fa8;
}

/* ===== 内容区 ===== */
.tab-content {
    width: 100%;
}
.content { display: none; }
.content.active { display: block; }

/* 标题段落 */
.section-div{
    width:  var(--width-main);
    margin: auto;
}
.section-title {
    margin-top: 50px;
    text-align: center;
    color: #000000;
    font-size: 36px;
    font-weight: bold;
}
.section-desc {
    margin: auto;
    text-align: center;
    line-height: 1.8;
    border-bottom: 1px solid #173E8F;
    padding-bottom: 50px;
    font-size: 18px;
    color: #000000;
}

/* 数字统计 */
.stats {
    width:  var(--width-main);
    margin: 50px auto 50px;
    display: flex;
    justify-content: space-around;
}
.stat-item h3 {
    font-size: 32px;
    color: #0b4fa8;
    text-align: left;
}
.stat-item p {
    text-align: left;
    margin-top: 10px;
}

/* 图片六宫格 */
.grid-images-div{
    width:100% ;
    padding:80px 0;
    background-color: #F6F6F6;
}
.grid-images {
    width:  var(--width-main);
    margin: auto ;
    display: flex;
    flex-wrap: wrap;
}
.img-card {
    position: relative;
    width: calc(100% / 3);
}
.img-card:nth-child(4),
.img-card:nth-child(5) {
    width: 50%;
}
.font-card{
    position: absolute;
    left: 32px;
    top: 45%;
    color: white;
}
.img-card span {
    font-size: 24px;
}
.img-card p{
    font-size: 16px;
}
/* 平台赋能 */
.mid-div{
    width: 100%;
    background-color: #F6F6F6;
}
.mid-div .mid-div-img{
    width:  var(--width-main);
    margin: auto;
}
.mid-title {
    margin: auto 0 40px ;
    color: #000000;
    font-weight: bold;
    text-align: center;
    font-size: 36px;
}

.bottom-cards {
    width:  var(--width-main);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*gap: 15px;*/
}
.b-card {
    padding: 20px 30px;
    margin-bottom: 40px;
    border-bottom: 2px solid #F6F6F6;
}
.b-card:hover,.card-active{
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom-color: #173E8F;
}
.b-card h4 {
    font-weight: 500;
    margin: 15px 0 10px;
    font-size: 24px;
    color: #333333;
}
.b-card .b-card-main{
    font-size: 16px;
    color: #424242;
    font-weight: 400;
    line-height: 1.6;
}
.b-card .b-card-des{
    font-weight: 500;
    font-size: 14px;
    color: #242424;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
/*------------三级菜单切换效果------------------*/
/* ===== 优化后的顶部小导航（居中、下划线、激活） ===== */
.build-nav {
    list-style: none;
    padding: 0;
    margin: 36px auto 28px;
    display: flex;
    justify-content:center;
    gap: 56px;
    font-size: 16px;
}

.center-title {
    font-size: 36px;
    color: #000;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.build-desc {
    font-size: 24px;
    color: #000;
    text-align: center;
    margin: 40px auto 40px;
    line-height: 1.8;
}

.build-nav li {
    cursor: pointer;
    padding: 12px 4px;
    color: #444;
    position: relative;
    transition: color .18s, opacity .18s;
    opacity: .8;
}
.build-nav li:hover { color:#173E8F; opacity:1; }
.build-nav li.active {
    color: #333333;
    font-weight: bold;
    opacity:1;
}
.build-nav li.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 100px;
    height: 3px;
    background: #173E8F;
    border-radius: 2px;
}
/* ========== 合伙人端内容========== */
.section-partner{
    width:  var(--width-main);
    margin: auto;
}
/* ===============商家端内容=============== */
#merchant{
    padding-top: 40px;
    .footer-banner {
        background: url("../../images/services/pic_merchant_side_buttom.png") no-repeat center/cover;
    }

    .section-wrap {
        text-align: center;
        padding: 40px 0 60px 0;
    }

    .title {
        font-size: 36px;
        color: #000000;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 24px;
        color: #000000;
        margin-bottom: 40px;
    }

    .card-container {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: nowrap;
        padding-top:40px;
    }

    .card-item {
        width: 260px;
        height: 380px;
        background-size: cover;
        background-position: center;
        /*border-radius: 6px;*/
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: flex-end;
    }

    /* 底部渐变效果 */
    .card-item::before {
        content: "";
        position: absolute;
        left: 0; top: 0; right: 0; bottom: 0;
        background: linear-gradient(to top, #0A2661, rgba(0,0,80,0) 60%);
    }

    .card-content {
        position: relative; /* 覆盖渐变 */
        color: #fff;
        padding: 20px;
        text-align: left;
    }

    .card-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .card-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/*-----用户端内容 begin------*/
#user{
    .user-footer-banner {
        width: 100%;
        height: 650px;
        padding-top:170px;
        color: #fff;
        background: url("../../images/services/pic_user_side_buttom.png") no-repeat center/cover;
    }
    .footer-content{
        width:  var(--width-main);
        margin: auto;
        h2{
            font-size: 36px;
            font-weight: bold;
        }
        p{
            line-height: 1.8;
        }
    }
    .user-banner{
        padding-top: 20px;
        margin-bottom: 60px;
    }
    .user-banner h2{
        color: #000000;
        text-align: center;
        margin-top: 20px;
    }

/*  banner样式 begin  */
    .feature-swiper {
        width:  var(--width-main);
        overflow: visible;
        .swiper-slide{
            width:  var(--width-main)!important;
            height: 450px!important;
            background-size: contain;
            background-repeat: no-repeat;
            background-color: #FFFFFF;
        }
        
        .swiper-slide.slide-right {
            background-position: right bottom;
            .slide-content{
                text-align: left;
                margin-left: 40px;

            }
        }
        
        .swiper-slide.slide-left {
            background-position: left bottom;
            .slide-content{
               float: right;
                text-align: right;
                margin-right: 40px;
            }
        }
        .slide-content{
            width: 400px;
            color:#292929;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            h3{
                font-size: 24px
            }
            p{
                font-size: 16px;
            }
        }

    }

    /* 按钮美化成灰色圆形 */
    .swiper-button-prev,
    .swiper-button-next {
        width: 32px;
        height: 32px;
        background: rgba(0,0,0,0.4);
        border-radius: 50%;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 14px;
        color: #fff;
    }
    .swiper-button-prev { left: -34px!important; }
    .swiper-button-next { right: -34px!important; }

    /*  banner样式 end  */
}
/*-----用户端内容 /end------*/

/*-------通用底部内容 begin------*/
.footer-banner {
    width: 100%;
    height: 820px;
    color: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-banner-content {
    width:  var(--width-main);
    margin: auto;
}
.footer-banner-content p{
    color: #F3F3F3;
    width: 800px;
}

.join-btn {
    margin-top: 76px;
    width: 242px;
    height: 71px;
    background: #173E8F;
    line-height: 71px;
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    color: white;
    border:none;
    outline: none;
}

.join-btn:hover {
    background: #153884;
    cursor: pointer;
}

/*=============轮播通用样式====================*/
.swiper-button-prev img, .swiper-button-next img {
    width: 32px;
    height: 32px;
    display:block;
}
.swiper-button-next img { transform: rotate(180deg); }

/* 小屏（<= 900px）自适应：整张图占满容器，侧边预览取消 */
@media (max-width: 900px) {
    .swiper-build { width: 100%; height: 320px; margin-top:20px; }
    .swiper-build .swiper-slide { width: 100% !important; height: 320px; }
    .swiper-build .slide-text { left: 24px; width: 60%; }
    .swiper-button-prev, .swiper-button-next {
        left: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
    .build-nav { gap: 24px; font-size:15px; margin-bottom:18px; }
}

/* 进一步微调：当鼠标 hover slide 时，两个侧边缩略更暗 */
.swiper-build:hover .swiper-slide-prev,
.swiper-build:hover .swiper-slide-next { filter: brightness(.7); opacity:.85; }

/* 轮播图铺满 slide 大小 */
.swiper-build .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
}

/* 左侧渐变遮罩，保证文字可读 */
.swiper-build .slide-text {
    position: absolute;
    left: 64px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 420px;
    color: #fff;
}
.swiper-build .slide-text h3 { font-size: 30px; margin-bottom: 12px; line-height:1.1; font-weight:700; }
.swiper-build .slide-text .font18 { font-size:18px; margin-bottom:12px; opacity:0.95; }
.swiper-build .slide-text .font14 { font-size:14px; line-height:22px; opacity:0.92; }

/* 渐变遮罩层（放在图片上方但在文字下方） */
.swiper-build .slide-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 56%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* 黑色，10%透明度 */
    z-index: 3;
}
/*================轮播通用样式 end=============== */