/* 轮播图及页面样式 */
body { margin: 0; padding: 0; }
.floor { width: 100%; scroll-margin-top: 20px; }
.swiper-container {
    width: clamp(60%, 1200px, 75%);
    max-width: 1920px;
    margin: 0 auto 40px;
    aspect-ratio: 16/9 !important;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}
.swiper-wrapper { display: flex; transition: transform 0.5s ease; height: 100%; }
.swiper-slide { min-width: 100%; height: 100%; position: relative; }
.swiper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: default; /* 提示可点击 */
}
.slide-text {
    position: absolute;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 80%;
    z-index: 5;
}
.slide-text h2 {
    font-size: clamp(1rem, 2.5vw, 38px);
    margin: 0 0 8px 0;
    font-weight: bold;
}
.slide-text p {
    font-size: clamp(0.875rem, 1.2vw, 20px);
    margin: 0;
    opacity: 0.9;
}
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.swiper-pagination-bullet.active { background: white; }
.swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
}
.swiper-button-prev { left: 20px; }
.swiper-button-next { right: 20px; }

/* 响应式样式 - 在大屏上文字在图片上，在移动端文字在图片下方 */
@media (max-width: 992px) {
    .swiper-container {
        aspect-ratio: auto !important;
        height: auto;
    }
    .swiper-slide {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .swiper-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
    .slide-text {
        position: relative;
        left: 0;
        bottom: 0;
        transform: none;
        color: #333;
        text-shadow: none;
        text-align: center;
        max-width: 100%;
        padding: 15px 10px;
        background-color: #f8f9fa;
    }
    .slide-text h2 {
        font-size: 1.2rem;
        margin: 0 0 8px 0;
        font-weight: bold;
    }
    .slide-text p {
        font-size: 0.9rem;
        margin: 0;
        opacity: 0.9;
    }
    .swiper-pagination {
        bottom: 10px;
    }
}

/* 产品卡片区域样式 */
.content {
    width: 80%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 0 50px;
}
.content-top p:first-child {
    font-size: 28px;
    color: #0566c5;
    font-weight: bold;
    margin-bottom: 0;
}
.content-top div {
    width: 50px;
    height: 4px;
    background-color: #00cc88;
    margin-bottom: 20px;
}
.content-top p:not(:first-child) {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    text-indent: 2em;
}
.content-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
}
.content-box-item {
    flex: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    cursor: pointer; /* 提示可点击 */
}
.topimg { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.content-box-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.content-box-item > div { padding: 10px; }
.content-box-item h4 { font-size: 22px; margin-bottom: 10px; }
.content-box-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* 行业解决方案区域样式 */
.contentS {
    width: 80%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 0 50px;
}
.contentS-top p {
    font-size: 28px;
    color: #0566c5;
    font-weight: bold;
    margin-bottom: 0;
}
.contentS-top div {
    width: 50px;
    height: 4px;
    background-color: #00cc88;
    margin-bottom: 20px;
}
.contentS-box {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
}
.contentS-box-item {
    flex: 1;
    padding: 20px;
    border-left: 4px solid #0566c5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s ease;
}

/* 统一小图标样式 */
.product-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
    margin-top: 10px;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .content-box { flex-wrap: wrap; }
    .content-box-item { width: 45%; }
}
@media (max-width: 992px) {
    .content-box, .contentS-box { flex-direction: column; }
    .content-box-item { width: 100%; }
}