:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-accent: #60a5fa;
    --color-surface: #f8fafc;
    --color-text: #1e293b;
    --rgb-primary: 59,130,246;
    --rgb-accent: 96,165,250;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05), 0 8px 18px -8px rgba(30, 41, 59, 0.16);
    --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.06), 0 20px 40px -10px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 10px 24px rgba(15, 23, 42, 0.08), 0 28px 56px -16px rgba(30, 41, 59, 0.2);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.35s ease;
    --heading-weight: 600;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: #e2e8f0; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #0f172a; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); }
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(180deg, #ffffff 0%, #f8fafc 100%); border-color: rgba(148, 163, 184, 0.3); border-style: solid; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #eff6ff; border-color: rgba(37, 99, 235, 0.45); border-style: solid; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.18), 0 14px 30px -14px rgba(37, 99, 235, 0.35); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(59, 130, 246, 0.35); }

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

/* news: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 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: minimal */
.hero { padding: 2rem 0; } .hero-content { max-width: 560px; }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

/* 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: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }

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

/* cta: card-style */
.cta-inner { background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: var(--shadow-lg); border-color: rgba(148, 163, 184, 0.28); border-style: solid; }

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
            .page-main { max-width: 1200px; margin: 0 auto; }

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 18px rgba(96, 165, 250, 0.28); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #1e293b 0%, #334155 58%, #3b82f6 100%); color: #f8fafc; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 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: 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; }
}