:root {
    --primary: #0D47A1;
    --primary-dark: #0A357A;
    --primary-light: #42A5F5;
    --success: #10B981;
    --bg-light: #F0F5FB;
    --text-dark: #0A1F3D;
    --text-gray: #667085;
    --white: #FFFFFF;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(13, 71, 161, 0.15);
    --shadow-lg: 0 16px 48px rgba(13, 71, 161, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}
.btn-light {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-dark {
    background: var(--text-dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 20px;
}
.btn-dark:hover {
    background: var(--primary);
    animation: btnBounce 0.4s ease;
}
@keyframes btnBounce {
    0% { transform: translateY(0); }
    30% { transform: translateY(-3px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}
.btn-full { width: 100%; }
.btn-sm { padding: 6px 16px; font-size: 12px; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes pulse-lg {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.section-tag {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
    display: flex;
    align-items: center;
    min-height: 20px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 2px;
    background: var(--primary-light);
}
/* Banner */
.case-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 40px 0 50px;  /* 高度降低 */
    text-align: center;
}
.banner-container {
    display: block;  
    text-align: center;
}


/* 横线 + 英文标题（与联系页保持一致） */
.banner-eng {
    font-size: 14px;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.banner-eng::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #fff;
    flex-shrink: 0;
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}
.banner-text h1 {
    font-size: 45px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.25;
}
.banner-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 520px;
}

/* 图片占位样式，解决裂图空白 */
.banner-placeholder {
    background: rgba(66, 165, 245, 0.3);
    color: #fff;
}
.banner-illust {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 数据区块 */
.case-data {
    background: var(--bg-light);
    padding: 80px 0;
}
.stats-row {
    display: flex;
    gap: 48px;
    justify-content: center;
}
.stat-item {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    flex: 1;
}
.stat-item strong {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.stat-item p {
    font-size: 14px;
    color: var(--text-gray);
}
/* Tab */
.case-tab-wrap {
    padding: 80px 0;
}
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}
.tab-btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn.tab-active {
    background: var(--primary);
    color: var(--white);
}
.tab-panel.hidden { display: none; }
/* Logo墙 */
.logo-wall { margin-bottom: 80px; }
.wall-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}
.wall-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 32px;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.logo-card {
    height: 96px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: transform 0.3s;
    color: var(--text-gray);
}
.logo-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
/* 经验贴卡片 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.article-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.article-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
    flex-grow: 1;
}
.card-btn-wrap { margin-top: auto; }
/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}
.page-btn {
    padding: 10px 24px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.page-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #ccc;
    color: #999;
}
.page-info {
    font-size: 15px;
    color: var(--text-dark);
}
.page-hide { display: none; }

/* 响应式 */
@media (max-width: 1024px) {
    .banner-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .banner-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .banner-image { justify-content: center; }
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-row { flex-direction: column; }
}
@media (max-width: 768px) {
    .case-banner {padding: 30px 0 40px;}
    .banner-text h1 {font-size: 32px;}
    .banner-text p {font-size: 16px;padding: 0 16px;}
    .container { padding: 0 16px; }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .article-grid { grid-template-columns: 1fr; }
    .tab-buttons { flex-direction: column; align-items: center; }
    .pagination { gap:12px; }
    .page-btn { padding:8px 16px; font-size:13px; }
}
@media (max-width: 480px) {
    .banner-text h1 { font-size: 28px; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
