:root {
    --color-primary: #0b2a4a;
    --color-primary-dark: #071425;
    --color-accent: #ffb703;
    --color-surface: #fff7e6;
    --color-text: #071425;
    --rgb-primary: 11,42,74;
    --rgb-accent: 255,183,3;
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --radius-xl: 4px;
    --shadow-sm: 4px 4px 0 rgba(7,20,37,.18), 6px 10px 18px rgba(0,0,0,.08);
    --shadow-md: 4px 4px 0 rgba(7,20,37,.22), 8px 14px 26px rgba(2,8,23,.12);
    --shadow-lg: 4px 4px 0 rgba(7,20,37,.28), 10px 18px 36px rgba(0,0,0,.16);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.15s cubic-bezier(.18,.89,.35,1.15);
    --heading-weight: 800;
    --body-line-height: 1.7;
    --focus-ring: rgba(255,183,3,.85);
    --strip-a: #ffffff;
    --strip-b: #fff4d6;
    --strip-c: #071425;
}

body { color: var(--color-text); line-height: var(--body-line-height); background: var(--strip-a); }
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: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: #ffffff; border: 3px solid rgba(7,20,37,.16); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); border: 2px solid rgba(7,20,37,.22); }
a:not([class]) { color: #0b3a66; transition: var(--transition); text-decoration-color: rgba(255,183,3,.75); }

:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* ========== 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); background: linear-gradient(180deg, #ffffff 0%, #fff8e8 100%); border-color: rgba(7,20,37,.14); }
                .news-grid .card:hover { border-color: rgba(255,183,3,.55); }

/* features: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }
.feature-list .card { background: linear-gradient(180deg, #ffffff 0%, #fff2cc 100%); border-color: rgba(7,20,37,.14); }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; }
                .hero-content { position: relative; z-index: 1; }
                .hero, [class*="hero"], section:first-of-type {
                    background:
                        linear-gradient(90deg, rgba(255,183,3,.15) 0%, rgba(255,183,3,0) 46%),
                        linear-gradient(135deg, #071425 0%, #0b2a4a 55%, #102f52 100%);
                    border-bottom: 3px solid rgba(255,183,3,.35);
                }
                .hero .hero-content, .hero-content { color: #ffffff; }
                .hero .hero-content .card, .hero-content .card { background: rgba(255,255,255,.98); border-color: rgba(7,20,37,.22); }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }
                .testimonial-list .card { background: linear-gradient(180deg, #ffffff 0%, #fff6df 100%); border-color: rgba(7,20,37,.12); }
                .testimonial-list .card:hover { box-shadow: var(--shadow-lg); border-color: rgba(255,183,3,.6); }

/* 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 [class*="card"] { background: #ffffff; border-color: rgba(7,20,37,.14); box-shadow: var(--shadow-sm); }
                .partner-grid [class*="card"]:hover { box-shadow: var(--shadow-md); }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list .card { background: linear-gradient(180deg, #ffffff 0%, #ffefd0 100%); border-color: rgba(7,20,37,.14); }

/* stats: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }
.stats-grid .card { background: linear-gradient(180deg, #ffffff 0%, #fff3d6 100%); border-color: rgba(7,20,37,.12); }
.stats-grid .card svg, .stats-grid .card svg * { fill: rgba(11,42,74,.95); stroke: rgba(11,42,74,.95); }

/* cta: split */
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.cta-inner .card { background: #ffffff; border-color: rgba(7,20,37,.22); }
.cta-inner .btn, .cta-inner button[class*="btn"], .cta-inner a[class*="btn"] { background: #0b2a4a; color: #ffffff; border-color: rgba(255,183,3,.55); }
.cta-inner .btn:hover, .cta-inner button[class*="btn"]:hover, .cta-inner a[class*="btn"]:hover {
    background: #071425;
    box-shadow: 4px 4px 0 rgba(255,183,3,.35), 10px 18px 40px rgba(0,0,0,.18);
}

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(255,183,3,.65); }
.hero, [class*="hero"], section:first-of-type { background:
    linear-gradient(0deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(135deg, #071425 0%, #0b2a4a 45%, #102f52 100%); }
.card { border-left: 4px solid #ffb703; }
header, .header, .navbar { box-shadow: 4px 4px 0 rgba(7,20,37,.18), 0 18px 38px rgba(0,0,0,.10); border-bottom: 3px solid rgba(255,183,3,.35); background: rgba(255,255,255,.96); }

/* Text effects */
.card .title, .card h1, .card h2, .card h3, .card h4 { text-shadow: 0 1px 0 rgba(255,183,3,.18); }
.hero .title, .hero h1, .hero h2, .hero h3, .hero h4 { text-shadow: 0 2px 0 rgba(255,183,3,.18), 0 10px 30px rgba(0,0,0,.35); }
.navbar a { color: #0b2a4a; }
.navbar a:hover { color: #071425; text-decoration-thickness: 2px; }

/* Horizontal strips backgrounds (full-width sections) */
section, .section { background: transparent; }
section:nth-of-type(odd), .section:nth-of-type(odd) { background: var(--strip-a); border-top: 3px solid rgba(7,20,37,.10); }
section:nth-of-type(even), .section:nth-of-type(even) { background: var(--strip-b); border-top: 3px solid rgba(7,20,37,.10); }
section:nth-of-type(3n), .section:nth-of-type(3n) { background: #071425; }
section:nth-of-type(3n) .card, section:nth-of-type(3n) [class*="card"], .section:nth-of-type(3n) .card, .section:nth-of-type(3n) [class*="card"] {
    background: rgba(255,255,255,.98);
    border-color: rgba(255,183,3,.55);
    box-shadow: var(--shadow-sm);
}
section:nth-of-type(3n), .section:nth-of-type(3n) { color: #ffffff; }
section:nth-of-type(3n) a:not([class]), .section:nth-of-type(3n) a:not([class]) { color: #ffb703; text-decoration-color: rgba(255,183,3,.85); }

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

    .card, [class*="card"] { border-radius: 4px; }
    header, .header, .navbar { box-shadow: 4px 4px 0 rgba(7,20,37,.18), 0 14px 28px rgba(0,0,0,.10); }
}

/* snappier feel on small screens */
@media (max-width: 640px) {
    :root { --space-section: 2rem; --space-card: 1rem; --space-gap: 0.75rem; --transition: 0.12s cubic-bezier(.18,.89,.35,1.15); }
    .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; }

    .card, [class*="card"] { border-width: 0; border-style: solid; border-color: rgba(7,20,37,.16); border-radius: 3px; }
    .btn, button[class*="btn"], a[class*="btn"] { border-radius: 3px; }
}