:root {
    --color-primary: #2f4459;
    --color-primary-dark: #252e3a;
    --color-accent: #b5762b;
    --color-surface: #f8f6f0;
    --color-text: #1b2129;
    --rgb-primary: 47,68,89;
    --rgb-accent: 181,118,43;
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 5px;
    --radius-xl: 6px;
    --shadow-sm: 0 1px 2px rgba(27, 34, 44, 0.05);
    --shadow-md: 0 1px 2px rgba(27, 34, 44, 0.06), 0 3px 10px rgba(27, 34, 44, 0.05);
    --shadow-lg: 0 2px 4px rgba(27, 34, 44, 0.06), 0 12px 28px rgba(27, 34, 44, 0.09);
    --space-section: 2.75rem;
    --space-card: 1.1rem;
    --space-gap: 0.9rem;
    --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body {
    background: var(--color-surface);
    color: var(--color-text);
    line-height: var(--body-line-height);
}
h1, h2, h3, h4 {
    color: var(--color-primary-dark);
    font-weight: var(--heading-weight);
}
section, .section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-card);
    transition: var(--transition);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
}

/* ========== Section Layout Variants ========== */

/* news: grid-4 */
/* 四列紧凑网格 */
                .news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 0.8); }

/* features: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* hero: minimal */
.hero { padding: 2rem 0; } .hero-content { max-width: 560px; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; }
                .testimonial-list > * { flex: 0 0 100%; }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

/* Page Layout: wide */
/* 超宽 */
            .page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
.card:hover, [class*="card"]:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--rgb-accent), 0.35);
}
.hero, [class*="hero"], section:first-of-type {
    background: linear-gradient(135deg, #252e3a, #141b24);
}
.card {
    border: 1px solid rgba(var(--rgb-primary), 0.1);
}
header, .header, .navbar {
    box-shadow: 0 1px 2px rgba(23, 31, 40, 0.05), 0 6px 16px rgba(23, 31, 40, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-list { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    :root {
        --space-section: 2.25rem;
        --space-card: 1rem;
        --space-gap: 0.8rem;
    }
    .news-grid { grid-template-columns: 1fr !important; }
    .feature-list { grid-template-columns: 1fr !important; }
    .faq-list { grid-template-columns: 1fr !important; }
    .testimonial-list { column-count: 1 !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cta-inner { grid-template-columns: 1fr !important; }
}