:root {
    --color-primary: #e11d6f;
    --color-primary-dark: #9d174d;
    --color-accent: #f59e0b;
    --color-surface: #fdf4f8;
    --color-text: #3b0a26;
    --rgb-primary: 225,29,111;
    --rgb-accent: 245,158,11;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 5px rgba(157,23,77,.12), 0 1px 2px rgba(245,158,11,.08);
    --shadow-md: 0 8px 18px -4px rgba(157,23,77,.18), 0 3px 8px rgba(245,158,11,.1);
    --shadow-lg: 0 18px 34px -8px rgba(157,23,77,.22), 0 8px 16px -6px rgba(225,29,111,.14);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: radial-gradient(circle at 20% 0%, #fff1f7 0%, #fdf4f8 45%, #fef7ec 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: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: linear-gradient(160deg, #ffffff 0%, #fff5f9 55%, #fff9ef 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #e11d6f 0%, #f43f5e 50%, #f59e0b 100%); color: #fff; box-shadow: 0 6px 16px -4px rgba(225,29,111,.4); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

/* ========== 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; background: linear-gradient(135deg, #fce7f3 0%, #fef3c7 60%, #ffedd5 100%); box-shadow: var(--shadow-lg); }

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }
                .feature-list > * { background: linear-gradient(150deg, #ffffff 0%, #fdf2f8 50%, #fef9ec 100%); box-shadow: var(--shadow-md); }

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }
                .testimonial-list > * { background: linear-gradient(135deg, #fff7fb 0%, #fef3f8 55%, #fffaf0 100%); box-shadow: var(--shadow-md); }

/* 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: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, #9d174d 0%, #e11d6f 45%, #f59e0b 100%); color: #fff; padding: 4rem 2rem; box-shadow: var(--shadow-lg); }

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #e11d6f 0%, #be185d 40%, #9d174d 70%, #7c2d12 100%); }

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