/* 案例库详情页专属样式 */

.cases-library {
    padding-top: 0;
}

/* 案例库Hero区块 */
.library-hero {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.library-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
}

.library-hero .subtitle {
    font-size: 24px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.library-hero .lead {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* 案例详情区块 */
.case-detail {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.case-detail:last-of-type {
    border-bottom: none;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.case-industry-tag {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.case-header h2 {
    font-size: 32px;
    color: #333;
    margin: 0;
}

/* 案例内容网格 */
.case-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.case-main h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2ECC71;
    display: inline-block;
}

/* 问题表格 */
.problem-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.problem-table thead {
    background: #f8f9fa;
}

.problem-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #2ECC71;
}

.problem-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.problem-table tbody tr:hover {
    background: #f8f9fa;
}

/* 解决方案亮点 */
.solution-highlights {
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
}

.highlight-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: #2ECC71;
    margin-bottom: 10px;
    font-size: 18px;
}

.highlight-content p {
    color: #555;
    line-height: 1.6;
}

/* 结果表格 */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.results-table thead {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
}

.results-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.results-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.results-table tbody tr:hover {
    background: #f8f9fa;
}

.results-table .positive {
    color: #2ECC71;
    font-weight: bold;
}

.results-table .highlight {
    background: #e8f5e9;
    padding: 5px 10px;
    border-radius: 4px;
}

/* 客户证言 */
.testimonial-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #2ECC71;
    margin-top: 30px;
}

.testimonial-box h4 {
    color: #2ECC71;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-box blockquote {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 15px 0;
    font-style: italic;
}

.testimonial-box cite {
    color: #666;
    font-size: 14px;
}

/* 案例侧边栏 */
.case-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-meta-card,
.case-cta-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.case-meta-card h4,
.case-cta-card h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.meta-list li:last-child {
    border-bottom: none;
}

.meta-label {
    color: #666;
    font-weight: 500;
}

.meta-value {
    color: #333;
    font-weight: 600;
}

.meta-value.highlight {
    color: #2ECC71;
}

.case-cta-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 案例阶段区块 */
.case-phases {
    margin-bottom: 40px;
}

.case-phases h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2ECC71;
    display: inline-block;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.phase-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
}

.phase-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.phase-content h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.phase-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.phase-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2ECC71;
    font-weight: bold;
}

/* 结果区块 */
.results-section h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2ECC71;
    display: inline-block;
}

/* 案例库CTA区块 */
.library-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
    text-align: center;
}

.library-cta h2 {
    margin-bottom: 15px;
}

.library-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .case-content-grid {
        grid-template-columns: 1fr;
    }
    
    .case-sidebar {
        flex-direction: row;
    }
    
    .phase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .library-hero h1 {
        font-size: 32px;
    }
    
    .library-hero .subtitle {
        font-size: 20px;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .case-header h2 {
        font-size: 24px;
    }
    
    .problem-table,
    .results-table {
        font-size: 14px;
    }
    
    .problem-table th,
    .problem-table td,
    .results-table th,
    .results-table td {
        padding: 10px 15px;
    }
    
    .highlight-item {
        flex-direction: column;
    }
    
    .testimonial-box {
        padding: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .library-hero {
        padding: 40px 0;
    }
    
    .library-hero h1 {
        font-size: 26px;
    }
    
    .case-detail {
        padding: 40px 0;
    }
    
    .case-header h2 {
        font-size: 20px;
    }
    
    .case-main h3 {
        font-size: 18px;
    }
    
    .phase-card {
        padding: 20px;
    }
    
    .phase-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}