/* CSSVariantEngine v3.0 — jiuyou-app-web11.com.cn */
/* Palette: ember-gradient | Radius: soft-block | Shadow: layered-gradient */
/* Spacing: comfortable | Transition: smooth */
/* Section layouts: {"news":"featured-top","features":"horizontal","hero":"centered","testimonials":"carousel","partners":"centered","faq":"single-column","stats":"big-number","cta":"split"} */

:root {
    --color-primary: #c2410c;
    --color-primary-dark: #7c2d12;
    --color-accent: #fb923c;
    --color-surface: #fff7ed;
    --color-text: #431407;
    --rgb-primary: 194,65,12;
    --rgb-accent: 251,146,60;
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(124,45,18,0.08), 0 1px 1px rgba(194,65,12,0.06);
    --shadow-md: 0 4px 10px -2px rgba(124,45,18,0.14), 0 2px 4px -1px rgba(194,65,12,0.10), 0 0 0 1px rgba(251,146,60,0.06);
    --shadow-lg: 0 16px 32px -8px rgba(124,45,18,0.22), 0 6px 14px -4px rgba(194,65,12,0.14), 0 0 0 1px rgba(251,146,60,0.08);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { 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-top */
/* 首篇横跨全宽 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
                .news-grid > *:first-child { grid-column: span 3; }

/* features: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* 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: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

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

/* cta: split */
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #7c2d12 0%, #c2410c 42%, #fb923c 78%, #fdba74 100%); }
.card { border-left: 3px solid var(--color-primary); background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%); }
.card:hover { box-shadow: var(--shadow-lg); }
.btn, button[class*="btn"], a[class*="btn"] { background: linear-gradient(120deg, #c2410c 0%, #ea580c 50%, #fb923c 100%); color: #fff7ed; border-color: transparent; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 10px 22px -6px rgba(194,65,12,0.45), 0 4px 10px -3px rgba(251,146,60,0.35); }
.stats-grid .stat-value { background: linear-gradient(120deg, #7c2d12, #c2410c 55%, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partner-grid > * { border-radius: var(--radius-md); background: linear-gradient(145deg, #fff7ed, #ffedd5); border: 1px solid rgba(251,146,60,0.35); }
.faq-list > * { border-radius: var(--radius-md); border: 1px solid rgba(194,65,12,0.18); background: linear-gradient(180deg, #fffbf5, #fff7ed); }
.testimonial-list > * { border-radius: var(--radius-lg); background: linear-gradient(135deg, #ffedd5, #fed7aa); border: 1px solid rgba(194,65,12,0.15); }
.cta-inner { border-radius: var(--radius-xl); background: linear-gradient(120deg, #7c2d12 0%, #c2410c 60%, #ea580c 100%); color: #fff7ed; }

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