:root {
    --color-primary: #2f6fed;
    --color-primary-dark: #1a4fc4;
    --color-accent: #f0a63c;
    --color-surface: #f4f7fb;
    --color-text: #1b2230;
    --rgb-primary: 47,111,237;
    --rgb-accent: 240,166,60;
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-sm: 0 1px 2px rgba(27,34,48,0.06), 0 1px 3px rgba(47,111,237,0.04);
    --shadow-md: 0 4px 10px rgba(27,34,48,0.08), 0 2px 4px rgba(47,111,237,0.06), 0 0 0 1px rgba(47,111,237,0.04);
    --shadow-lg: 0 12px 28px rgba(27,34,48,0.12), 0 6px 12px rgba(47,111,237,0.08), 0 0 0 1px rgba(240,166,60,0.06);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #f4f7fb 0%, #eef3fa 100%); }
h1, h2, h3, h4 { 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); background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%); border: 1px solid rgba(47,111,237,0.10); }
.card:hover, [class*="card"]:hover { box-shadow: var(--shadow-lg); border-color: rgba(240,166,60,0.28); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #2f6fed 0%, #1a4fc4 100%); color: #ffffff; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 4px 12px rgba(47,111,237,0.28), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background: linear-gradient(135deg, #f0a63c 0%, #d98a1e 100%); box-shadow: 0 8px 20px rgba(240,166,60,0.34), inset 0 1px 0 rgba(255,255,255,0.22); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }
a:not([class]):hover { color: var(--color-accent); }

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

/* news: list-view */
/* 列表模式 (图左文右) */
                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card { display: grid; grid-template-columns: 280px 1fr; background: linear-gradient(120deg, #ffffff 0%, #eef3fa 60%, #e6edf8 100%); }

/* features: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }
.feature-list > * { background: linear-gradient(170deg, #ffffff 0%, #f4f7fb 100%); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--space-card); border: 1px solid rgba(47,111,237,0.08); transition: var(--transition); }
.feature-list > *:hover { box-shadow: var(--shadow-lg); border-color: rgba(240,166,60,0.30); }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; }
                .hero-content { position: relative; z-index: 1; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; background: linear-gradient(135deg, #ffffff 0%, #eef3fa 100%); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); border: 1px solid rgba(47,111,237,0.08); }

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
                .faq-wrapper > *:last-child { background: linear-gradient(180deg, #252e3a 0%, #1c2430 100%); color: #e8eef7; border-radius: var(--radius-lg); padding: var(--space-card); box-shadow: var(--shadow-lg); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
                .stats-grid > * { color: var(--color-primary-dark); }

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

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #252e3a 0%, #1a4fc4 55%, #2f6fed 100%); }
header, .header, .navbar { background: transparent; }

/* 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: 2rem; --space-card: 1rem; --space-gap: 0.75rem; }
    .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; }
}