:root {
    --color-primary: #1657ff;
    --color-primary-dark: #0b2b5b;
    --color-accent: #35d0ba;
    --color-surface: #fff3d6;
    --color-text: #0f172a;
    --rgb-primary: 22,87,255;
    --rgb-accent: 53,208,186;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-sm: none;
    --shadow-md: 0 6px 14px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255,255,255,0.55) inset;
    --shadow-lg: 0 10px 22px rgba(15, 23, 42, 0.12), 0 1px 0 rgba(255,255,255,0.6) inset, 0 28px 60px -18px rgba(15,23,42,0.22);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
    --heading-weight: 650;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #ffffff 0%, #fff7e8 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); background-clip: padding-box; }
.card, [class*="card"] { border-radius: 24px; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06), 0 18px 36px -18px rgba(15, 23, 42, 0.18); padding: var(--space-card); transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); }
a:not([class]) { color: #1f5eff; transition: var(--transition); text-shadow: 0 1px 0 rgba(255,255,255,0.7); }

.post-card { border-radius: 24px; }

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

/* news: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* 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: split */
/* 左文右图 */
                .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* 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: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }

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

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14), 0 1px 0 rgba(255,255,255,0.72) inset, 0 40px 72px -28px rgba(15,23,42,0.26); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #ffffff 0%, #fff3d6 18%, rgba(255,255,255,0.85) 45%, #e8f6ff 70%, #fff 100%); box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06) inset; }
section:nth-of-type(odd) { background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 100%); }
section:nth-of-type(even) { background: linear-gradient(180deg, rgba(255,243,214,0.92) 0%, rgba(255,255,255,0.78) 100%); }
.card { border-left: 3px solid rgba(22, 87, 255, 0.95); }
header, .header, .navbar { box-shadow: 0 4px 14px rgba(15,0,42,0.06), 0 1px 0 rgba(255,255,255,0.8) inset; background: rgba(255,255,255,0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* 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; --transition: 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
    .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; }
}