/* CSSVariantEngine v3.0 — xika-kaiyunapp.com */
/* Palette: editorial-cream | Radius: editorial | Shadow: layered-warm */
/* Spacing: comfortable | Transition: editorial-smooth */
/* Section layouts: {"news":"list-view","features":"grid-2","hero":"minimal","testimonials":"carousel","partners":"centered","faq":"two-column","stats":"inline","cta":"full-bg"} */

:root {
    --color-primary: #c44536;
    --color-primary-dark: #8f2f24;
    --color-accent: #6b705c;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 196,69,54;
    --rgb-accent: 107,112,92;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 14px;
    --radius-xl: 22px;
    --shadow-sm: 0 1px 2px rgba(26,26,26,.06), 0 3px 10px rgba(196,69,54,.07);
    --shadow-md: 0 2px 4px rgba(26,26,26,.05), 0 10px 28px rgba(196,69,54,.10), 0 0 0 1px rgba(107,112,92,.05);
    --shadow-lg: 0 4px 10px rgba(26,26,26,.06), 0 20px 48px rgba(196,69,54,.14), 0 0 0 1px rgba(107,112,92,.06);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #f5f1e8 0%, #efe9dc 55%, #e9e2d2 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); 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: list-view */
/* 列表模式 (图左文右) */
                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card { display: grid; grid-template-columns: 280px 1fr; }

/* 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: 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: 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, #c44536 0%, #a83a2c 45%, #6b705c 100%); color: #f5f1e8; padding: 4rem 2rem; box-shadow: inset 0 1px 0 rgba(245,241,232,.14), inset 0 -1px 0 rgba(26,26,26,.18); }

/* 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, #1a1a1a 0%, #2b2723 40%, #c44536 100%); }
.card { border: 1px solid rgba(107,112,92, .22); background: linear-gradient(180deg, #fdfbf6 0%, #f5f1e8 100%); }

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