:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #1e1638;
    --color-accent: #f5c451;
    --color-surface: #f8f4ff;
    --color-text: #221a35;
    --rgb-primary: 109,40,217;
    --rgb-accent: 245,196,81;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --shadow-sm: 0 0 0 1px rgba(var(--rgb-primary),.14), 0 8px 18px rgba(15,15,26,.14), 0 0 22px rgba(var(--rgb-accent),.16);
    --shadow-md: 0 0 0 1px rgba(var(--rgb-primary),.16), 0 14px 30px rgba(15,15,26,.18), 0 0 24px rgba(var(--rgb-primary),.20), 0 0 10px rgba(var(--rgb-accent),.18);
    --shadow-lg: 0 0 0 1px rgba(var(--rgb-primary),.22), 0 20px 44px rgba(15,15,26,.24), 0 0 32px rgba(var(--rgb-primary),.34), 0 0 18px rgba(var(--rgb-accent),.30);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.34s cubic-bezier(.22,1,.36,1);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: radial-gradient(circle at top, rgba(var(--rgb-primary),.18) 0%, rgba(15,15,26,.96) 38%, #090911 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #fff8e8; text-shadow: 0 2px 14px rgba(var(--rgb-primary),.28), 0 0 18px rgba(var(--rgb-accent),.18); }
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(180deg, rgba(255,251,242,.98) 0%, rgba(244,237,255,.94) 100%); border-color: rgba(var(--rgb-primary),.20); border-style: solid; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #f5c451 0%, #e7a93a 100%); color: #21152f; border-color: rgba(245,196,81,.75); border-style: solid; box-shadow: 0 0 0 1px rgba(255,248,220,.22), 0 10px 24px rgba(245,196,81,.26), 0 0 20px rgba(245,196,81,.28); text-shadow: 0 1px 0 rgba(255,255,255,.28); }
a:not([class]) { color: var(--color-accent); transition: var(--transition); text-shadow: 0 0 12px rgba(var(--rgb-accent),.18); }

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

/* news: list-view */
/* 列表模式 (图左文右) */
                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card { display: grid; grid-template-columns: 280px 1fr; background: linear-gradient(135deg, rgba(255,250,242,.98) 0%, rgba(240,232,255,.95) 100%); }

/* features: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

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

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 24s ease-in-out infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); filter: brightness(1) drop-shadow(0 0 0 rgba(245,196,81,0)); opacity: .92; } 50% { filter: brightness(1.08) drop-shadow(0 0 14px rgba(245,196,81,.30)); opacity: 1; } 100% { transform: translateX(-50%); filter: brightness(1) drop-shadow(0 0 0 rgba(109,40,217,0)); opacity: .92; } }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, #181225 0%, #6d28d9 55%, #f5c451 100%); color: #fff9ee; padding: 4rem 2rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 30px rgba(var(--rgb-primary),.30), 0 0 24px rgba(var(--rgb-accent),.22); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(var(--rgb-primary),.24), 0 22px 46px rgba(15,15,26,.26), 0 0 32px rgba(var(--rgb-primary),.40), 0 0 32px rgba(var(--rgb-accent),.42); filter: brightness(1.02); }
.hero, [class*="hero"], section:first-of-type { background: radial-gradient(circle at 50% 18%, rgba(245,196,81,.22) 0%, rgba(245,196,81,0) 22%), linear-gradient(135deg, #0f0f1a 0%, #24153f 48%, #6d28d9 100%); }
header, .header, .navbar { background: linear-gradient(180deg, rgba(15,15,26,.82) 0%, rgba(15,15,26,.34) 100%); backdrop-filter: blur(12px) saturate(1.15); border-color: rgba(var(--rgb-accent),.16); border-style: solid; box-shadow: 0 10px 28px rgba(0,0,0,.20), 0 0 18px rgba(var(--rgb-primary),.14); }

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