:root {
    --color-primary: #8b5e3c;
    --color-primary-dark: #5c3b24;
    --color-accent: #d9a441;
    --color-surface: #fbf5ec;
    --color-text: #2e241d;
    --rgb-primary: 139,94,60;
    --rgb-accent: 217,164,65;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 3px 8px rgba(92,59,36,0.08), 0 10px 24px -14px rgba(46,36,29,0.18);
    --shadow-md: 0 6px 14px rgba(92,59,36,0.08), 0 24px 48px -18px rgba(46,36,29,0.16);
    --shadow-lg: 0 10px 24px rgba(92,59,36,0.1), 0 30px 60px -20px rgba(46,36,29,0.22);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #fffdf9 0%, #f7efe3 100%); caret-color: var(--color-primary); accent-color: var(--color-accent); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #3a2b20; text-shadow: 0 1px 0 rgba(255,255,255,0.7); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
section:nth-of-type(4n+1), .section:nth-of-type(4n+1) { background: linear-gradient(180deg, #fffefd 0%, #fff8f1 100%); }
section:nth-of-type(4n+2), .section:nth-of-type(4n+2) { background: linear-gradient(180deg, #fbf2e4 0%, #f3e4cf 100%); }
section:nth-of-type(4n+3), .section:nth-of-type(4n+3) { background: linear-gradient(180deg, #3d2d22 0%, #241912 100%); color: #f8efe3; }
section:nth-of-type(4n+3) h1, section:nth-of-type(4n+3) h2, section:nth-of-type(4n+3) h3, section:nth-of-type(4n+3) h4, .section:nth-of-type(4n+3) h1, .section:nth-of-type(4n+3) h2, .section:nth-of-type(4n+3) h3, .section:nth-of-type(4n+3) h4 { color: #fff5ea; text-shadow: 0 1px 10px rgba(0,0,0,0.18); }
section:nth-of-type(4n+4), .section:nth-of-type(4n+4) { background: linear-gradient(180deg, #fffdfa 0%, #fdf6ee 100%); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(251,245,236,0.98) 100%); border-color: rgba(139,94,60,0.16); border-style: solid; backdrop-filter: blur(10px) saturate(1.05); filter: saturate(1.02); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(180deg, #a9764a 0%, #8b5e3c 100%); color: #fff8f0; border-color: rgba(92,59,36,0.35); border-style: solid; box-shadow: 0 6px 14px rgba(139,94,60,0.2), 0 18px 36px -18px rgba(46,36,29,0.3); text-shadow: 0 1px 1px rgba(0,0,0,0.18); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background: linear-gradient(180deg, #b68454 0%, #996645 100%); box-shadow: 0 10px 20px rgba(139,94,60,0.24), 0 24px 44px -20px rgba(46,36,29,0.34); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(217,164,65,0.65); text-shadow: 0 1px 0 rgba(255,255,255,0.45); }
a:not([class]):hover { color: var(--color-primary-dark); text-decoration-color: rgba(92,59,36,0.72); }

/* ========== 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: grid-2 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--space-gap) * 1.5); }

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

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

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

/* 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: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

/* 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.05) brightness(1.01); }
.card { border-left: 3px solid var(--color-primary); outline: 1px dashed rgba(217,164,65,0.22); outline-color: rgba(217,164,65,0.22); }
header, .header, .navbar { background: linear-gradient(180deg, rgba(255,250,244,0.92) 0%, rgba(247,238,226,0.9) 100%); box-shadow: 0 4px 10px rgba(92,59,36,0.06), 0 20px 40px -18px rgba(46,36,29,0.18); border-color: rgba(139,94,60,0.12); border-style: solid; backdrop-filter: blur(12px) saturate(1.08); }

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