:root {
    --color-primary: #5b21b6;
    --color-primary-dark: #2e1065;
    --color-accent: #f97316;
    --color-surface: #fff6e8;
    --color-text: #1f1236;
    --rgb-primary: 91,33,182;
    --rgb-accent: 249,115,22;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --shadow-sm: 0 0 0 rgba(0,0,0,0);
    --shadow-md: 0 10px 30px rgba(45, 18, 95, .10), 0 2px 10px rgba(249,115,22,.08);
    --shadow-lg: 0 18px 50px rgba(45, 18, 95, .18), 0 0 0 1px rgba(249,115,22,.08), 0 0 34px rgba(249,115,22,.14);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
    --heading-weight: 700;
    --body-line-height: 1.7;
    --glow-accent: rgba(249,115,22,.45);
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #ffffff 0%, #fff8ee 55%, #ffffff 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), 0 0 0 1px rgba(91,33,182,.10) inset; padding: var(--space-card); transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 520ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 520ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 520ms cubic-bezier(0.2, 0.9, 0.2, 1); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 520ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 520ms cubic-bezier(0.2, 0.9, 0.2, 1), color 520ms cubic-bezier(0.2, 0.9, 0.2, 1); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-shadow: 0 1px 0 rgba(255,255,255,.35); }

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

/* news: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

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

/* hero: minimal */
.hero { padding: 2rem 0; } .hero-content { max-width: 560px; }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

/* partners: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); 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: card-style */
.cta-inner { background: radial-gradient(1200px 280px at 50% -40px, rgba(249,115,22,.18) 0%, rgba(249,115,22,0) 58%), linear-gradient(180deg, #fff2d9 0%, #fff8ee 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: 0 18px 70px rgba(91,33,182,.12), 0 0 0 1px rgba(249,115,22,.10) inset, 0 0 26px rgba(249,115,22,.10); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 0 24px rgba(var(--rgb-accent), .35); border-color: rgba(var(--rgb-accent), .25); animation: glowPulse 1200ms ease-in-out infinite; }
.card { border: 1px solid rgba(var(--rgb-primary), .12); background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(255,246,232,.70) 100%); }
.card, [class*="card"] { caret-color: rgba(var(--rgb-accent), .95); }

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

@keyframes glowPulse {
    0% { filter: saturate(1) brightness(1); }
    50% { filter: saturate(1.08) brightness(1.03); box-shadow: var(--shadow-lg), 0 0 38px rgba(var(--rgb-accent), .48); }
    100% { filter: saturate(1) brightness(1); }
}