:root {
    --primary: #0052d9;
    --gray: #afb8bf;
    --font36: 3.6rem;
    --font32: 3.2rem;
    --font28: 2.8rem;
    --font20: 2rem;
    --spacing: 4rem;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

/* 隐藏滚动条但保持滚动功能 */
body {
    scrollbar-width: none !important;
    overflow-y: scroll;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* 确保所有元素都没有滚动条 */
*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

html {
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.container {
    width: 100%;
    margin: 0 auto;

}


/* ========== 全屏区块：强制 100vh ========== */
.slide-banner,
.slide-product,
.slide-advantage,
.slide-case {
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
}

/* ========== 非全屏区块：100vh高度，内容靠下对齐，无缝衔接 ========== */
.slide-partner,
.slide-footer {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-top: 0;
}

.slide-partner .container,
.slide-footer .container {
    height: auto;
    padding: 4rem 0;
    width: 100%;
    margin-bottom: 0;
    margin-top: 0;
}

/* 背景统一，避免断层 */
.slide-partner {
    background: #f5f7fa;
}

.slide-footer {
    background: #18233b;
}

/* ========== 全屏滚动容器样式 ========== */
.fullpage-container {
    width: 100%;
    position: relative;
}

.fullpage-wrapper {
    width: 100%;
}

.fullpage-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

/* 全屏 section 保持 100vh */
.fullpage-section.slide-banner,
.fullpage-section.slide-product,
.fullpage-section.slide-advantage,
.fullpage-section.slide-case {
    height: 100vh;
    min-height: 100vh;
}

/* 产品中心 section 背景过渡效果 */
.fullpage-section.slide-product {
    position: relative;
    transition: background 1s ease-in-out;
}

/* 产品中心背景色覆盖层，用于平滑的颜色过渡 */
.fullpage-section.slide-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.fullpage-section.slide-product.color-transition::before {
    opacity: 1;
}

.fullpage-section.slide-product .container {
    position: relative;
    z-index: 1;
}

/* 合作伙伴和页脚合并 section 使用自然高度，高度自适应 */
.fullpage-section.slide-partner-footer {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    justify-content: flex-start;
    align-items: stretch;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    background: url('../img/sd/home_slices/partners.png') no-repeat center/cover;
    background-size: cover;
    background-position: center;
}

.fullpage-section .container {
    width: 100%;
    max-width: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 合作伙伴和页脚合并后的容器正常排列 */
.fullpage-section.slide-partner-footer .container {
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 0;
}

/* 合作伙伴标题和图片间距 60px */
.fullpage-section.slide-partner-footer .section-header {
    margin-bottom: 60px;
    padding-top: 2rem;
}

/* 右侧导航点 */
.fullpage-pagination {
    position: fixed;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 4rem 0;
    border-right: 0.5rem solid #52caf8;
}

.fullpage-pagination .pagination-bullet {
    width: 4.8rem;
    height: 4.7rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    border-radius: 0;
    opacity: 1;
    transition: all 0.3s ease, background-image 0.3s ease;
    cursor: pointer;
    position: relative;
    display: block;
}

.fullpage-pagination .pagination-bullet:hover {
    transform: scale(1.1);
}

.fullpage-pagination .pagination-bullet.active {
    transform: scale(1.1);
    box-shadow: 0 0.8rem 1.6rem rgba(82, 202, 248, 0.3);
    background-color: #52caf8;
    border-radius: 0.5rem 0 0 0.5rem;
}

/* 导航点标签提示（可选） */
.fullpage-pagination .pagination-bullet::after {
    content: attr(data-label);
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fullpage-pagination .pagination-bullet:hover::after {
    opacity: 1;
}

/* ========== Banner 内部轮播（保持不变） ========== */
.slide-banner {
    position: relative;
    overflow: hidden;
}
.slide-banner .mobile {
    display: none;
}
@media(max-width:768px) {
    .slide-banner .pc {
        display: none;
    }
    .slide-banner .mobile {
        display: block;
    }
}
.banner-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.banner-swiper .swiper-wrapper {
    height: 100%;
}

.banner-swiper .swiper-slide {
    position: relative;
    height: 100%;
    display: block;
    width: 100%;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.banner-pagination {
    display: flex;
    position: absolute;
    bottom: 4.7rem;
    left: 26rem;
    z-index: 2;
}

.banner-pagination .swiper-pagination-bullet {
    width: 2rem;
    height: 2rem;
    background: url('../img/sd/home_slices/normal.png') no-repeat center;
    background-size: cover;
    border-radius: 0;
    opacity: 1;
    margin: 0 1rem;
}

.banner-pagination .swiper-pagination-bullet.active {
    background: url('../img/sd/home_slices/press.png') no-repeat center;
    background-size: cover;
}

/* ========== 产品中心（保持不变） ========== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing);
}

.section-header .en {
    font-size: var(--font32);
    color: var(--gray);
    font-weight: bold;
    display: block;
}

.section-header .cn {
    font-size: var(--font36);
    color: #000;
    font-weight: bold;
    margin: 0;
}

/* 移动端适配：缩小section-header字号 */
@media(max-width:768px) {

    /* .section-header .en {
        font-size: 2.4rem !important;
    }
    
    .section-header .cn {
        font-size: 2.8rem !important;
    } */
    
    /* 取消fullpage滚动效果，设置自适应高度 */
    .slide-product,
    .slide-advantage,
    .slide-case {
        height: auto !important;
        max-height: none !important;
        min-height: auto !important;
    }
    
    /* 移动端banner设置为100%高度 */
    .slide-banner {
        height: 100vh !important;
        max-height: 100vh !important;
        min-height: 100vh !important;
    }
    
    /* 隐藏fullpage分页 */
    .fullpage-pagination {
        display: none !important;
    }
    .banner-pagination .swiper-pagination-bullet {
        width: 1.6rem;
        height: 1.6rem;
    }
    /* 移动端缩小feature-item字号 */
    .card-content .feature-item {
        font-size: 1.6rem !important;
        line-height: 2.8rem !important;
    }
    
    /* 移动端调整feature-item图片大小以保持比例 */
    .card-content .feature-item img {
        width: 1.3rem !important;
        height: 1.3rem !important;
    }
    
    /* 仅为移动端slide-product添加左右内边距 */
    .fullpage-section.slide-product {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    
    /* 为移动端slide-advantage添加左右边距 */
    .fullpage-section.slide-advantage {
        box-sizing: border-box !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.section-header .line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.section-header .line img {
    margin: 0 1.3rem;
}

.product-gallery {
    width: 100%;
    overflow: hidden;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2.2rem;
    width: 140rem;
    margin: 0 auto;
}

.product-row {
    display: flex;
    gap: 2.2rem;
    width: 140rem;
    margin: 0 auto;
}

.card {
    width: 100%;
    height: 32.5rem;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.15);
}

.card.big {
    width: 100%;
}

.card-large {
    grid-column: span 2;
}

.card {
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.card-content {
    position: absolute;
    inset: 0;
    padding: 4.5rem 4rem 3rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-content .title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.card-content .features-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-content .feature-item {
    font-size: 2rem;
    line-height: 3.8rem;
}
/* .card-content .feature-item a{
    display: flex;
    align-items: center;
} */
.card-content .feature-item img {
    width: 1.5rem;
    height: 1.5rem;
}

.card-content .features {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-content .features img {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
}

.card-content .features span {
    font-size: 1.6rem;
}

.section-header .zz-logo {
    width: 4rem;
    height: 4rem;
    margin-left: 1rem;
    object-fit: contain;
}

/* ========== 行业优势（保持不变） ========== */
.slide-advantage {
    width: 100vw;
    display: flex;
    align-items: flex-start;
    /* background: url('../img/sd/home_slices/advantage_bg.png') no-repeat center/cover; */
}

.advantage-list {
    display: flex;
    width: 100%;
    height: 66rem;
}
.advantage-list a { 
    display: block;
    flex: 1;
}


.advantage-list .item {
    flex: 1;
    padding-top: 37.3rem;
    position: relative;
    color: #fff;
}

.advantage-list .item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.advantage-list .item h3 {
    font-size: 2.8rem;
    margin: 0 auto 1rem;
    width: 80%;
}

.advantage-list .item .text {
    font-size: 2rem;
    line-height: 3.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
     width: 80%;
     margin: 0 auto;
}
.advantage-list .item .text span {
        font-size: 2rem !important;
    line-height: 3.8rem !important;
}


.rich-box{
  
}

/* ========== 成功案例（保持不变） ========== */
.case-content {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.case-left {
    width: 46.2rem;
    padding-right: 6.8rem;
}

.case-left h3 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.case-left h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5.5rem;
    height: 0.6rem;
    background: #007bff;
    border-radius: 0.3rem;
}

.case-left .text {
    font-size: 2rem;
    line-height: 4.2rem;
    color: #191919;
}

.case-right {
    width: 94rem;
}

.case-right img {
    width: 100%;
    height: 54.7rem;
    object-fit: cover;
}

/* ========== 合作伙伴（自然高度，无缝衔接） ========== */
.partner-swiper {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 60px;
    padding: 0 64px;
    box-sizing: border-box;
    overflow: hidden;
}

.partner-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.partner-swiper.centered .swiper-wrapper {
    justify-content: center !important;
    margin: 0 auto !important;
}

.partner-swiper .swiper-slide {
    width: 211px;
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.3s ease;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.partner-item:hover {
    transform: scale(1.1);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    width: 211px;
    height: 77px;
    object-fit: contain;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* ========== 响应式（保持不变） ========== */
/* @media (max-width: 1440px) {
    .container {
        width: 100%;
        max-width: 120rem;
    }
} */

/* @media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        width: 100%;
        gap: 2rem;
    }

    .card-large {
        grid-column: span 2;
    }

    .product-row {
        flex-direction: column;
        align-items: center;
    }

    .card,
    .card.big {
        width: 100%;
        max-width: 50rem;
        height: auto;
    }

    .advantage-list {
        flex-direction: column;
        height: auto !important;
        max-height: none !important;
        min-height: auto !important;
    }

    .case-content {
        flex-direction: column;
    }

    .case-left {
        width: 100%;
    }
    
    .case-right {
        width: 100%;
    }
} */

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: 100%;
        gap: 2rem;
    }

    .card-large {
        grid-column: span 1;
    }

    /* 移动端为.case-left设置左右20px的间距 */
    .case-left {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .case-right {
        padding: 0;
    }

    /* 移动端为case-right图片设置16:9宽高比 */
    .case-right img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
    }

    .card-content .title {
        font-size: 2rem;
    }

    .advantage-list .item {
        width: 100% !important;
        height: 46.2rem !important; /* 以设计稿10px=1rem为基准，462px=46.2rem */
        padding-top: 30rem !important;
    }
    
    .advantage-list .item h3 {
        font-size: 2rem;
    }
    
    /* 为移动端advantage-list item文本设置适当限制 */
    .advantage-list .item .text {
        font-size: 1.6rem !important;
        line-height: 2.8rem !important;
        margin-bottom: 1rem !important;
        overflow: hidden !important;
    }
    
    /* 保持文本内span元素样式一致 */
    .advantage-list .item .text span {
        font-size: 1.6rem !important;
        line-height: 2.8rem !important;
    }

    .case-left h3 {
        font-size: 2rem;
    }

    /* 移动端调整case-left文本字号和行高 */
    .case-left .text {
        font-size: 1.6rem !important;
        line-height: 2.8rem !important;
    }

    .partner-item {
        width: 45%;
        margin-bottom: 2rem;
        border: none !important;
        outline: none !important;
    }
}

@media (max-width: 480px) {
    .partner-item {
        width: 90%;
        border: none !important;
        outline: none !important;
    }
}

/* ========== 动画性能优化（保持不变） ========== */
.animated {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 10rem;
    perspective: 10rem;
}

.banner-swiper .swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 4.7rem !important;
    left: 26rem !important;
}