:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-accent: #60a5fa;
    --color-surface: #f8fbff;
    --color-text: #1e293b;
    --rgb-primary: 59,130,246;
    --rgb-accent: 96,165,250;
    --radius-sm: 12px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, .05), 0 10px 24px -12px rgba(15, 23, 42, .14);
    --shadow-md: 0 4px 10px rgba(15, 23, 42, .06), 0 20px 40px -14px rgba(15, 23, 42, .16);
    --shadow-lg: 0 10px 20px rgba(15, 23, 42, .08), 0 28px 56px -18px rgba(37, 99, 235, .22);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.4s ease;
    --heading-weight: 700;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #0f172a; text-shadow: 0 1px 0 rgba(255,255,255,.65); }
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%, #f8fbff 100%); border-color: rgba(148, 163, 184, .28); border-style: solid; backdrop-filter: blur(10px); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%); color: #eff6ff; border-color: rgba(29, 78, 216, .45); border-style: solid; box-shadow: 0 3px 8px rgba(37, 99, 235, .22), 0 14px 28px -16px rgba(30, 41, 59, .35); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-shadow: 0 1px 0 rgba(255,255,255,.55); }

/* ========== 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: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(circle at top left, rgba(96, 165, 250, .26) 0%, rgba(96, 165, 250, 0) 38%), linear-gradient(135deg, #1e293b 0%, #334155 55%, #475569 100%); color: #f8fafc; }
                .hero-content { position: relative; z-index: 1; }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

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

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; color: #1d4ed8; text-shadow: 0 2px 10px rgba(59, 130, 246, .18); }

/* cta: split */
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); filter: saturate(1.03); }
a:not([class]):hover { color: var(--color-accent); }
.card { border-left: 3px solid var(--color-primary); outline: 1px solid rgba(148, 163, 184, .18); outline-color: rgba(148, 163, 184, .18); }

/* 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; }
}