/* 客户案例页样式 */

/* Banner */
.banner {
    background: url(../static/anli/top.png) no-repeat center;
    background-size: cover;
    padding: 80px 20px 60px;
    color: #333;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: left;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.9;
    text-align: left;
}

/* 行业选择 */
.industry-tabs {
    padding: 50px 20px 30px;
    background: #fff;
}

.industry-tabs .container {
    width: 100%;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    color: var(--text-primary);
    font-weight: 700;
}

.industry-cards {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    background: #f5f5f5;
}

.industry-card {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 60px;
    border-radius: 8px;
    
}

.industry-card img {
    width: 180px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.industry-card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.industry-card:hover,
.industry-card.active {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
    background-color: #fff;
}

/* 案例详情 */
.case-detail {
    display: none;
    padding: 80px 20px;
    background: white;
}

.case-detail.active {
    display: block;
}

.case-title {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.case-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.case-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.case-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-primary);
}

.case-content h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 40px 0 20px;
    font-weight: 700;
}

.case-content h4 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 30px 0 15px;
    font-weight: 600;
}

.case-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.case-content ul li {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.8;
}

.quote {
    background: #f8fbff;
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* 合作伙伴 */
.partners {
    padding: 80px 20px;
    background: #f8fbff;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-item {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    img {
        width: 80px;
        height: 50px;
        object-fit: contain;
    }
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(88, 129, 219, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .case-title {
        font-size: 28px;
    }

    .case-content h3 {
        font-size: 24px;
    }

    .case-content h4 {
        font-size: 20px;
    }

    .tab-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .case-detail {
        padding: 60px 20px;
    }
}
