:root {
    --color-primary: #0f4c81;
    --color-primary-dark: #0b3d66;
    --color-accent: #f97316;
    --color-surface: #f7fbff;
    --color-text: #0f172a;

    --rgb-primary: 15,76,129;
    --rgb-accent: 249,115,22;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;

    --shadow-sm:
        0 1px 0 rgba(15, 23, 42, .10),
        0 6px 14px rgba(2, 132, 199, .10);
    --shadow-md:
        0 1px 0 rgba(15, 23, 42, .12),
        0 10px 26px rgba(2, 132, 199, .12),
        0 2px 6px rgba(249, 115, 22, .10);
    --shadow-lg:
        0 1px 0 rgba(15, 23, 42, .14),
        0 18px 44px rgba(2, 132, 199, .14),
        0 8px 20px rgba(249, 115, 22, .10);

    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;

    --transition: 180ms 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); }
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:
        0 0 0 1px rgba(2, 132, 199, .24),
        0 1px 0 rgba(255, 255, 255, .55) inset,
        0 10px 22px rgba(2, 132, 199, .10),
        0 4px 10px rgba(249, 115, 22, .10);
    padding: var(--space-card);
    transition: var(--transition);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow:
        0 0 0 1px rgba(2, 132, 199, .24),
        0 10px 22px rgba(2, 132, 199, .10);
}
a:not([class]) { color: var(--color-primary); 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; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* 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: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

/* 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: wide */
/* 超宽 */
            .page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 14px rgba(249, 115, 22, .28); }
.hero, [class*="hero"], section:first-of-type {
    background:
        radial-gradient(1200px 500px at 15% 15%, rgba(2, 132, 199, .35), rgba(2, 132, 199, 0) 55%),
        radial-gradient(900px 380px at 85% 25%, rgba(249, 115, 22, .30), rgba(249, 115, 22, 0) 60%),
        linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow:
        0 0 0 1px rgba(2, 132, 199, .18) inset,
        0 18px 50px rgba(2, 132, 199, .16);
}
.card { border-left: 3px solid #22c55e; box-shadow: var(--shadow-md); }
header, .header, .navbar {
    box-shadow:
        0 0 0 1px rgba(2, 132, 199, .16) inset,
        0 2px 10px rgba(2, 132, 199, .12),
        0 8px 24px rgba(15, 23, 42, .08);
    backdrop-filter: blur(6px);
}

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