/* =================== 【案例页 · 专属样式】 =================== */
:root {
    --case-primary: #f7892e;
    --case-primary-dark: #F68425;
    --case-primary-light: #fecf51;
    --case-text: #1f2937;
    --case-muted: #6b7280;
    --case-soft: #fff8f1;
}

.cases-page {
    background: #ffffff;
}

/* --- CTA Banner --- */
.case-cta-banner {
    margin-top: 0;
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, #ff7a00 0%, #ffb93d 100%);
    padding: 42px 48px;
    overflow: hidden;
    color: #fff;
}

.case-cta-banner::before,
.case-cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.case-cta-banner::before {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.15);
    top: -120px;
    right: -60px;
}

.case-cta-banner::after {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    bottom: -60px;
    left: 20%;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.98rem;
}

.cta-btn-primary {
    background: #fff;
    color: var(--case-primary-dark);
}

.cta-btn-primary:hover {
    background: #2b1a0c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 24px -10px rgba(0, 0, 0, 0.3);
}

.cta-btn-ghost {
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.cta-btn-ghost:hover {
    background: #fff;
    color: var(--case-primary-dark);
    transform: translateY(-3px);
}

/* --- 案例 Logo 墙增强（对 social-ops.css 中的基础样式的补充） --- */
.case-logo-section-3d {
    padding-top: 60px;
    padding-bottom: 20px;
    background: linear-gradient(180deg, #fff8f1 0%, #ffffff 100%);
}

/* --- 入场动画 --- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* --- 响应式 --- */
/* 覆盖 about-hero-title 默认大小，保持桌面端 2.2rem */
.cases-page .about-hero-title {
    font-size: 2.2rem;
}

@media (max-width: 991px) {
    .case-cta-banner {
        padding: 34px 28px;
    }
}

@media (max-width: 768px) {
    .cases-page .about-hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    .cases-page .about-hero-sub {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .cta-text h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 575px) {
    .cta-text h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    .cta-text p {
        font-size: 0.85rem;
    }
    .cta-actions {
        gap: 10px;
    }
    .cta-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .cases-page .about-hero-title {
        font-size: 1.4rem;
    }
}
