:root {
    --color-primary: #2f6fed;
    --color-primary-dark: #1e4fb0;
    --color-accent: #22c55e;
    --color-surface: #f6fbff;
    --color-text: #0f172a;
    --rgb-primary: 47,111,237;
    --rgb-accent: 34,197,94;
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-sm:
        0 1px 0 rgba(2, 6, 23, .05),
        0 8px 24px rgba(2, 6, 23, .06);
    --shadow-md:
        0 1px 0 rgba(2, 6, 23, .05),
        0 12px 34px rgba(15, 23, 42, .10),
        0 2px 10px rgba(47, 111, 237, .10);
    --shadow-lg:
        0 1px 0 rgba(2, 6, 23, .06),
        0 18px 52px rgba(15, 23, 42, .14),
        0 8px 20px rgba(47, 111, 237, .14);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 320ms cubic-bezier(.2,.9,.2,1);
    --heading-weight: 700;
    --body-line-height: 1.75;
}

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:
        0 1px 0 rgba(2, 6, 23, .05),
        0 10px 30px rgba(15, 23, 42, .10),
        0 2px 12px rgba(47, 111, 237, .10);
    padding: var(--space-card);
    transition: transform 360ms cubic-bezier(.2,.9,.2,1), box-shadow 360ms cubic-bezier(.2,.9,.2,1), background-color 360ms cubic-bezier(.2,.9,.2,1), color 360ms cubic-bezier(.2,.9,.2,1), border-color 360ms cubic-bezier(.2,.9,.2,1);
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(246,251,255,.78) 100%);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: transform 320ms cubic-bezier(.2,.9,.2,1), box-shadow 320ms cubic-bezier(.2,.9,.2,1), background-color 320ms cubic-bezier(.2,.9,.2,1), color 320ms cubic-bezier(.2,.9,.2,1), border-color 320ms cubic-bezier(.2,.9,.2,1);
}
a:not([class]) {
    color: var(--color-primary);
    transition: color 320ms cubic-bezier(.2,.9,.2,1), text-shadow 320ms cubic-bezier(.2,.9,.2,1);
    text-shadow: 0 1px 0 rgba(255,255,255,.45);
}

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

/* news: featured-left */
/* 左大右小 (1大+2小) */
                .news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--space-gap); }
                .news-grid > *:first-child { grid-row: span 2; }

/* features: grid-2 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--space-gap) * 1.5); }

/* hero: minimal */
.hero { padding: 2rem 0; } .hero-content { max-width: 560px; }

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

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* 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: wide */
/* 超宽 */
            .page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
.card:hover, [class*="card"]:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(2, 6, 23, .06),
        0 22px 66px rgba(15, 23, 42, .16),
        0 10px 28px rgba(47, 111, 237, .18);
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,251,255,.88) 100%);
}
a:not([class]):hover {
    color: var(--color-accent);
    text-shadow: 0 10px 26px rgba(34, 197, 94, .25), 0 1px 0 rgba(255,255,255,.55);
}
header, .header, .navbar {
    box-shadow:
        0 1px 0 rgba(2, 6, 23, .04),
        0 10px 26px rgba(15, 23, 42, .08),
        0 2px 10px rgba(47, 111, 237, .08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(246,251,255,.56) 100%);
    backdrop-filter: blur(10px) saturate(1.15);
    -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

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