/* CSSVariantEngine v3.0 — quickwc-official.com */
/* Palette: editorial-cream | Radius: minimal | Shadow: flat-solid */
/* Spacing: comfortable | Transition: smooth */
/* Section layouts: {"news":"grid-3","features":"horizontal","hero":"split","testimonials":"masonry","partners":"scroll","faq":"single-column","stats":"inline","cta":"full-bg"} */

:root {
    --color-primary: #c44536;
    --color-primary-dark: #8f2d22;
    --color-accent: #6b705c;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 196,69,54;
    --rgb-accent: 107,112,92;
    --radius-sm: 0;
    --radius-md: 2px;
    --radius-lg: 4px;
    --radius-xl: 6px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f5f1e8; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #1a1a1a; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: none; padding: var(--space-card); transition: var(--transition); background-color: #fdfbf6; border: 1px solid #e0d9c8; }
.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: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* 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: split */
/* 左文右图 */
                .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

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

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: full-bg */
.cta-section { background: #c44536; color: #f5f1e8; padding: 4rem 2rem; border-top: 4px solid #8f2d22; border-bottom: 4px solid #8f2d22; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: none; background-color: #f5f1e8; border-color: #c44536; }
.hero, [class*="hero"], section:first-of-type { background: #f5f1e8; border-bottom: 3px solid #1a1a1a; }
.card { border-left: 3px solid #c44536; }
header, .header, .navbar { box-shadow: none; border-bottom: 2px solid #1a1a1a; background-color: #fdfbf6; }

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