:root {
    --color-primary: #1e293b;
    --color-primary-dark: #0b1220;
    --color-accent: #3b82f6;
    --color-surface: #eef2f9;
    --color-text: #16233a;
    --rgb-primary: 30,41,59;
    --rgb-accent: 59,130,246;
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.10);
    --shadow-md: 0 2px 6px -1px rgba(30,41,59,.14), 0 6px 16px -4px rgba(59,130,246,.16);
    --shadow-lg: 0 4px 12px -2px rgba(30,41,59,.18), 0 14px 32px -8px rgba(59,130,246,.22);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(160deg, #f4f7fc 0%, #e6edf8 55%, #dde7f6 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #0b1220; }
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(145deg, #ffffff 0%, #f5f9ff 60%, #eaf2ff 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); box-shadow: 0 2px 6px -1px rgba(37,99,235,.45), 0 6px 16px -4px rgba(59,130,246,.40); }
a:not([class]) { color: var(--color-accent); transition: var(--transition); }

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

/* news: featured-left */
/* 左大右小 (1大+2小) */
                .news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--space-gap); }
                .news-grid > *:first-child { grid-row: span 2; }

/* 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: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(circle at 25% 20%, rgba(59,130,246,.30) 0%, rgba(37,99,235,.14) 32%, rgba(30,41,59,.92) 72%, #0b1220 100%); }
                .hero-content { position: relative; z-index: 1; color: #eaf2ff; text-shadow: 0 2px 12px rgba(11,18,32,.65); }

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

/* partners: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; background: linear-gradient(135deg, #eaf2ff 0%, #dbe8fd 50%, #cfe0fc 100%); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* Page Layout: wide */
/* 超宽 */
            .page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
.card { border-left: 3px solid transparent; border-image: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1e293b 100%) 1; }
header, .header, .navbar { box-shadow: 0 2px 8px -2px rgba(30,41,59,.22), 0 8px 24px -10px rgba(59,130,246,.28); background: linear-gradient(120deg, #ffffff 0%, #f1f6ff 100%); }

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