:root {
    --color-primary: #0b3a91;
    --color-primary-dark: #062a6b;
    --color-accent: #ff4d6d;
    --color-surface: #fff2cc;
    --color-text: #101828;
    --rgb-primary: 11,58,145;
    --rgb-accent: 255,77,109;
    --radius-sm: 0;
    --radius-md: 0px;
    --radius-lg: 2px;
    --radius-xl: 3px;
    --shadow-sm: 4px 4px 0px rgba(11,58,145,.18), 1px 1px 0px rgba(0,0,0,.12);
    --shadow-md: 4px 4px 0px rgba(6,42,107,.25), 0px 10px 18px rgba(0,0,0,.10);
    --shadow-lg: 5px 5px 0px rgba(255,77,109,.22), 0px 14px 24px rgba(0,0,0,.12);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.15s cubic-bezier(0.2, 1, 0.2, 1);
    --heading-weight: 700;
    --body-line-height: 1.7;

    --strip-0: #ffffff;
    --strip-1: #fff3d1;
    --strip-2: #0b3a91;
    --strip-3: #ffffff;

    --border-strong: rgba(16,24,40,.18);
    --border-strong-2: rgba(11,58,145,.25);
    --text-shadow: 0px 1px 0px rgba(0,0,0,.18);
    --focus-ring: rgba(255,77,109,.45);
}

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-xl);
    box-shadow:
        4px 4px 0px rgba(6,42,107,.28),
        0px 12px 0px rgba(255,77,109,.05),
        0px 18px 28px rgba(0,0,0,.10);
    padding: var(--space-card);
    transition: var(--transition);
    border: 2px solid rgba(16,24,40,.12);
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid rgba(16,24,40,.18);
}

a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-shadow: var(--text-shadow);
}

a:not([class]):hover {
    color: var(--color-accent);
    text-decoration-color: rgba(255,77,109,.85);
}

section:first-of-type,
.hero, [class*="hero"] {
    background: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,.95)),
                linear-gradient(135deg, #0b3a91 0%, #062a6b 38%, #ff4d6d 100%);
    background-blend-mode: soft-light, normal;
    border-bottom: 3px solid rgba(255,77,109,.35);
}

.card { border-left: 3px solid var(--color-primary); }

header, .header, .navbar { background: transparent; border-bottom: 2px solid rgba(16,24,40,.08); }

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

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

/* news: masonry-2 */
/* 两列瀑布流 */
.news-grid { column-count: 2; column-gap: var(--space-gap); }
.news-grid .card {
    break-inside: avoid;
    margin-bottom: var(--space-gap);
    border-left-color: rgba(11,58,145,.95);
    box-shadow:
        4px 4px 0px rgba(11,58,145,.26),
        0px 10px 0px rgba(0,0,0,.04),
        0px 18px 26px rgba(0,0,0,.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 100%);
}

/* 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-radius: 2px;
    border: 2px solid rgba(16,24,40,.14);
    box-shadow:
        4px 4px 0px rgba(255,77,109,.20),
        0px 14px 26px rgba(0,0,0,.10);
}

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
.testimonial-list > * {
    break-inside: avoid;
    margin-bottom: var(--space-gap);
    border-left-color: rgba(255,77,109,.95);
    box-shadow:
        4px 4px 0px rgba(255,77,109,.22),
        0px 10px 0px rgba(11,58,145,.05),
        0px 18px 26px rgba(0,0,0,.10);
    background:
        radial-gradient(120% 70% at 10% 0%, rgba(255,77,109,.14) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.90) 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%); } }

.partner-grid .card, .partner-grid [class*="card"] {
    border-left-color: rgba(11,58,145,.95);
    box-shadow:
        4px 4px 0px rgba(6,42,107,.22),
        0px 10px 0px rgba(0,0,0,.04),
        0px 18px 26px rgba(0,0,0,.10);
}

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list .card {
    border-radius: 2px;
    border: 2px solid rgba(16,24,40,.14);
    box-shadow:
        4px 4px 0px rgba(11,58,145,.22),
        0px 14px 30px rgba(0,0,0,.10);
}

/* stats: big-number */
/* 大数字居中 */
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stats-grid .stat-value { font-size: 3rem; text-shadow: var(--text-shadow); }
.stats-grid .stat-value {
    color: #0b3a91;
}
.stats-grid .card {
    border-left-color: rgba(255,77,109,.95);
    box-shadow:
        4px 4px 0px rgba(255,77,109,.20),
        0px 12px 0px rgba(0,0,0,.03),
        0px 18px 26px rgba(0,0,0,.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,243,209,.55) 100%);
}

/* cta: full-bg */
.cta-section {
    background:
        linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,77,109,.12) 100%),
        linear-gradient(135deg, #0b3a91 0%, #062a6b 55%, #ff4d6d 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    border-top: 3px solid rgba(255,77,109,.55);
    border-bottom: 3px solid rgba(11,58,145,.55);
    box-shadow:
        0px -3px 0px rgba(0,0,0,.10) inset,
        0px 18px 34px rgba(0,0,0,.18);
}

.cta-section a:not([class]) { color: #ffffff; text-shadow: 0px 1px 0px rgba(0,0,0,.25); }
.cta-section a:not([class]):hover { color: rgba(255,243,209,.98); }

/* Page Layout: wide */
/* 超宽 */
.page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0b3a91, #062a6b); }

/* 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; --transition: 0.15s cubic-bezier(0.2, 1, 0.2, 1); }
    .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; }
}