:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #4c1d95;
    --color-accent: #f97316;
    --color-surface: #fff7ed;
    --color-text: #1f2937;
    --rgb-primary: 109,40,217;
    --rgb-accent: 249,115,22;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --shadow-sm: 0 1px 0 rgba(17,24,39,.06);
    --shadow-md: 0 1px 0 rgba(17,24,39,.06), 0 10px 24px rgba(17,24,39,.06);
    --shadow-lg: 0 1px 0 rgba(17,24,39,.07), 0 14px 40px rgba(17,24,39,.08), 0 2px 8px rgba(109,40,217,.10);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 160ms cubic-bezier(.2,.8,.2,1);
    --heading-weight: 800;
    --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: 8px;
    background:
        radial-gradient(1000px 300px at 10% -10%, rgba(249,115,22,.10), transparent 60%),
        radial-gradient(900px 260px at 90% 0%, rgba(109,40,217,.10), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.78));
    box-shadow:
        0 1px 0 rgba(17,24,39,.07),
        0 6px 16px rgba(17,24,39,.08),
        inset 0 0 0 1px rgba(109,40,217,.10);
    padding: var(--space-card);
    transition:
        background 160ms cubic-bezier(.2,.8,.2,1),
        box-shadow 160ms cubic-bezier(.2,.8,.2,1),
        transform 160ms cubic-bezier(.2,.8,.2,1),
        border-left-color 160ms cubic-bezier(.2,.8,.2,1);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: 7px;
    transition:
        background 160ms cubic-bezier(.2,.8,.2,1),
        box-shadow 160ms cubic-bezier(.2,.8,.2,1),
        transform 160ms cubic-bezier(.2,.8,.2,1),
        color 160ms cubic-bezier(.2,.8,.2,1),
        border-color 160ms cubic-bezier(.2,.8,.2,1);
}
a:not([class]) {
    color: #6d28d9;
    transition: 160ms cubic-bezier(.2,.8,.2,1);
    text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

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

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

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

/* 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: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; }

/* cta: full-bg */
.cta-section {
    background:
        radial-gradient(1200px 500px at 15% 20%, rgba(249,115,22,.35), transparent 55%),
        radial-gradient(1200px 500px at 85% 10%, rgba(255,255,255,.18), transparent 50%),
        linear-gradient(135deg, #6d28d9 0%, #4c1d95 50%, #7c3aed 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.14),
        0 20px 60px rgba(76,29,149,.20);
}

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

/* 条件性装饰 */
.card { border-left: 3px solid #f97316; }
header, .header, .navbar {
    box-shadow:
        0 1px 0 rgba(17,24,39,.08),
        0 14px 32px rgba(17,24,39,.10),
        inset 0 -1px 0 rgba(109,40,217,.18);
    background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.62));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(109,40,217,.14);
}

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