/* 成功案例页面专用样式 - 避免与其他页面冲突 */

/* 页面横幅 */
.cs-page-banner {
    background: var(--gradient-1);
    padding: 100px 20px 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cs-page-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: cs-float 12s ease-in-out infinite;
}

@keyframes cs-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

.cs-banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cs-banner-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cs-banner-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cs-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.cs-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.cs-breadcrumb a:hover {
    opacity: 0.7;
}

/* 筛选区域 */
.cs-filter-section {
    padding: 40px 20px;
}

.cs-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cs-filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid rgba(0, 169, 236, 0.2);
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.cs-filter-btn:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.cs-filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 169, 236, 0.4);
}

/* 案例展示区域 */
.cs-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 20px;
}

.cs-case-item {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 169, 236, 0.1);
    box-shadow: var(--shadow-sm);
}

.cs-case-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 169, 236, 0.25);
    border-color: rgba(0, 169, 236, 0.3);
}

.cs-case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cs-case-thumb {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    overflow: hidden;
}

.cs-case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-case-item:hover .cs-case-thumb img {
    transform: scale(1.1);
}

.cs-case-item:nth-child(2n) .cs-case-thumb {
    background: var(--gradient-2);
}

.cs-case-item:nth-child(3n) .cs-case-thumb {
    background: var(--gradient-3);
}

.cs-case-item:nth-child(4n) .cs-case-thumb {
    background: var(--gradient-1);
}

.cs-case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
}

.cs-case-item:hover .cs-case-overlay {
    opacity: 1;
}

.cs-case-item:hover .cs-case-thumb {
    transform: scale(1.1);
}

.cs-case-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    border: 2px solid white;
    transition: all 0.3s;
}

.cs-case-link:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

.cs-case-link i {
    font-size: 18px;
}

.cs-case-info {
    padding: 25px;
}

.cs-case-tag {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, rgba(0, 169, 236, 0.1) 0%, rgba(0, 136, 194, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 169, 236, 0.2);
}

.cs-case-tag.cs-tag-seo {
    background: linear-gradient(135deg, rgba(0, 169, 236, 0.1) 0%, rgba(0, 136, 194, 0.1) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 169, 236, 0.2);
}

.cs-case-tag.cs-tag-mini {
    background: linear-gradient(135deg, rgba(0, 169, 236, 0.1) 0%, rgba(0, 136, 194, 0.1) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 169, 236, 0.2);
}

.cs-case-tag.cs-tag-video {
    background: linear-gradient(135deg, rgba(0, 169, 236, 0.1) 0%, rgba(0, 136, 194, 0.1) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 169, 236, 0.2);
}

.cs-case-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.cs-case-info p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
}

/* 数据统计区域 */
.cs-stats-section {
    padding: 80px 20px;
    color: white;
}

.cs-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cs-stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
}

.cs-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cs-stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.cs-stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 筛选功能 */
.cs-case-item[data-category] {
    display: block;
}

.cs-case-item.cs-hidden {
    display: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .cs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cs-banner-title {
        font-size: 32px;
    }

    .cs-banner-subtitle {
        font-size: 16px;
    }

    .cs-filter-tabs {
        gap: 10px;
    }

    .cs-filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .cs-cases-grid {
        grid-template-columns: 1fr;
    }

    .cs-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

