:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #3b0764;
    --color-accent: #f59e0b;
    --color-surface: #fef3c7;
    --color-text: #1e1b4b;
    --rgb-primary: 109,40,217;
    --rgb-accent: 245,158,11;
    --radius-sm: 2px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 18px;
    --shadow-sm: 0 1px 3px rgba(109,40,217,.10), 0 1px 2px rgba(245,158,11,.06);
    --shadow-md: 0 4px 12px rgba(109,40,217,.14), 0 12px 28px rgba(59,7,100,.10), 0 1px 0 rgba(255,255,255,.6) inset;
    --shadow-lg: 0 10px 24px rgba(109,40,217,.20), 0 28px 56px rgba(59,7,100,.16), 0 1px 0 rgba(255,255,255,.5) inset;
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.5s 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: linear-gradient(160deg, #fef3c7 0%, #fce7f3 45%, #ede9fe 100%); }
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: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: linear-gradient(145deg, #ffffff 0%, #faf5ff 55%, #fef3c7 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #6d28d9 0%, #a855f7 50%, #f59e0b 100%); color: #fff; border-color: transparent; }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

/* news: masonry-2 */
/* 两列瀑布流 */
                .news-grid { column-count: 2; column-gap: var(--space-gap); }
                .news-grid .card { break-inside: avoid; margin-bottom: 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: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(ellipse at 30% 20%, rgba(168,85,247,.55) 0%, rgba(109,40,217,.75) 45%, rgba(59,7,100,.92) 100%), linear-gradient(120deg, #3b0764 0%, #6d28d9 50%, #f59e0b 100%); }
                .hero-content { position: relative; z-index: 1; color: #fef3c7; text-shadow: 0 2px 12px rgba(59,7,100,.6), 0 1px 3px rgba(0,0,0,.4); }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

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

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

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

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a:not([class]):hover { color: var(--color-accent); }
.card { border: 1px solid rgba(var(--rgb-primary), .18); }
header, .header, .navbar { box-shadow: 0 2px 8px rgba(109,40,217,.10), 0 6px 20px rgba(245,158,11,.08); background: linear-gradient(90deg, #ffffff 0%, #faf5ff 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; }
}