/* ==================== 案例详情页 - Contentful 风格 ==================== */

/* 面包屑 */
.case-breadcrumb {
    background: #fff;
    padding: 120px 0 0;
}

.case-breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.case-breadcrumb .breadcrumbs {
    font-size: 14px;
    color: #666;
    background: transparent;
}

.case-breadcrumb .breadcrumbs nav {
    padding: 0;
    width: 100%;
    font-family: 'poppinsregular';
}

.case-breadcrumb .breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.case-breadcrumb .breadcrumbs a:hover {
    color: #1a1a2e;
}

.case-breadcrumb .breadcrumbs .current {
    color: #1a1a2e;
    font-weight: 500;
}

/* 顶部标题区 */
.case-detail-header {
    background: #fff;
    padding: 30px 0 30px;
}

.case-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.case-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.case-header-label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-header-logo {
    height: 40px;
}

.case-header-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.case-header-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a2e;
    margin: 0;
    max-width: 1400px;
}

/* 大图展示 */
.case-hero-image {
    background: #fff;
    padding: 0 0 40px;
}

.case-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.case-hero-container img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.case-hero-placeholder {
    width: 100%;
    height: 500px;
    background: #f0f0f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-hero-placeholder i {
    font-size: 80px;
    color: #ccc;
}

/* 信息卡片 */
.case-info-cards {
    background: #fff;
    padding: 0 0 60px;
}

.case-info-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
}

.info-card {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 18px;
    color: #1a1a2e;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.4;
}

.info-values-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-values-list span {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
}

/* 项目成果 */
.case-results-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.case-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px 0;
    text-align: left;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.result-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.result-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 12px;
}

.result-text {
    display: block;
    font-size: 15px;
    color: #666;
}

/* 使用产品 */
.case-products-section {
    background: #fff;
    padding: 60px 0;
}

.case-products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.product-chip {
    display: inline-block;
    padding: 12px 24px;
    background: #f0f0f0;
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.product-chip:hover {
    background: #e0e0e0;
}

/* 案例内容 */
.case-content-section {
    background: #fff;
    padding: 60px 0 100px;
}

.case-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.case-content-container h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 50px 0 20px 0;
}

.case-content-container h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 40px 0 16px 0;
}

.case-content-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 20px 0;
}

.case-content-container ul,
.case-content-container ol {
    margin: 20px 0;
    padding-left: 30px;
}

.case-content-container li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

/* 相关案例 */
.case-related-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.case-related-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.related-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-image {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-placeholder i {
    font-size: 40px;
    color: #ccc;
}

.related-body {
    padding: 24px;
}

.related-client {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.related-body h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
    margin: 0 0 12px 0;
}

.related-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
}

/* ==================== 响应式 ==================== */
@media screen and (max-width: 1024px) {
    .case-header-title {
        font-size: 32px;
    }
    
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .case-breadcrumb {
        padding: 90px 20px 0;
    }
    .case-detail-header {
        padding: 40px 0 20px;
    }
    
    .case-header-top {
        flex-direction: column;
        gap: 16px;
    }
    
    .case-header-title {
        font-size: 24px;
    }
    
    .case-hero-placeholder {
        height: 250px;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-number {
        font-size: 36px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .case-content-container h2 {
        font-size: 24px;
    }
    
    .case-content-container h3 {
        font-size: 20px;
    }
}
