
body {
    overflow-x: hidden !important;
    max-width: 100%;
}

.banner {
    height: 580px;
    background: url(../images/szzf/banner.jpg) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* 标题样式 */
.banner .banner-title-gradient {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    display: block;

}

.banner .banner-subtitle {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    margin-top: 12px;
}

.szzf-nav-section {
    position: relative;
    margin-top: -35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.szzf-nav-card {
    width: 100%;
    max-width: 1440px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 10px rgba(159, 164, 175, 0.15);
    display: flex;
    align-items: center;
    padding: 14px 32px;
    gap: 48px;
}

.szzf-tabs {
    display: flex;
    gap: 48px;
}

.szzf-tab {
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    color: #7a8395;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.szzf-tab.active {
    color: #2260ff;
    font-weight: 600;
}

.szzf-consult-btn {
    margin-left: auto;
    background: #2260ff;
    color: #fff;
    padding: 12px 34px;
    border-radius: 999px;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 15px rgba(34, 96, 255, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.szzf-consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 12px rgba(34, 96, 255, 0.2);
    text-decoration: none;
}

.szzf-panels {
    width: 100%;
    max-width: 1450px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-x: hidden;
}

.szzf-panel {
    background: #fff;
    border-radius: 20px;
    padding: 48px 0px 0px 0px;
    color: #1f2743;
    font-size: 16px;
    line-height: 1.8;
    scroll-margin-top: 140px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.szzf-panel p {
    margin-top: 16px;
    text-align: center;
}

.szzf-section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #1b1f2c;
    margin-bottom: 32px;
}

.szzf-section-title span {
    display: inline-block;
    padding: 0 24px;
}

.szzf-product-switch{
    width: 100%;
    margin: 40px 0 0;
    padding:6px ;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(22, 45, 92, 0.05);
    border: 1px solid rgba(8, 23, 71, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
    /* transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; */
}
/* 当有 track 容器时，调整布局 */
.szzf-product-switch.has-track {
    justify-content: flex-start;
    gap: 0;
}

/* 滚动轨道样式 */
.szzf-product-switch-track {
    display: flex;
    gap: 20px;
    width: max-content;
    transition: transform 0.35s ease;
    will-change: transform;
}

.szzf-product-switch-track button {
    flex: 0 0 var(--equipment-button-width, 200px) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: var(--equipment-button-width, 200px);
    max-width: var(--equipment-button-width, 200px);
}

/* 固定状态样式 - 保持紧凑样式 */
.szzf-product-switch.sticky {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    margin: 0;
    padding: 0px 246px;
    background: linear-gradient(360deg, #FFFFFF, #F3F4F7);
    border-radius: 0px;
    border: 1px solid #ebebeb;
}
.szzf-product-switch.shzl.sticky{
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    width: 100%;
}

.szzf-product-switch button {
    flex: 1;
    border: none;
    background: transparent;
    color: #3a3f4c;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    padding: 12px 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

/* 固定状态下的按钮样式 */
.szzf-product-switch.sticky button {
    font-size: 16px;
    position: relative;
}

.szzf-product-switch.sticky button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: rgba(1, 80, 252, 0.7);
    border-radius: 999px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    pointer-events: none; /* 防止伪元素自己占据 hover 区域 */
}

/* 固定状态下激活按钮的样式（蓝线常驻，直到切换到其它按钮） */
.szzf-product-switch.sticky button.active {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.25);
    background: transparent;
    color: rgba(1, 80, 252, 0.7)
}

.szzf-product-switch.sticky button.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* 占位元素样式 */
.szzf-product-switch-placeholder {
    width: 100%;
    visibility: hidden;
}

.szzf-product-switch button.active {
    background: linear-gradient(135deg, #1c65ff, #0f49d8);
    color: #fff;
}

.szzf-product-detail {
    margin: 50px auto 0;
    padding: 0;
    display: none;
    align-items: center;
    gap: 48px;
}

.szzf-product-detail.active {
    display: flex;
}

.szzf-product-detail .detail-text {
    flex: 1;
    color: #1f2743;
}

.szzf-product-detail h3 {
    font-size: 44px;
    margin-bottom: 32px;
    font-weight: 600;
    color: #0d1c3c;
}

.szzf-product-detail p {
    width: 580px;
    margin:0 ;
    font-size: 16px;
    text-align: justify;
    line-height: 32px;
    color: #4f5973;
}

.szzf-product-detail .detail-visual {
    flex: 0 0 340px;
    min-height: 497px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 813px;
    height: 473px;
    border-radius: 24px;
    background:  url(../images/szzf/kp1.png) no-repeat;
    background-size: 100% 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.visual-placeholder:hover {
    transform: scale(1.02);
}
.visual-placeholder.td {
    background:  url(../images/szzf/kp2.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.gx {
    background:  url(../images/szzf/kp3.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.jc {
    background:  url(../images/szzf/kp4.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.tz {
    background:  url(../images/szzf/kp5.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.dt {
    background:  url(../images/szzf/kp6.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.xf {
    background:  url(../images/szzf/shzl1.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.md {
    background:  url(../images/szzf/shzl2.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.zl {
    background:  url(../images/szzf/shzl3.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.zz {
    background:  url(../images/szzf/shzl4.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.dj {
    background:  url(../images/szzf/shzl5.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.qf {
    background:  url(../images/szzf/shzl6.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.ld {
    background:  url(../images/szzf/shzl7.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.yw {
    background:  url(../images/szzf/shzl8.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.xt {
    background:  url(../images/szzf/zhxt1.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.jg {
    background:  url(../images/szzf/zhxt2.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.xxh {
    background:  url(../images/szzf/zhxt3.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.ybt {
    background:  url(../images/szzf/zhxt4.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.ggzy {
    background:  url(../images/szzf/zhxt5.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.jsc {
    background:  url(../images/szzf/zhxt6.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.szxc {
    background:  url(../images/szzf/cxzz1.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.zhsq {
    background:  url(../images/szzf/cxzz2.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.zhwl {
    background:  url(../images/szzf/cxzz3.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.smx {
    background:  url(../images/szzf/cxzz4.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.ygf {
    background:  url(../images/szzf/cxzz5.png) no-repeat;
    background-size: 100% 100%;
}
.visual-placeholder.zhjg {
    background:  url(../images/szzf/cxzz6.png) no-repeat;
    background-size: 100% 100%;
}
.szzf-benefit-bg {
    width: 100%;
    margin:100px 0 0 0;
    background:  linear-gradient(180deg, rgba(149, 188, 255, 0.1) 0%, rgba(149, 188, 255, 0.4) 100%);
    padding: 40px 5vw;
    display: none;
}

.szzf-benefit-bg.active {
    display: block;
}

.szzf-benefit-cards {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px);
    gap: 24px;
    justify-content: center;
}

/* 当有四张卡片时的样式（有第4个卡片但没有第5个卡片） */
.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) {
    grid-template-columns: repeat(4, 342px);
}

.benefit-card {
    position: relative;
    border-radius: 12px;
    width: 220px;
    height: 140px;
    margin-top: 0;
    padding: 20px 16px;
    color: #3f3e3e;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 18px 36px rgba(11, 24, 63, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease, height 220ms ease, margin-top 220ms ease, background 220ms ease;
    background-color: #fff;
    --bg-image: none;
}

/* 当有四张卡片时，卡片宽度为342px */
.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card {
    width: 342px;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    border-radius: inherit;
    background-image: var(--bg-image);
    background-size: 107% 112%;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.25s ease;
    z-index: 0;
}

/* 当有四张卡片时，::before高度保持140px */
.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card::before {
    height: 140px;
}


.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 24, 63, 0.18);
    height: 250px;
    margin-top: -110px;
    background-image: linear-gradient(157deg, #90BEF6 0%, #567FED 86%), linear-gradient(157deg, #C0DCFF 0%, #799DFF 86%);
}

/* 当有四张卡片时，hover状态高度为180px */
.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card:hover {
    height: 180px;
    margin-top: -40px;
}

.benefit-card:hover::before {
    opacity: 0;
}

.benefit-card:hover .benefit-info {
    opacity: 0;
    transform: translateY(-8px);
}

.benefit-card:hover .benefit-hover-content {
    opacity: 1;
    transform: translateY(0);
}



.benefit-info {
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.benefit-info h4 {
    color: #032763;
    font-size: 18px;
    line-height: 30px;
    align-items: center;
    font-weight: 600;
}

.benefit-hover-content {
    position: absolute;
    inset: 0;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    text-shadow: 0 4px 12px rgba(6, 26, 76, 0.25);
}

.benefit-hover-content h4 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    margin: 0;
}

.benefit-hover-content p {
    font-size: 14px;
    line-height: 28px;
    margin: 0;
    text-align: justify;
}

.benefit-card-bg1 {
    --bg-image: url(../images/szzf/1.png);
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 24, 63, 0.18);
    height: 250px;
    margin-top: -110px;
    background-image: linear-gradient(157deg, #90BEF6 0%, #567FED 86%), linear-gradient(157deg, #C0DCFF 0%, #799DFF 86%);
}

/* 当有四张卡片时，激活状态高度为180px */
.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card-bg1 {
    height: 180px;
    margin-top: -40px;
}

.benefit-card-bg1::before {
    opacity: 0;
}

.benefit-card-bg1 .benefit-info {
    opacity: 0;
    transform: translateY(-8px);
}

.benefit-card-bg1 .benefit-hover-content {
    opacity: 1;
    transform: translateY(0);
}


.benefit-card-bg2 { --bg-image: url(../images/szzf/2.png); }
.benefit-card-bg3 { --bg-image: url(../images/szzf/3.png); }
.benefit-card-bg4 { --bg-image: url(../images/szzf/4.png); }
.benefit-card-bg5 { --bg-image: url(../images/szzf/5.png); }
.benefit-card-bg6 { --bg-image: url(../images/szzf/6.png); }

/* 当有四张卡片时，未激活状态的背景图片改为7-10.png */
.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card-bg1 {
    --bg-image: url(../images/szzf/7.png);
}

.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card-bg2 {
    --bg-image: url(../images/szzf/8.png);
}

.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card-bg3 {
    --bg-image: url(../images/szzf/9.png);
}

.szzf-benefit-cards:has(.benefit-card:nth-child(4)):not(:has(.benefit-card:nth-child(5))) .benefit-card-bg4 {
    --bg-image: url(../images/szzf/10.png);
}

.szzf-marquee-section {
    padding: 30px 0 60px;
    background: transparent;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.marquee-section-title span {
    font-size: 32px;
}

.szzf-marquee {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 40px 20px;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.marquee-row {
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    --marquee-distance: -50%;
    --marquee-duration: 300s;
}

.marquee-row-right {
    --marquee-distance: 50%;
    margin-top: 10px;
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.marquee-row-left .marquee-track {
    animation: marquee-left var(--marquee-duration, 100s) linear infinite;
}

.marquee-row-right .marquee-track {
    animation: marquee-right var(--marquee-duration, 100s) linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: 260px;
    padding: 16px 32px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(173, 191, 231, 0.2), rgba(23, 89, 231, 0.3));
    box-shadow: 0 8px 20px rgba(73, 112, 191, 0.15);
    color: #1d2a55;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

@keyframes marquee-right {
    0% { transform: translateX(-33.333%); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .szzf-product-switch {
        flex-wrap: wrap;
        border-radius: 28px;
    }

    .szzf-product-switch button {
        flex: 1 1 45%;
        padding: 12px 0;
    }

    .szzf-product-detail {
        flex-direction: column;
        padding: 40px 28px;
    }

    .szzf-product-detail .detail-visual {
        width: 100%;
    }

    .szzf-benefit-cards {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        padding: 0 20px 40px;
    }

    .szzf-marquee {
        padding: 0 20px 20px;
    }

    .marquee-item {
        min-width: 200px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .szzf-benefit-cards {
        grid-template-columns: 1fr;
    }
}

/* 轮播图样式 */
.szzf-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 80px;
    overflow: visible;
}

#szzfCarousel {
    position: relative;
    width: 100%;
    overflow: visible;
    height: 348px;
    padding: 0;
    z-index: 10;
}

#szzfCarousel .swiper-wrapper{
    display: flex;
    align-items: center;
}

#szzfCarousel .swiper-slide {
    width: calc(100% - 80px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.szzf-carousel-slide {
    width: 100%;
    min-width: 1200px;
    display: flex;
    gap: 0;
    opacity: 0.5;
    transform: scale(1);
    transition: opacity 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    border: 1px solid rgba(228, 228, 228, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(17, 51, 109, 0.08);
    height: 348px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.szzf-carousel-slide.active,
#szzfCarousel .swiper-slide-active .szzf-carousel-slide{
    opacity: 1 !important;
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(17, 51, 109, 0.18);

}

.szzf-carousel-left {
    flex: 0 0 620px;
    position: relative;
    overflow: hidden;
    height: 348px;
}

.szzf-carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.szzf-carousel-right {
    flex: 0 0 580px;
    background: #fff;
    padding: 16px 30px 36px 30px;
    display: flex;
    flex-direction: column;
}

.szzf-right-title {
    font-size: 30px;
    font-weight: 600;
    color: #1b1f2c;
    margin-bottom: 24px;
}

.szzf-right-divider {
    width: 30px;
    height: 4px;
    background: #2260ff;
    margin-bottom: 10px;
    border-radius: 2px;
}

.szzf-right-desc {
    font-size: 14px;
    line-height: 28px;
    color: rgba(0, 0, 0, 0.40);
    margin: 0 0 40px 0;
    text-align:justify !important;
    flex: 1;
}

.szzf-right-link {
    font-size: 14px;
    color: #0052D9;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.szzf-right-link:hover {
    gap: 12px;
}

.szzf-right-link span {
    font-size: 18px;
}

.szzf-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #2260ff;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 96, 255, 0.3);
}

.szzf-carousel-arrow:hover {
    background: #1c52e0;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(34, 96, 255, 0.4);
}

.szzf-carousel-prev {
    left: -20px;
}

.szzf-carousel-next {
    right: -20px;
}

.szzf-carousel-arrow svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1200px) {
    .szzf-carousel-container {
        padding: 0 60px;
    }
    
    #szzfCarousel .swiper-slide {
        width: calc(100% - 80px);
    }
    .szzf-carousel-left {
        flex: 0 0 50%;
        min-height: 500px;
    }

    .szzf-carousel-right {
        flex: 0 0 50%;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .szzf-carousel-container {
        padding: 0 50px;
    }
    
    #szzfCarousel {
        height: auto;
    }
    
    #szzfCarousel .swiper-slide {
        width: calc(100% - 60px);
    }
    
    .szzf-carousel-slide {
        flex-direction: column;
        height: auto;
        min-height: 500px;
    }
    
    .szzf-carousel-left {
        flex: 1;
        min-height: 300px;
        height: 300px;
    }
    
    .szzf-carousel-right {
        flex: 1;
        padding: 40px 30px;
    }
    
    .szzf-right-title {
        font-size: 24px;
    }
    
    .szzf-carousel-prev {
        left: -10px;
    }
    
    .szzf-carousel-next {
        right: -10px;
    }
}