:root {
    --color-primary: #4338ca;
    --color-primary-dark: #312e81;
    --color-accent: #22d3ee;
    --color-surface: #eef4ff;
    --color-text: #1b1b3a;
    --rgb-primary: 67,56,202;
    --rgb-accent: 34,211,238;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --shadow-sm: 0 0 8px rgba(34,211,238,.20), 0 1px 2px rgba(27,27,58,.06);
    --shadow-md: 0 0 18px rgba(34,211,238,.24), 0 4px 10px rgba(27,27,58,.08);
    --shadow-lg: 0 0 30px rgba(34,211,238,.32), 0 8px 22px rgba(27,27,58,.12);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f7f9ff; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-primary-dark); }
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-color: #ffffff; border-color: rgba(67,56,202,.16); }
.card:hover, [class*="card"]:hover { box-shadow: 0 0 32px rgba(34,211,238,.60), 0 10px 26px rgba(49,46,129,.14); border-color: rgba(34,211,238,.55); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: #f0fdff; box-shadow: 0 0 14px rgba(67,56,202,.35); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background-color: var(--color-primary-dark); box-shadow: 0 0 32px rgba(34,211,238,.60), 0 0 12px rgba(67,56,202,.45); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 12px rgba(34,211,238,.65); }

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

/* news: featured-top */
/* 首篇横跨全宽 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
                .news-grid > *:first-child { grid-column: span 3; }

/* 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-image: linear-gradient(135deg, rgba(67,56,202,.92) 0%, rgba(49,46,129,.86) 45%, rgba(34,211,238,.62) 100%); color: #f2fbff; }
                .hero-content { position: relative; z-index: 1; text-shadow: 0 0 24px rgba(34,211,238,.45), 0 2px 10px rgba(15,15,45,.55); }

/* 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: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; color: var(--color-primary-dark); }

/* cta: card-style */
.cta-inner { background: var(--color-surface); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: 0 0 34px rgba(34,211,238,.30), inset 0 0 0 1px rgba(67,56,202,.18); border-color: rgba(34,211,238,.45); }

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

/* 条件性装饰 */
.card { border-left: 3px solid var(--color-accent); }

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