:root {
    --color-primary: #334155;
    --color-primary-dark: #0b1220;
    --color-accent: #3b82f6;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --rgb-primary: 51,65,85;
    --rgb-accent: 59,130,246;
    --radius-sm: 3px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-sm: 0 6px 16px rgba(2, 6, 23, .08);
    --shadow-md: 0 18px 36px rgba(2, 6, 23, .10);
    --shadow-lg: 0 26px 70px rgba(2, 6, 23, .14), 0 10px 24px rgba(59,130,246,.10);
    --space-section: 3.75rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 520ms cubic-bezier(0.18, 0.95, 0.22, 1);
    --heading-weight: 700;
    --body-line-height: 1.65;
    --card-bg: rgba(255,255,255,.92);
    --outline: rgba(59,130,246,.35);
    --text-glow: rgba(59,130,246,.18);
    --nav-shadow: rgba(2, 6, 23, .08);
}

body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #e6eef8 0%, #f2f5fb 100%); }
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:
        0 1px 0 rgba(148,163,184,.28),
        0 10px 26px rgba(2, 6, 23, .08),
        0 26px 70px rgba(2, 6, 23, .10),
        0 0 0 1px rgba(15, 23, 42, .04) inset;
    padding: var(--space-card);
    transition:
        transform 520ms cubic-bezier(0.18, 0.95, 0.22, 1),
        box-shadow 520ms cubic-bezier(0.18, 0.95, 0.22, 1),
        background-color 520ms cubic-bezier(0.18, 0.95, 0.22, 1),
        border-color 520ms cubic-bezier(0.18, 0.95, 0.22, 1);
    background: var(--card-bg);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow:
        0 1px 0 rgba(148,163,184,.35),
        0 14px 30px rgba(2, 6, 23, .10);
}
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-shadow: 0 0 0 rgba(0,0,0,0); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 18px var(--text-glow); }

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

/* news: featured-top */
/* 首篇横跨全宽 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
                .news-grid > *:first-child { grid-column: span 3; }

/* 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: split */
/* 左文右图 */
                .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* 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: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

/* stats: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(148,163,184,.38),
        0 14px 30px rgba(2, 6, 23, .10),
        0 34px 90px rgba(2, 6, 23, .14),
        0 0 0 1px rgba(59,130,246,.18) inset;
}
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type {
    background:
        radial-gradient(1200px 420px at 10% 10%, rgba(59,130,246,.22) 0%, rgba(59,130,246,.00) 55%),
        radial-gradient(900px 360px at 95% 0%, rgba(148,163,184,.18) 0%, rgba(148,163,184,.00) 60%),
        linear-gradient(135deg, #334155 0%, #0b1220 100%);
}
header, .header, .navbar {
    box-shadow:
        0 2px 10px rgba(2, 6, 23, .08),
        0 10px 30px rgba(2, 6, 23, .08),
        0 0 0 1px rgba(148,163,184,.12) inset;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 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: 2.5rem; --space-card: 1.1rem; --space-gap: 0.95rem; --radius-lg: 16px; --radius-md: 10px; --transition: 480ms cubic-bezier(0.18, 0.95, 0.22, 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; }
}