:root {
    --color-primary: #c89b2f;
    --color-primary-dark: #3b245f;
    --color-accent: #f1d78a;
    --color-surface: #f8f3e7;
    --color-text: #1f1830;
    --rgb-primary: 200,155,47;
    --rgb-accent: 241,215,138;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 4px 10px rgba(21, 16, 37, .14), 0 1px 0 rgba(255, 244, 214, .35) inset;
    --shadow-md: 0 14px 30px rgba(24, 18, 42, .16), 0 4px 12px rgba(200, 155, 47, .14), 0 1px 0 rgba(255, 248, 226, .5) inset;
    --shadow-lg: 0 22px 44px rgba(16, 12, 30, .24), 0 10px 24px rgba(59, 36, 95, .18), 0 0 0 1px rgba(241, 215, 138, .18);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: radial-gradient(circle at top, #2b1d43 0%, #171326 34%, #0f0f1a 100%); caret-color: var(--color-primary); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #fff7de; text-shadow: 0 2px 10px rgba(15, 15, 26, .35); }
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(155deg, rgba(255, 250, 238, .98) 0%, rgba(246, 237, 214, .96) 52%, rgba(232, 218, 182, .94) 100%); border-color: rgba(195, 152, 58, .34); border-style: solid; backdrop-filter: blur(10px) saturate(1.1); filter: saturate(1.03); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #f0d487 0%, #c89b2f 48%, #8c6630 100%); color: #1a1428; box-shadow: 0 10px 22px rgba(200, 155, 47, .24), 0 2px 6px rgba(26, 20, 40, .2), inset 0 1px 0 rgba(255, 247, 221, .7); border-color: rgba(255, 232, 171, .55); border-style: solid; text-shadow: none; accent-color: var(--color-primary); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(241, 215, 138, .55); }

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

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

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

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

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

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

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

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, #26193c 0%, #4b2f73 38%, #c89b2f 100%); color: #fff8e8; padding: 4rem 2rem; box-shadow: inset 0 1px 0 rgba(255, 239, 194, .22), 0 -16px 40px rgba(15, 15, 26, .18); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); filter: saturate(1.08) brightness(1.02); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 14px rgba(241, 215, 138, .25); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(145deg, #120f1f 0%, #2e1f4b 28%, #5a3b86 62%, #c89b2f 100%); color: #fff8e8; }
.card { border: 1px solid rgba(200, 155, 47, .24); border-image: linear-gradient(135deg, rgba(255, 237, 186, .75), rgba(200, 155, 47, .45), rgba(59, 36, 95, .5)) 1; }
header, .header, .navbar { background: linear-gradient(180deg, rgba(18, 15, 31, .78) 0%, rgba(18, 15, 31, .28) 72%, rgba(18, 15, 31, 0) 100%); backdrop-filter: blur(14px) saturate(1.15); }

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