:root {
    --color-primary: #1f3d3a;
    --color-primary-dark: #0b1a18;
    --color-accent: #f0a04b;
    --color-surface: #fdf6ec;
    --color-text: #16120e;
    --rgb-primary: 31,61,58;
    --rgb-accent: 240,160,75;
    --radius-sm: 3px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 22px;
    --shadow-sm: 0 1px 2px rgba(11,26,24,.07), 0 1px 3px rgba(240,160,75,.05);
    --shadow-md: 0 6px 18px -6px rgba(11,26,24,.18), 0 2px 8px -2px rgba(240,160,75,.10);
    --shadow-lg: 0 24px 48px -12px rgba(11,26,24,.28), 0 8px 24px -8px rgba(240,160,75,.16);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #fdf6ec 0%, #fbf1e3 55%, #f7ecdb 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #1f3d3a; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); background: linear-gradient(175deg, #ffffff 0%, #fdf6ec 45%, #f9efe0 100%); }
.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); }
a:not([class]):hover { color: var(--color-accent); }

/* ========== 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: 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: 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: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; color: transparent; background-image: linear-gradient(135deg, #1f3d3a 0%, #3d6b60 45%, #f0a04b 100%); -webkit-background-clip: text; background-clip: text; }

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(150deg, #0b1a18 0%, #1f3d3a 42%, #2f5a4f 72%, #0b1a18 100%); }
.card { border: 1px solid rgba(var(--rgb-accent), .22); background: linear-gradient(160deg, #ffffff 0%, #fdf6ec 100%); }
.card:hover, [class*="card"]:hover { box-shadow: var(--shadow-lg); border-color: rgba(var(--rgb-accent), .48); }
header, .header, .navbar { box-shadow: 0 2px 6px rgba(11,26,24,.10), 0 10px 28px -14px rgba(240,160,75,.36); }

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