:root {
    --color-primary: #8b5cf6;
    --color-primary-dark: #171126;
    --color-accent: #f5c66b;
    --color-surface: #fbf6ed;
    --color-text: #1c1626;
    --rgb-primary: 139,92,246;
    --rgb-accent: 245,198,107;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 18px;
    --shadow-sm: 0 4px 12px rgba(15, 15, 26, .14), 0 0 0 1px rgba(139, 92, 246, .08);
    --shadow-md: 0 10px 24px rgba(15, 15, 26, .16), 0 0 0 1px rgba(139, 92, 246, .10), 0 0 22px rgba(139, 92, 246, .12);
    --shadow-lg: 0 18px 36px rgba(15, 15, 26, .22), 0 0 0 1px rgba(245, 198, 107, .14), 0 0 30px rgba(245, 198, 107, .16);
    --space-section: 5.5rem;
    --space-card: 2.125rem;
    --space-gap: 1.625rem;
    --transition: 280ms cubic-bezier(.22, 1, .36, 1);
    --heading-weight: 700;
    --body-line-height: 1.75;
}

body { color: #ece7f7; line-height: var(--body-line-height); background-color: #0f0f1a; background-image: radial-gradient(circle at top, rgba(139, 92, 246, .14), transparent 42%), linear-gradient(180deg, #0f0f1a 0%, #131324 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); text-shadow: 0 1px 0 rgba(255, 255, 255, .35), 0 0 18px rgba(139, 92, 246, .14); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); background-color: var(--color-surface); background-image: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 243, 231, .98)); color: var(--color-text); box-shadow: var(--shadow-sm); border-radius: var(--radius-xl); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-card); transition: var(--transition); background-color: #fffaf2; background-image: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 239, 226, .96)); color: var(--color-text); border-left: 3px solid rgba(139, 92, 246, .82); backdrop-filter: blur(12px) saturate(140%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: #fff7ef; box-shadow: var(--shadow-md); }
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: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }

/* hero: split */
/* 左文右图 */
                .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; color: var(--color-text); background-color: rgba(255, 250, 242, .9); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

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

/* cta: full-bg */
.cta-section { background-color: var(--color-primary-dark); background-image: radial-gradient(circle at top, rgba(245, 198, 107, .22), transparent 42%), linear-gradient(135deg, #24163a 0%, #0f0f1a 100%); color: #fff7e8; padding: 4rem 2rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 24px rgba(139, 92, 246, .28), 0 0 48px rgba(245, 198, 107, .12); border-radius: var(--radius-xl); text-shadow: 0 0 18px rgba(245, 198, 107, .22); animation: stagePulse 9s ease-in-out infinite; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 14px rgba(245, 198, 107, .55); }
.card { border-left: 3px solid rgba(245, 198, 107, .72); }

@keyframes stagePulse {
    0%, 100% {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 24px rgba(139, 92, 246, .28), 0 0 48px rgba(245, 198, 107, .12);
        filter: saturate(1);
    }
    50% {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 32px rgba(139, 92, 246, .38), 0 0 56px rgba(245, 198, 107, .2);
        filter: saturate(1.06);
    }
}

/* 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: 2.25rem; --space-card: 1.1rem; --space-gap: 0.85rem; }
    .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; }
}