/* CSSVariantEngine v3.0 — play5-3377tiyu.com.cn */
/* Palette: warm-minimal | Radius: airy | Shadow: pillowy */
/* Spacing: vertical-flow | Transition: gentle */
/* Section layouts: {"news":"grid-3","features":"grid-4","hero":"centered","testimonials":"carousel","partners":"grid-4","faq":"single-column","stats":"big-number","cta":"centered"} */

:root {
    --color-primary: #87a878;
    --color-primary-dark: #5f7d5a;
    --color-accent: #c47b5a;
    --color-surface: #f3ede4;
    --color-text: #2d2d2d;
    --rgb-primary: 135, 168, 120;
    --rgb-accent: 196, 123, 90;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --shadow-sm: 0 1px 2px rgba(45, 45, 45, 0.04), 0 2px 8px rgba(45, 45, 45, 0.05);
    --shadow-md: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 4px rgba(45, 45, 45, 0.04), 0 16px 40px rgba(45, 45, 45, 0.07);
    --shadow-lg: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 8px rgba(45, 45, 45, 0.05), 0 32px 64px rgba(45, 45, 45, 0.09);
    --space-section: 3.5rem;
    --space-card: 1.5rem;
    --space-gap: 1.15rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
    accent-color: var(--color-accent);
    caret-color: var(--color-accent);
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #faf8f3; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
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-color: #fffdf9; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); background-color: var(--color-primary); color: #faf8f3; box-shadow: var(--shadow-sm); transition: var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(135, 168, 120, 0.35); }

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

/* news: grid-3 */
/* 三列等宽网格 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* features: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }

/* 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: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }

/* 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: 2.2rem; }
.stats-grid .stat-value { font-size: 3rem; color: var(--color-primary-dark); }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #e7eddf 0%, #faf8f3 55%, #f5eee4 100%); }
.card { border-left: 3px solid var(--color-accent); }
header, .header, .navbar { box-shadow: 0 1px 3px rgba(45, 45, 45, 0.03), 0 6px 18px rgba(45, 45, 45, 0.05); background-color: rgba(250, 248, 243, 0.92); }

/* 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: 2.25rem; --space-card: 1.15rem; --space-gap: 0.85rem; }
    .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; }
}