/* 基础布局重置 */
html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* 禁用默认滚动 */
    width: 100%;
    height: 100%;
}

/* 滚动容器 */
.screen-container {
    position: relative;
    /*height: calc(100vh - var(--header-height));*/
    /* 修正高度计算 */
    /*margin-top: var(--header-height);*/
    height: 100vh;
    /* 修正高度计算 */
    padding-top: 60px;
    overflow-y: auto;
    /* scroll-behavior: smooth; */
    scroll-snap-type: y mandatory;

    overscroll-behavior: contain;
}

/* 单屏通用样式 */
.screen-section {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* 增加强制对齐 */
}


/* 轮播容器 */


.swiper-slide {
    position: relative;
    background: #f5f7fa;
    /* 备用背景色 */
}


.banner-inner {
    position: absolute;
    top: 23.06vh;
    /* 调整为相对于顶部的高度 */
    left: 15%;
    /* transform: translateY(-50%); */
    color: #fff;

    z-index: 2;
}
.banner-image {
    width: 100%;
}

.banner-inner h2 {
    font-size: 60px;
    color: #333333;
    font-style: normal;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.active .banner-inner h2 {
    opacity: 1;
    transform: translateY(0);
}

.banner-inner .text {
    font-size: 30px;
    color: #666666;
}

.active .banner-inner-item {
    /* 增加激活类 */
    opacity: 1;
    transform: translateX(0);
}


.banner-icon{
    position: absolute;
    right: 0;
    top: 100px;
    width: 838px;
    height: 638px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.active .banner-icon {
    opacity: 1;
    transform: translateY(0);
}

.banner-but-box {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.banner-inner-item {
    font-size: 26px;
    color: #FFFFFF;
    background: #127EE0;
    border-radius: 27px;
    padding: 15px 35px;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.active .banner-inner-item {
    opacity: 1;
    transform: translateX(0);
}

.active .banner-inner-item:nth-child(1) {
    transition-delay: 0.2s;
}

.active .banner-inner-item:nth-child(2) {
    transition-delay: 0.4s;
}

.active .banner-inner-item:nth-child(3) {
    transition-delay: 0.6s;
}

/**设备接入*/
.product-center {
    background: #fff;
}

.product-center-container {
    padding-top: 10.37vh;
    text-align: center;
}

.center-title {
    font-weight: bold;
    font-size: 2.5vw;
    color: #011020;
    line-height: normal;
}

.center-desc {
    color: #333333;
    font-size: 1.25vw;
}


.center-list {
    width: 71.35vw;
    margin: 0 auto;
    padding: 40px 0;
}

/* 通用行样式 */
.row-first,
.row-second {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* 产品项基础样式 */
.product-item {
    position: relative;
    height: 26.2vh;
    overflow: hidden;
    border-radius: 10px;
    overflow: hidden;
    /* 确保图片放大不溢出 */
    transform: translateZ(0);
    /* 触发GPU加速 */

    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;

}


/* 尺寸配置 */
.row-first .product-item:not(.wide) {
    width: 20.15vw;
}

.row-first .wide {
    width: 28.90vw;
}

.row-second .large {
    width: 41.40vw;
}

.row-second .wide {
    width: 28.90vw;
}

/* 图片填充 */
.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.4s ease;
    will-change: transform;
}

.product-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.1);
}

/* 产品标签 */
.product-label {
    position: absolute;
    top: 24px;
    left: 29px;
    font-size: 1.66vw;

}


/* 为不同位置的元素分配动画 */
.row-first .product-item:nth-child(1) {
    transform: translateX(-100px) rotateZ(-5deg);
}

.row-first .product-item:nth-child(2) {
    transform: translateY(80px) scale(0.8);
}

.row-first .product-item:nth-child(3) {
    transform: translateX(100px) rotateZ(5deg);
}

.row-second .product-item:nth-child(1) {
    transform: translateX(-150px) skewX(10deg);
}

.row-second .product-item:nth-child(2) {
    transform: translateX(150px) skewX(-10deg);
}

/* 激活动画 */
.screen-section.active .product-item {
    opacity: 1;
    transform: none;
}

/* 延迟设置 */
.screen-section.active .row-first .product-item:nth-child(1) {
    transition-delay: 0.2s;
}

.screen-section.active .row-first .product-item:nth-child(2) {
    transition-delay: 0.4s;
}

.screen-section.active .row-first .product-item:nth-child(3) {
    transition-delay: 0.6s;
}

.screen-section.active .row-second .product-item:nth-child(1) {
    transition-delay: 0.8s;
}

.screen-section.active .row-second .product-item:nth-child(2) {
    transition-delay: 1s;
}

/* 性能优化 */
.product-center {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/*平台功能*/

.plate-center-container {
     padding-top: 10vh;
    text-align: center;
}

.functios-list {
    width: 1446px;
    margin: 20px auto;
    background: #fff;
    position: relative;
    display: flex;

    align-items: flex-end;
    /* min-height: 800px; */
}

/* 功能项基础样式 */
.function-item {
    width: 308px;
    height: 630px;
    border: 1px solid #eee;
    /* transition: all 0.3s; */
    cursor: pointer;
    background: #fff;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.08); */
}

/* 常规状态布局 */
.normal-state {
    padding-top: 55px;
    text-align: center;
}

.func-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 32px;
}

.func-title {
    font-weight: 500;
    font-size: 28px;
    color: #000000;
    line-height: 27px;
    margin-bottom: 22px;
}

.func-desc {
    height: 61px;


}

.func-desc p {
    font-weight: 400;
    font-size: 18px;
    color: #AAAAAA;
    line-height: 20px;

}

.func-points li {
    font-weight: 500;
    font-size: 24px;
    color: #000000;
    margin-top: 41px;
    line-height: 23px;
}

/* 激活状态样式 */
.function-item.active {
    width: 529px;
    height: 713px;
    z-index: 2;
    border-color: #127EE0;
}

.functios-list .active-state {
    display: none;
}

.functios-list .active .active-state {
    display: block;
}

.functios-list .active .normal-state {
    display: none;
}

/* 激活状态细节 */
.active-header {
    height: 147px;
    background: #127EE0;
    padding: 32px 58px 0 55px;
    color: white;
    box-sizing: border-box;
    text-align: left;
}

.active-header h3 {
    font-weight: 500;
    font-size: 28px;
    color: #FFFFFF;
    line-height: 27px;
}

.active-header p {
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 19px;
    margin-top: 13px;
}

.active-content {
    padding: 40px 45px;
}

.detail-item {
    display: flex;
    /* align-items: center; */
    margin-bottom: 25px;
}

.detail-item img {
    width: 75px;
    height: 75px;
    margin-right: 14px;
}

.detail-text {
    text-align: left;
    padding-top: 8px;
}

.detail-text h4 {
    font-weight: 500;
    font-size: 24px;
    color: #000000;
    line-height: 23px;
}

.detail-text p {
    font-weight: 400;
    font-size: 18px;
    color: #AAAAAA;
    line-height: 19px;
    margin-top: 8px;
}

/* 布局定位 */
/* .function-item:nth-child(1) { left: 0; top: 0; }
.function-item:nth-child(2) { left: 338px; top: 40px; }
.function-item:nth-child(3) { left: 676px; top: 80px; }
.function-item:nth-child(4) { left: 1014px; top: 120px; } */

/* 悬停效果 */
/* .function-item:hover:not(.active) {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
} */


/*应用端口 */

.application-container {
    padding-top: 10.37vh;
    text-align: center;
}


.application-list {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* 控制间距 */
    /* padding: 40px 0; */
    max-width: 1426px;
    margin: 100px auto;
}

.application-item {
    flex: 1;
    text-align: center;
    transition: transform 0.3s;
    padding-top: 40px;
}

.application-item img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center bottom; /* 从底部中心放大 */
}

.app-name {
    display: block;
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* 悬停效果 */
/* .application-item:hover {
    transform: translateY(-8px);
} */
.application-item:hover img {
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.15); */
    transform: scale(3); /* 放大比例调整为15% */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* 启用阴影 */
}

/* 新增悬停动画 */
@keyframes float-up {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.2) translateY(-10px);
    }
    100% {
        transform: scale(1.15) translateY(-8px);
    }
}

.application-item:hover img {
    animation: float-up 0.4s ease-out forwards;
}

.application-item {
    overflow: hidden;
    border-radius: 8px; /* 启用圆角 */
}


/*系统部署*/
.deployment-container {
    padding-top: 10.37vh;
    text-align: center;
}


.deployment-list {
    width: 1425px;
    height: 485px;
    margin: 80px auto;

}

.deployment-list img {
    width: 100%;
}

/*系统优势*/
.advantage-container {
    padding-top: 10.37vh;
    text-align: center;
}

.advantage-list {
    display: flex;
    justify-content: space-between;

    padding: 40px 0;
    max-width: 1248px;
    margin: 0 auto;
}

.advantage-item {
    position: relative;
    width: 250px;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

/* 激活动画 */
.screen-section.active .advantage-item {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟动画 */
.screen-section.active .advantage-item:nth-child(1) {
    transition-delay: 0.2s;
}

.screen-section.active .advantage-item:nth-child(2) {
    transition-delay: 0.4s;
}

.screen-section.active .advantage-item:nth-child(3) {
    transition-delay: 0.6s;
}

.advantage-item img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    display: block;
    margin-bottom: 25px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.advantage-item:hover img {
    transform: scale(1.05) rotateZ(-2deg);
}

.advantage-desc {
    text-align: center;
    font-weight: 400;
    font-size: 24px;
    color: #333333;
    /* padding: 0 15px; */
    position: relative;

    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}

/* 性能优化 */
.advantage-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: translateZ(0);
}



