/* 客户案例页面样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* 案例概览统计 */
.case-overview {
    padding: 80px 0;
    background: #f8fafc;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.stat-desc {
    font-size: 0.95rem;
    color: #94a3b8;
}

/* 主要案例 */
.main-case {
    padding: 100px 0;
    background: white;
}

.case-header {
    text-align: center;
    margin-bottom: 80px;
}

.case-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.case-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.case-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 内容区块 */
.content-section {
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-icon {
    font-size: 2rem;
    margin-right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* 客户背景网格 */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

.content-text strong {
    color: #2563eb;
    font-weight: 600;
}

.content-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.case-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-photo:hover {
    transform: scale(1.02);
}

.photo-caption {
    margin-top: 1rem;
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    font-weight: 500;
}

.building-illustration {
    font-size: 8rem;
    filter: grayscale(0.3);
}

/* 挑战网格 */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.challenge-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border-left: 4px solid #ef4444;
    transition: transform 0.3s ease;
}

.challenge-item:hover {
    transform: translateY(-5px);
}

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.challenge-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.challenge-item p {
    color: #64748b;
    line-height: 1.6;
}

/* 解决方案概览 */
.solution-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.solution-overview h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.solution-overview p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* 解决方案矩阵 */
.solution-matrix {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.matrix-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr 2fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.matrix-col {
    padding: 20px 15px;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}

.matrix-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr 2fr;
    border-bottom: 1px solid #e2e8f0;
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-row:nth-child(even) {
    background: #f8fafc;
}

.matrix-cell {
    padding: 20px 15px;
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
}

.matrix-cell:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
}

.cell-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* 成果网格 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.result-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.2);
}

.result-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.result-card p {
    color: #64748b;
    line-height: 1.7;
}

/* 指标仪表板 */
.metrics-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.metric-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.3rem;
}

.metric-unit {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* 更多案例区域 */
.more-cases {
    padding: 80px 0;
    background: #f8fafc;
}

.more-cases .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.more-cases h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.more-cases p {
    font-size: 1.1rem;
    color: #64748b;
}

.coming-soon {
    max-width: 600px;
    margin: 0 auto;
}

.coming-card {
    background: white;
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.coming-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.coming-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.coming-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.coming-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* CTA区域 */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .case-header h2 {
        font-size: 2.2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-photo {
        height: 250px;
    }
    
    .content-visual {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .matrix-header,
    .matrix-row {
        grid-template-columns: 1fr;
    }
    
    .matrix-cell {
        border-bottom: 1px solid #e2e8f0;
        padding: 15px;
    }
    
    .challenges-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .solution-overview {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .metrics-dashboard {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .case-photo {
        height: 200px;
        border-radius: 0.75rem;
    }
} 