/* CSSVariantEngine v3.0 — spotlight-gold + airy-rhythm */
/* Palette: dark-stage gold | Radius: pillowy | Shadow: layered warm */
/* Spacing: airy | Transition: fluid */
/* Section layouts (fixed): {"news":"featured-left","features":"centered","hero":"split","testimonials":"grid-3","partners":"grid-4","faq":"with-sidebar","stats":"big-number","cta":"centered"} */

:root {
    --color-primary: #d0a032;
    --color-primary-dark: #8a5d13;
    --color-accent: #efce74;
    --color-surface: #f8f2e6;
    --color-text: #241a0d;
    --rgb-primary: 208,160,50;
    --rgb-accent: 239,206,116;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(71, 47, 8, 0.05), 0 6px 16px -4px rgba(71, 47, 8, 0.10);
    --shadow-md: 0 2px 4px rgba(71, 47, 8, 0.04), 0 16px 30px -8px rgba(71, 47, 8, 0.16);
    --shadow-lg: 0 4px 8px rgba(71, 47, 8, 0.05), 0 28px 56px -12px rgba(71, 47, 8, 0.20);
    --space-section: 2.375rem;
    --space-card: 1.1875rem;
    --space-gap: 0.875rem;
    --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { background: radial-gradient(1200px 480px at 50% -10%, rgba(208, 160, 50, 0.08), transparent 65%), #f7f1e3; color: var(--color-text); line-height: var(--body-line-height); }
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); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

/* news: featured-left */
/* 左大右小 (1大+2小) */
                .news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--space-gap); }
                .news-grid > *:first-child { grid-row: span 2; }

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

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

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

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; }

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

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hero, [class*="hero"], section:first-of-type { background: radial-gradient(900px 420px at 78% 8%, rgba(239, 206, 116, 0.18), transparent 62%), linear-gradient(135deg, #1b1328 0%, #0e0c17 58%, #251704 100%); }
header, .header, .navbar { box-shadow: 0 1px 2px rgba(12, 8, 0, 0.05), 0 8px 24px -8px rgba(12, 8, 0, 0.18); }

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