:root {
    --color-primary: #0b3b66;
    --color-primary-dark: #06243f;
    --color-accent: #ff4d2e;
    --color-surface: #f3fbff;
    --color-text: #06121f;

    --rgb-primary: 11,59,102;
    --rgb-accent: 255,77,46;
    --radius-sm: 0px;
    --radius-md: 3px;
    --radius-lg: 2px;
    --radius-xl: 4px;

    --shadow-sm: 4px 4px 0 rgba(var(--rgb-primary), 0.9);
    --shadow-md: 5px 5px 0 rgba(var(--rgb-primary), 0.95);
    --shadow-lg: 6px 6px 0 rgba(var(--rgb-primary), 0.95);

    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.15s cubic-bezier(.2,.8,.2,1);
    --heading-weight: 650;
    --body-line-height: 1.65;

    --border-strong: rgba(6,18,31,0.22);
    --card-border: rgba(6,18,31,0.18);
    --card-stroke: rgba(11,59,102,0.35);
}

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);
    padding: var(--space-card);
    transition: var(--transition);
    box-shadow:
        4px 4px 0 rgba(var(--rgb-primary), 0.95),
        10px 10px 0 rgba(255,77,46,0.12),
        0 14px 28px rgba(0,0,0,0.12);
    border: 3px solid var(--card-stroke);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74));
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid rgba(var(--rgb-accent), 0.65);
    box-shadow:
        3px 3px 0 rgba(var(--rgb-accent), 0.85);
}

a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-shadow: none;
}

a:not([class]):hover { color: var(--color-accent); }

.hero, [class*="hero"], section:first-of-type {
    background:
        linear-gradient(135deg,
            #0b3b66 0%,
            #0a2e52 35%,
            #ff4d2e 85%,
            #06243f 100%);
}

 /* ========== 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;
    box-shadow:
        4px 4px 0 rgba(var(--rgb-primary), 0.95),
        0 0 0 2px rgba(255,77,46,0.30) inset,
        0 16px 32px rgba(0,0,0,0.14);
    border-color: rgba(11,59,102,0.48);
}

/* 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: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.testimonial-list .card {
    border-radius: 0px;
    border-style: solid;
    border-color: rgba(255,77,46,0.45);
    box-shadow:
        4px 4px 0 rgba(255,77,46,0.85),
        0 0 0 2px rgba(11,59,102,0.35) inset,
        0 18px 36px rgba(0,0,0,0.13);
}

/* partners: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }
.partner-grid .card {
    border-radius: 2px;
    border-color: rgba(6,18,31,0.22);
    box-shadow:
        5px 5px 0 rgba(6,18,31,0.65),
        0 0 0 2px rgba(11,59,102,0.22) inset,
        0 12px 24px rgba(0,0,0,0.10);
    background:
        radial-gradient(120% 120% at 10% 10%, rgba(255,77,46,0.22), rgba(255,255,255,0.75) 55%),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.70));
}

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
.faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.faq-wrapper .card {
    border-radius: 3px;
    border-color: rgba(11,59,102,0.40);
    box-shadow:
        4px 4px 0 rgba(11,59,102,0.95),
        0 0 0 2px rgba(255,77,46,0.25) inset,
        0 20px 42px rgba(0,0,0,0.16);
}

/* stats: inline */
/* 水平排列 */
.stats-grid { display: flex; justify-content: center; gap: 3rem; }
.stats-grid .card {
    border-radius: 0px;
    border-color: rgba(255,77,46,0.40);
    box-shadow:
        4px 4px 0 rgba(255,77,46,0.88),
        8px 8px 0 rgba(11,59,102,0.10),
        0 16px 30px rgba(0,0,0,0.12);
}

/* cta: full-bg */
.cta-section {
    background:
        linear-gradient(110deg,
            #ff4d2e 0%,
            #ff6a2f 25%,
            #0b3b66 70%,
            #06243f 100%);
    color: #f7fbff;
    padding: 4rem 2rem;

    border-top: 3px solid rgba(255,255,255,0.22);
    border-bottom: 3px solid rgba(6,18,31,0.28);
    box-shadow:
        6px 6px 0 rgba(255,77,46,0.85),
        0 26px 60px rgba(0,0,0,0.20);
}

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
.page-main { max-width: 1200px; margin: 0 auto; }

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