/* 首页特定样式 */

/* 主横幅 */
.hero-banner {
    height: 600px;
    margin-top: 70px;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.hero-swiper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 15px 0 50px;
    color: #fff;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.hero-swiper .swiper-pagination {
    bottom: 30px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
}

/* 产品介绍 */
.products-section {
    background-color: var(--light-color);
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
}

.product-icon img {
    width: 32px;
    height: 32px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-card p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* 解决方案 */
.solution-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-image {
    height: 200px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-content {
    padding: 25px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.solution-content p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* 客户案例 */
.cases-section {
    background-color: var(--light-color);
}

.cases-swiper {
    padding-bottom: 50px;
}

.case-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-logo {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.case-logo img {
    max-height: 100%;
    max-width: 100%;
}

.case-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.case-card p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.cases-swiper .swiper-pagination {
    bottom: 0;
}

.cases-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 102, 204, 0.3);
    opacity: 1;
}

.cases-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* 合作伙伴 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 响应式样式 */
@media (max-width: 991px) {
    .hero-banner {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-banner {
        height: 400px;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 0 15px;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-logo {
        height: 60px;
    }
}

@media (max-width: 575px) {
    .hero-banner {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
}