:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #1e40af;
    --color-accent: #60a5fa;
    --color-surface: #f1f5f9;
    --color-text: #1e293b;
    --rgb-primary: 59,130,246;
    --rgb-accent: 96,165,250;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --shadow-sm: 0 1px 4px rgba(15,23,42,0.12), 0 0 12px rgba(59,130,246,0.18);
    --shadow-md: 0 2px 12px rgba(15,23,42,0.16), 0 0 24px rgba(59,130,246,0.35);
    --shadow-lg: 0 4px 20px rgba(15,23,42,0.22), 0 0 32px rgba(59,130,246,0.55);
    --space-section: 2.5rem;
    --space-card: 1rem;
    --space-gap: 0.875rem;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 800;
    --body-line-height: 1.7;
    accent-color: #3b82f6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: var(--color-surface); caret-color: #3b82f6; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] { background: #ffffff; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px rgba(51,65,85,0.08), var(--shadow-md); padding: var(--space-card); transition: var(--transition); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); box-shadow: 0 0 16px rgba(59,130,246,0.35); transition: var(--transition); animation: glowPulse 3s ease-in-out infinite; }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(59,130,246,0.3); }
    50% { box-shadow: 0 0 28px rgba(59,130,246,0.6); }
}

/* ========== 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: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

/* 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: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

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

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

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(96,165,250,0.25), var(--shadow-lg); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 8px rgba(96,165,250,0.4); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0f172a, #1e293b); box-shadow: inset 0 0 40px rgba(59,130,246,0.15); text-shadow: 0 0 12px rgba(96,165,250,0.35); }
.card { border-left: 3px solid #2563eb; }
header, .header, .navbar { background: rgba(15,23,42,0.72); }

/* 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.75rem; --space-card: 0.875rem; --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; }
}