:root {
    --color-primary: #2f80c9;
    --color-primary-dark: #1d4f7c;
    --color-accent: #59b0e6;
    --color-surface: #eef4fb;
    --color-text: #253245;
    --rgb-primary: 47,128,201;
    --rgb-accent: 89,176,230;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 5px rgba(29,79,124,.10);
    --shadow-md: 0 6px 18px rgba(29,79,124,.14), 0 2px 6px rgba(47,128,201,.10);
    --shadow-lg: 0 14px 34px rgba(29,79,124,.20), 0 6px 14px rgba(47,128,201,.14);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(160deg, #f4f8fc 0%, #e9f1f9 55%, #e2edf7 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); background: linear-gradient(135deg, #1d4f7c 0%, #2f80c9 60%, #59b0e6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
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%, #f3f8fd 60%, #e8f1fa 100%); border: 1px solid transparent; border-image: linear-gradient(135deg, #59b0e6 0%, #a8d4f0 50%, #d6e9f7 100%) 1; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #2f80c9 0%, #1d4f7c 100%); color: #f2f8fd; border-color: transparent; }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-shadow: 0 1px 0 rgba(89,176,230,.18); }

/* ========== 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: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(ellipse at 20% 20%, rgba(89,176,230,.28) 0%, rgba(47,128,201,.14) 40%, rgba(37,50,69,.06) 75%, transparent 100%), linear-gradient(150deg, #1d4f7c 0%, #2f80c9 55%, #59b0e6 100%); }
                .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: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; background: linear-gradient(120deg, #f6fafd 0%, #eaf2fa 100%); border-radius: var(--radius-lg); }

/* 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, #2f80c9 0%, #1d4f7c 60%, #163a5a 100%); border-radius: var(--radius-xl); box-shadow: 0 18px 42px rgba(29,79,124,.24), 0 8px 18px rgba(47,128,201,.18); color: #eef6fc; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-image: linear-gradient(135deg, #2f80c9 0%, #59b0e6 50%, #a8d4f0 100%) 1; }
header, .header, .navbar { box-shadow: 0 4px 16px rgba(29,79,124,.14), 0 1px 3px rgba(47,128,201,.10); background: linear-gradient(120deg, #252e3a 0%, #2f3f52 60%, #1d4f7c 100%); border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, #59b0e6 0%, #a8d4f0 50%, #2f80c9 100%) 1; }

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