:root {
    --color-primary: #0f3b6c;
    --color-primary-dark: #0a2b4d;
    --color-accent: #2dd4bf;
    --color-surface: #f6fbff;
    --color-text: #0b1220;

    --rgb-primary: 15,59,108;
    --rgb-accent: 45,212,191;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 0 rgba(15, 59, 108, 0.06), 0 10px 30px rgba(11, 18, 32, 0.06);
    --shadow-md: 0 10px 30px rgba(11, 18, 32, 0.08), 0 1px 0 rgba(15, 59, 108, 0.08);
    --shadow-lg: 0 22px 55px rgba(11, 18, 32, 0.12), 0 2px 0 rgba(45, 212, 191, 0.12);

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

    --transition: 260ms cubic-bezier(.2,.9,.2,1);
    --heading-weight: 700;
    --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: var(--shadow-md);
    padding: var(--space-card);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition), background-color var(--transition);
    background:
        radial-gradient(1200px 500px at 20% 0%, rgba(45, 212, 191, 0.12), transparent 55%),
        radial-gradient(900px 420px at 80% 10%, rgba(15, 59, 108, 0.12), transparent 60%),
        var(--color-surface);
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}

a:not([class]) {
    color: var(--color-primary);
    transition: color var(--transition), text-shadow var(--transition), filter var(--transition);
    text-shadow: 0 0 0 rgba(0,0,0,0);
}

a:not([class]):hover {
    filter: saturate(1.05);
    color: var(--color-accent);
    text-shadow: 0 10px 30px rgba(45, 212, 191, 0.35);
}

/* ========== 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);
                    box-shadow:
                        0 14px 38px rgba(11, 18, 32, 0.09),
                        0 1px 0 rgba(var(--rgb-primary), 0.10);
                    border-radius: var(--radius-lg);
                    border: 1px solid rgba(var(--rgb-primary), .10);
                }

/* 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 .card {
                    border-radius: calc(var(--radius-lg) + 2px);
                    box-shadow:
                        0 18px 45px rgba(11, 18, 32, 0.10),
                        0 2px 0 rgba(var(--rgb-primary), 0.12),
                        inset 0 1px 0 rgba(255,255,255,0.55);
                }

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.testimonial-list .card {
    border-radius: var(--radius-xl);
    box-shadow:
        0 24px 65px rgba(11, 18, 32, 0.10),
        0 2px 0 rgba(var(--rgb-accent), 0.16),
        inset 0 1px 0 rgba(255,255,255,0.62);
    border: 1px solid rgba(var(--rgb-primary), 0.10);
}

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.partner-grid .card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(var(--rgb-accent), 0.18);
    box-shadow:
        0 16px 42px rgba(11, 18, 32, 0.08),
        0 1px 0 rgba(15, 59, 108, 0.10);
}

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list .card {
    border-radius: var(--radius-lg);
    box-shadow:
        0 18px 48px rgba(11, 18, 32, 0.08),
        0 1px 0 rgba(15, 59, 108, 0.10);
}

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
                .stats-grid .card {
                    border-radius: 22px;
                    box-shadow:
                        0 20px 55px rgba(11, 18, 32, 0.10),
                        0 1px 0 rgba(15, 59, 108, 0.12);
                }

/* cta: card-style */
.cta-inner {
    background:
        radial-gradient(900px 450px at 10% 10%, rgba(45, 212, 191, 0.22), transparent 55%),
        radial-gradient(700px 380px at 90% 0%, rgba(15, 59, 108, 0.22), transparent 60%),
        linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(239, 250, 255, 0.92));
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    box-shadow:
        0 28px 80px rgba(11, 18, 32, 0.12),
        0 3px 0 rgba(var(--rgb-accent), 0.14),
        inset 0 1px 0 rgba(255,255,255,0.70);
    border: 1px solid rgba(var(--rgb-primary), 0.12);
}

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 90px rgba(11, 18, 32, 0.15),
        0 3px 0 rgba(var(--rgb-accent), 0.18),
        inset 0 1px 0 rgba(255,255,255,0.72);
    border-color: rgba(var(--rgb-accent), 0.26);
}

.hero, [class*="hero"], section:first-of-type {
    background:
        radial-gradient(900px 420px at 15% 10%, rgba(45, 212, 191, 0.28), transparent 55%),
        radial-gradient(700px 360px at 85% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
        linear-gradient(135deg, #0f3b6c, #0a2b4d);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

.card { border: 1px solid rgba(var(--rgb-primary), .12); }

header, .header, .navbar { background: transparent; }

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