:root {
    --color-primary: #0ea5e9;
    --color-primary-dark: #0369a1;
    --color-accent: #a78bfa;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --rgb-primary: 14,165,233;
    --rgb-accent: 167,139,250;
    --radius-sm: 3px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --shadow-sm: 0 1px 0 rgba(2,132,199,.10), 0 2px 10px rgba(2,132,199,.06);
    --shadow-md: 0 10px 30px rgba(2, 132, 199, .10), 0 2px 10px rgba(15, 23, 42, .06), 0 1px 0 rgba(255,255,255,.55) inset;
    --shadow-lg: 0 16px 46px rgba(167, 139, 250, .18), 0 8px 22px rgba(2, 132, 199, .12), 0 1px 0 rgba(255,255,255,.62) inset;
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 420ms cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 650;
    --body-line-height: 1.65;
}

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: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition); position: relative; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.card:hover, [class*="card"]:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 70px rgba(167, 139, 250, .22),
        0 14px 34px rgba(2, 132, 199, .14),
        0 0 26px rgba(167, 139, 250, .35);
    border-color: rgba(167, 139, 250, .55);
    animation: haloPulse 1.35s ease-in-out infinite;
}
a:not([class]):hover { color: #7c3aed; }

.hero, [class*="hero"], section:first-of-type { background: radial-gradient(1200px circle at 10% 10%, rgba(14,165,233,.95), rgba(3,105,161,.92) 42%, rgba(167,139,250,.18) 100%); }

.card { border-left: 4px solid rgba(14,165,233,.95); background: #ffffff; }
header, .header, .navbar { box-shadow: 0 6px 22px rgba(2, 132, 199, .12), 0 2px 10px rgba(15, 23, 42, .06); }

@keyframes haloPulse {
    0% { filter: saturate(1) brightness(1); }
    50% { filter: saturate(1.08) brightness(1.03); }
    100% { filter: saturate(1) brightness(1); }
}

/* ========== 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; }
                .news-grid .card { background: rgba(255,255,255,.92); border-radius: calc(var(--radius-lg) + 2px); border: 1px solid rgba(2, 132, 199, .10); }
                .news-grid .card:hover { border-color: rgba(167, 139, 250, .55); }

.fake-accent { accent-color: var(--color-accent); }

/* features: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }
.feature-list .card { border-color: rgba(2, 132, 199, .10); }
.feature-list .card:hover { box-shadow: var(--shadow-lg), 0 0 32px rgba(167, 139, 250, .48); }

/* hero: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }
                .testimonial-list > * .card { background: rgba(255,255,255,.94); border: 1px solid rgba(2, 132, 199, .10); }
                .testimonial-list > * .card:hover { box-shadow: 0 18px 54px rgba(167, 139, 250, .20), 0 10px 28px rgba(2, 132, 199, .12), 0 0 32px rgba(167, 139, 250, .50); }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }
.partner-grid .card { border-radius: var(--radius-md); background: rgba(255,255,255,.96); border: 1px solid rgba(2, 132, 199, .10); box-shadow: 0 10px 24px rgba(2, 132, 199, .08), 0 2px 10px rgba(15, 23, 42, .05); }
.partner-grid .card:hover { box-shadow: 0 18px 46px rgba(167, 139, 250, .16), 0 10px 26px rgba(2, 132, 199, .10), 0 0 24px rgba(167, 139, 250, .40); border-color: rgba(167, 139, 250, .50); }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list .card { background: rgba(255,255,255,.92); border: 1px solid rgba(2, 132, 199, .10); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
                .stats-grid .card { border-radius: var(--radius-md); border: 1px solid rgba(2, 132, 199, .10); background: rgba(255,255,255,.95); }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.72)), radial-gradient(900px circle at 20% 10%, rgba(14,165,233,.25), rgba(14,165,233,0) 50%), radial-gradient(900px circle at 90% 30%, rgba(167,139,250,.22), rgba(167,139,250,0) 55%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: 0 26px 80px rgba(167, 139, 250, .16), 0 16px 40px rgba(2, 132, 199, .10); border: 1px solid rgba(2, 132, 199, .10); }

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; 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; }
}