:root {
    --color-primary: #0b3a2e;
    --color-primary-dark: #061a14;
    --color-accent: #ffb703;
    --color-surface: #fffdf6;
    --color-text: #0b1220;
    --rgb-primary: 11,58,46;
    --rgb-accent: 255,183,3;
    --radius-sm: 0px;
    --radius-md: 2px;
    --radius-lg: 3px;
    --radius-xl: 4px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.15s cubic-bezier(.2,.9,.2,1);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #ffffff 0%, #fffdf6 35%, #f7f2e6 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); letter-spacing: -0.02em; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); position: relative; }
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow:
        4px 4px 0 rgba(5, 23, 18, 0.75),
        0 10px 24px rgba(5, 23, 18, 0.10);
    padding: var(--space-card);
    transition: var(--transition);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,253,246,0.96) 100%);
    border: 2px solid rgba(11,58,46,0.22);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid rgba(11,58,46,0.25);
    box-shadow:
        2px 2px 0 rgba(6, 26, 20, 0.65),
        0 10px 20px rgba(6, 26, 20, 0.10);
}
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-shadow: 0 1px 0 rgba(255,255,255,0.6); }

section::before,
.section::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0;
    transition: var(--transition);
}

/* ========== 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: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.25rem; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* hero: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }

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

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 0 rgba(0,0,0,0), 0 0 18px rgba(255,183,3,0.35); }
.card { border-left: 3px solid #2bb673; }
header, .header, .navbar {
    box-shadow:
        4px 4px 0 rgba(6, 26, 20, 0.65),
        0 16px 30px rgba(6, 26, 20, 0.12);
    border: 2px solid rgba(11,58,46,0.20);
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,253,246,0.92) 100%);
}

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