/* 成功案例页面样式 */

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23667eea"/><circle cx="30" cy="30" r="10" fill="none" stroke="%23764ba2" stroke-width="2"/><circle cx="70" cy="30" r="10" fill="none" stroke="%23764ba2" stroke-width="2"/><circle cx="30" cy="70" r="10" fill="none" stroke="%23764ba2" stroke-width="2"/><circle cx="70" cy="70" r="10" fill="none" stroke="%23764ba2" stroke-width="2"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cases-content {
    padding: 20px 0 0;
}

.cases-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.case-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

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

.case-meta {
    display: flex;
    justify-content: space-between;
}

.case-meta .category,
.case-meta .scale {
    background-color: #f0f0f0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
}

.load-more {
    text-align: center;
}

.load-more .btn {
    padding: 12px 40px;
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cases-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }
}