:root {
    --color-primary: #1d4ed8;
    --color-primary-dark: #1e3a8a;
    --color-accent: #f43f5e;
    --color-surface: #f5f7ff;
    --color-text: #0f172a;
    --rgb-primary: 29,78,216;
    --rgb-accent: 244,63,94;
    --radius-sm: 1px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 420ms cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: var(--color-surface); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: none; padding: var(--space-card); transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition); }
a:not([class]) { color: var(--color-primary); transition: color var(--transition); }

.card, [class*="card"] { border: 1px solid rgba(15, 23, 42, .16); background: #ffffff; }
.btn, button[class*="btn"], a[class*="btn"] { border: 1px solid rgba(15, 23, 42, .16); background: #ffffff; color: var(--color-primary); }
a:not([class]):hover { color: var(--color-accent); }

/* ========== 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; background: #ffffff; border-color: rgba(29,78,216,.28); }
                .news-grid > *:first-child .card, .news-grid > *:first-child [class*="card"] { box-shadow: none; }
                .news-grid > *:not(:first-child) { background: #ffffff; border-color: rgba(244,63,94,.22); }

/* features: grid-3 */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.feature-list > * { border-radius: var(--radius-md); border: 1px solid rgba(15, 23, 42, .14); background: #ffffff; }
.feature-list > *:nth-child(1) { border-color: rgba(29,78,216,.28); }
.feature-list > *:nth-child(2) { border-color: rgba(244,63,94,.24); }
.feature-list > *:nth-child(3) { border-color: rgba(20,184,166,.26); }

/* hero: split */
/* 左文右图 */
                .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero, [class*="hero"], section:first-of-type { background: #0b122b; color: #ffffff; }
.hero, [class*="hero"], section:first-of-type { background: var(--color-primary); }
.hero-inner > * { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }
                .testimonial-list > * { border-radius: var(--radius-md); border: 1px solid rgba(15, 23, 42, .14); background: #ffffff; }
                .testimonial-list > *:nth-child(odd) { border-color: rgba(29,78,216,.26); }
                .testimonial-list > *:nth-child(even) { border-color: rgba(244,63,94,.22); }

/* 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%); } }
                .partner-grid > * { border-radius: var(--radius-md); border: 1px solid rgba(15, 23, 42, .12); background: #ffffff; opacity: .95; }
                .partner-grid > *:nth-child(3n+1) { border-color: rgba(29,78,216,.25); }
                .partner-grid > *:nth-child(3n+2) { border-color: rgba(244,63,94,.22); }
                .partner-grid > *:nth-child(3n) { border-color: rgba(20,184,166,.22); }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list > * { border-radius: var(--radius-md); border: 1px solid rgba(15, 23, 42, .14); background: #ffffff; }
.faq-list > *:nth-child(odd) { border-color: rgba(29,78,216,.26); }
.faq-list > *:nth-child(even) { border-color: rgba(244,63,94,.20); }

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }
.stats-grid > * { border-radius: var(--radius-md); border: 1px solid rgba(15, 23, 42, .14); background: #ffffff; }
.stats-grid > *:nth-child(1) { border-color: rgba(29,78,216,.28); }
.stats-grid > *:nth-child(2) { border-color: rgba(244,63,94,.22); }
.stats-grid > *:nth-child(3) { border-color: rgba(20,184,166,.24); }
.stats-grid > *:nth-child(4) { border-color: rgba(245,158,11,.26); }

/* cta: full-bg */
.cta-section { background: var(--color-primary); color: #ffffff; padding: 4rem 2rem; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(0,0,0,.12); }
.cta-section * { text-shadow: none; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: var(--color-primary); color: #fff; }
.card { border-left: 4px solid var(--color-primary); border-radius: var(--radius-lg); }
header, .header, .navbar { background: transparent; }

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