:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #1e40af;
    --color-accent: #06b6d4;
    --color-surface: #f1f5f9;
    --color-text: #1e293b;
    --rgb-primary: 59,130,246;
    --rgb-accent: 6,182,212;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 8px -2px rgba(59,130,246,.18);
    --shadow-md: 0 1px 2px rgba(15,23,42,.07), 0 8px 20px -6px rgba(30,58,138,.22), 0 20px 40px -20px rgba(6,182,212,.28);
    --shadow-lg: 0 2px 4px rgba(15,23,42,.08), 0 14px 32px -10px rgba(30,58,138,.28), 0 30px 60px -28px rgba(59,130,246,.35);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background: linear-gradient(168deg, #f8fafc 0%, #eef2f7 38%, #e2e8f0 72%, #dbe3ee 100%);
    caret-color: var(--color-primary);
    accent-color: var(--color-primary);
}
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(226,232,240,.45) 100%);
}
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    background: linear-gradient(152deg, #ffffff 0%, #f8fafc 46%, #eef2f7 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        inset 0 0 0 1px rgba(59,130,246,.12),
        0 1px 2px rgba(15,23,42,.06),
        0 10px 26px -10px rgba(30,58,138,.26),
        0 26px 52px -30px rgba(6,182,212,.34);
    padding: var(--space-card);
    transition: var(--transition);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 48%, #1d4ed8 74%, #06b6d4 100%);
    color: #ffffff;
    border-color: rgba(30,64,175,.35);
    outline-color: rgba(6,182,212,.6);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        0 2px 4px rgba(30,64,175,.26),
        0 12px 26px -10px rgba(59,130,246,.5);
    transition: var(--transition);
}
a:not([class]) { color: var(--color-primary); text-decoration-color: rgba(59,130,246,.45); transition: var(--transition); }

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

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: minimal */
.hero {
    padding: 2rem 0;
    background: radial-gradient(120% 120% at 50% 0%, rgba(59,130,246,.14) 0%, rgba(6,182,212,.07) 42%, rgba(59,130,246,0) 72%);
}
.hero-content { max-width: 560px; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; }
                .testimonial-list > * { flex: 0 0 100%; }

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

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: full-bg */
.cta-section {
    background: linear-gradient(128deg, #1e293b 0%, #1e3a8a 34%, #1e40af 58%, #3b82f6 82%, #06b6d4 100%);
    color: #f8fafc;
    padding: 4rem 2rem;
    box-shadow: inset 0 1px 0 rgba(148,163,184,.25), inset 0 -1px 0 rgba(15,23,42,.4);
}

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
a:not([class]):hover {
    color: var(--color-accent);
    text-shadow: 0 1px 12px rgba(6,182,212,.4);
}
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;
        --radius-lg: 18px;
        --shadow-md: 0 1px 2px rgba(15,23,42,.07), 0 6px 16px -8px rgba(30,58,138,.24), 0 16px 34px -22px rgba(6,182,212,.3);
    }
    .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; }
}