:root {
    --color-primary: #0f5c8a;
    --color-primary-dark: #0b3b57;
    --color-accent: #ff7a18;
    --color-surface: #e9f7ff;
    --color-text: #0f172a;
    --rgb-primary: 15,92,138;
    --rgb-accent: 255,122,24;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 14px;
    --shadow-sm: 0 1px 0 rgba(2, 6, 23, .06);
    --shadow-md: 0 2px 8px rgba(2, 6, 23, .07), 0 1px 2px rgba(2, 6, 23, .04);
    --shadow-lg: 0 10px 22px rgba(2, 6, 23, .10), 0 3px 8px rgba(2, 6, 23, .06);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.65;
}

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 1px 0 rgba(2, 6, 23, .05),
        0 8px 18px rgba(2, 6, 23, .06);
    padding: var(--space-card);
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
        color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
a:not([class]) {
    color: var(--color-primary);
    transition:
        color 220ms cubic-bezier(0.22, 1, 0.36, 1),
        text-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
    text-shadow: 0 0 0 rgba(0,0,0,0);
}

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

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

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

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

/* 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: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(2, 6, 23, .06),
        0 14px 30px rgba(2, 6, 23, .10),
        0 4px 10px rgba(2, 6, 23, .06);
    border-color: rgba(var(--rgb-primary), .18);
}
a:not([class]):hover {
    color: var(--color-accent);
    text-shadow: 0 8px 22px rgba(255, 122, 24, .22), 0 2px 6px rgba(255, 122, 24, .16);
}
.card {
    border: 1px solid rgba(var(--rgb-primary), .10);
    background:
        linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.65) 100%);
}

/* header and navbar */
header, .header, .navbar {
    box-shadow:
        0 1px 0 rgba(2, 6, 23, .06),
        0 10px 22px rgba(2, 6, 23, .08);
    border-bottom: 1px solid rgba(2, 6, 23, .08);
    backdrop-filter: saturate(1.05) blur(6px);
    -webkit-backdrop-filter: saturate(1.05) 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; }
}