:root {
    --color-primary: #6b705c;
    --color-primary-dark: #1f1c17;
    --color-accent: #c44536;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 107,112,92;
    --rgb-accent: 196,69,54;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-sm: 0 3px 8px rgba(26, 26, 26, 0.05), 0 10px 24px -14px rgba(26, 26, 26, 0.16);
    --shadow-md: 0 4px 10px rgba(26, 26, 26, 0.06), 0 18px 36px -12px rgba(26, 26, 26, 0.14);
    --shadow-lg: 0 8px 18px rgba(26, 26, 26, 0.08), 0 28px 56px -18px rgba(26, 26, 26, 0.2);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.4s ease;
    --heading-weight: 800;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: var(--color-surface); caret-color: var(--color-accent); accent-color: var(--color-accent); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-primary-dark); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45); }
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); background: linear-gradient(180deg, rgba(255, 252, 246, 0.96) 0%, rgba(245, 241, 232, 0.92) 100%); border-color: rgba(107, 112, 92, 0.16); border-style: solid; backdrop-filter: blur(6px); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #c44536 0%, #a53a2e 100%); color: #fdf8f1; border-color: rgba(164, 58, 46, 0.55); border-style: solid; box-shadow: 0 6px 14px rgba(196, 69, 54, 0.18), 0 16px 30px -16px rgba(196, 69, 54, 0.35); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(196, 69, 54, 0.35); }

/* ========== Section Layout Variants ========== */

/* news: masonry-2 */
/* 两列瀑布流 */
                .news-grid { column-count: 2; column-gap: var(--space-gap); }
                .news-grid .card { break-inside: avoid; margin-bottom: var(--space-gap); box-shadow: 0 5px 12px rgba(26, 26, 26, 0.05), 0 22px 42px -18px rgba(107, 112, 92, 0.2); }

/* 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: left-aligned */
.hero-content { text-align: left; max-width: 600px; color: var(--color-primary-dark); }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, #6b705c 0%, #4f5443 55%, #3f4336 100%); color: #fffaf2; padding: 4rem 2rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 40px -20px rgba(31, 28, 23, 0.5); }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 14px rgba(196, 69, 54, 0.16); }
header, .header, .navbar { background: linear-gradient(180deg, rgba(245, 241, 232, 0.88) 0%, rgba(245, 241, 232, 0.28) 100%); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(107, 112, 92, 0.1); }

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