:root {
    --color-primary: #2d5a3d;
    --color-primary-dark: #0f2419;
    --color-accent: #7fb069;
    --color-surface: #f5f1e8;
    --color-text: #1a1a14;
    --rgb-primary: 45,90,61;
    --rgb-accent: 127,176,105;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --shadow-sm: 0 1px 3px rgba(45,90,61,0.06), 0 1px 2px rgba(45,90,61,0.04);
    --shadow-md: 0 4px 16px rgba(45,90,61,0.08), 0 2px 6px rgba(45,90,61,0.05), 0 1px 2px rgba(45,90,61,0.03);
    --shadow-lg: 0 12px 36px rgba(45,90,61,0.1), 0 4px 12px rgba(45,90,61,0.06), 0 1px 3px rgba(45,90,61,0.04);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.55s cubic-bezier(0.25, 1.1, 0.5, 1.0);
    --heading-weight: 600;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: #fdfcf9; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #1a1a14; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
section:nth-child(odd), .section:nth-child(odd) { background: #fdfcf9; }
section:nth-child(even), .section:nth-child(even) { background: #f5f1e8; }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: #ffffff; border: 1px solid rgba(45,90,61,0.06); }
.card:hover, [class*="card"]:hover { box-shadow: var(--shadow-lg); border-color: rgba(127,176,105,0.15); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: var(--color-primary); color: #fdfcf9; border: 1px solid transparent; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background: var(--color-primary-dark); box-shadow: 0 6px 20px rgba(45,90,61,0.2); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(127,176,105,0.4); }

/* ========== 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: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; }
                .hero-content { position: relative; z-index: 1; }

/* 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: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: card-style */
.cta-inner { background: linear-gradient(145deg, #f5f1e8, #ede7d9); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(45,90,61,0.06); }

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(160deg, #2d5a3d, #0f2419); }

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