:root {
    --color-primary: #3d56c4;
    --color-primary-dark: #26399a;
    --color-accent: #f4714a;
    --color-surface: #ffffff;
    --color-text: #181b23;
    --rgb-primary: 61,86,196;
    --rgb-accent: 244,113,74;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 10px;
    --shadow-sm: 0 1px 2px rgba(24,27,35,0.06);
    --shadow-md: 0 1px 2px rgba(24,27,35,0.07), 0 4px 10px -4px rgba(24,27,35,0.10);
    --shadow-lg: 0 2px 6px rgba(24,27,35,0.08), 0 14px 28px -12px rgba(24,27,35,0.16);
    --space-section: 2.75rem;
    --space-card: 1.1rem;
    --space-gap: 0.9rem;
    --transition: 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.18);
    --heading-weight: 700;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f1f2f5; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #10131a; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] { background-color: var(--color-surface); border-radius: var(--radius-lg); box-shadow: inset 0 2px 0 rgba(244,113,74,0.55), 0 1px 2px rgba(24,27,35,0.07), 0 6px 14px -8px rgba(24,27,35,0.14); padding: var(--space-card); transition: var(--transition); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }
a:not([class]):hover { color: var(--color-accent); }

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

/* news: masonry-2 */
/* 两列瀑布流 */
                .news-grid { column-count: 2; column-gap: var(--space-gap); }
                .news-grid .card { break-inside: avoid; margin-bottom: var(--space-gap); }

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; }
                .hero-content { position: relative; z-index: 1; color: #f6f7fb; text-shadow: 0 1px 2px rgba(10,14,40,0.45), 0 6px 18px rgba(10,14,40,0.35); }

/* 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: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 1.75rem; }

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: full-bg */
.cta-section { background: linear-gradient(140deg, #3d56c4 0%, #26399a 72%, #1b2a72 100%); color: #ffffff; padding: 3.6rem 2rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(150deg, #3d56c4 0%, #2b3fa8 58%, #1b2a72 100%); }
header, .header, .navbar { background: transparent; box-shadow: 0 1px 0 rgba(24,27,35,0.08); }

/* 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: 1.9rem; --space-card: 0.95rem; --space-gap: 0.72rem; }
    .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; }
}