:root {
    --color-primary: #2b6cb0;
    --color-primary-dark: #1a365d;
    --color-accent: #e53e3e;
    --color-surface: #edf2f7;
    --color-text: #1b1f2a;
    --rgb-primary: 43,108,176;
    --rgb-accent: 229,62,62;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 6px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background: #ffffff;
}

h1, h2, h3, h4 {
    font-weight: var(--heading-weight);
    color: var(--color-text);
}

section, .section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}

.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow: none;
    padding: var(--space-card);
    transition: var(--transition);
    background: #ffffff;
    border: 2px solid #0b1220;
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid #0b1220;
    background: #ffffff;
    color: var(--color-text);
}

a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-decoration: none;
    border-bottom: 2px solid rgba(43, 108, 176, 0.35);
}

a:not([class]):hover {
    border-bottom-color: rgba(229, 62, 62, 0.65);
}

section, .section, header, .header, .navbar, .hero, [class*="hero"], section:first-of-type {
    text-shadow: none;
}

/* ========== 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;
                    background: #ffffff;
                    border-color: #111827;
                    border-radius: 6px;
                }
                .news-grid .card * { box-shadow: none; }

/* 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; }
                .feature-list > * {
                    border: 2px solid #0b1220;
                    border-radius: 6px;
                    background: #ffffff;
                    box-shadow: none;
                    transition: var(--transition);
                }

/* 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%; }
                .testimonial-list > * {
                    background: #ffffff;
                    border: 2px solid #0b1220;
                    border-radius: 6px;
                    box-shadow: none;
                }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.partner-grid > * {
    border: 2px solid #0b1220;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
    transition: var(--transition);
}

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list > * {
    border: 2px solid #0b1220;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
}

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; }
                .stats-grid > * {
                    border: 2px solid #0b1220;
                    border-radius: 6px;
                    background: #ffffff;
                    box-shadow: none;
                }

/* cta: card-style */
.cta-inner { background: var(--color-surface); border-radius: var(--radius-xl); padding: 3rem; text-align: center; border: 2px solid #0b1220; box-shadow: none; }

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type {
    background: #0b132b;
    border-top: 6px solid var(--color-accent);
    border-bottom: 6px solid var(--color-primary);
    color: #ffffff;
    text-shadow: none;
}
header, .header, .navbar { box-shadow: none; border-bottom: 3px solid rgba(0,0,0,.25); background: #ffffff; }

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