/* 页面标题样式 */
.page-title {
    background: var(--light-gray);
    padding: 40px 0;
    margin-bottom: 60px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
}

.page-title h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 36px;
    text-align: center;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 800;
}

/* 案例分类筛选 */
.case-filter {
    padding: 20px 0 40px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* 案例展示 */
.cases-showcase {
    padding: 40px 0 80px;
    background: var(--light-gray);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.case-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 182, 212, 0.2);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.case-category {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    font-weight: 600;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.case-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.case-link:hover {
    gap: 12px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}