:root {
    --color-primary: #ff4d6d;
    --color-primary-dark: #b5173f;
    --color-accent: #00c2a8;
    --color-surface: #fff6f0;
    --color-text: #101014;
    --rgb-primary: 255,77,109;
    --rgb-accent: 0,194,168;
    --radius-sm: 0px;
    --radius-md: 2px;
    --radius-lg: 4px;
    --radius-xl: 6px;
    --shadow-sm: 2px 2px 0 #101014;
    --shadow-md: 0 0 0 2px #101014, 5px 5px 0 #ff4d6d;
    --shadow-lg: 0 0 0 2px #101014, 6px 6px 0 #00c2a8;
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.5rem;
    --transition: 0.15s cubic-bezier(.34,1.56,.64,1);
    --heading-weight: 600;
    --body-line-height: 1.75;
    accent-color: #ff4d6d;
}

body { color: var(--color-text); line-height: var(--body-line-height); background: #fbf8f3; caret-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); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: #ffffff; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

.news-grid .card { background: #fff6f0; box-shadow: 0 0 0 2px #101014, 5px 5px 0 #ff4d6d; }
.feature-list > * { background: #eafaf7; box-shadow: 0 0 0 2px #101014, 5px 5px 0 #00c2a8; border-radius: var(--radius-lg); }
.testimonial-list > * { background: #fff0f5; box-shadow: 0 0 0 2px #101014, 5px 5px 0 #ffb020; border-radius: var(--radius-lg); }
.partner-grid > * { background: #f3f0ff; box-shadow: 0 0 0 2px #101014, 4px 4px 0 #7b2cff; border-radius: var(--radius-sm); }
.stats-grid > * { background: #fffbe6; box-shadow: 0 0 0 2px #101014, 4px 4px 0 #a3e635; border-radius: var(--radius-lg); }
.faq-wrapper > * { background: #ffffff; box-shadow: 0 0 0 2px #101014, 4px 4px 0 #ff4d6d; border-radius: var(--radius-lg); }

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

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: radial-gradient(circle at 85% 12%, rgba(255,176,32,.55), transparent 55%), linear-gradient(135deg, #ff4d6d 0%, #7b2cff 55%, #00c2a8 100%); }

.hero h1, .hero h2, [class*="hero"] h1, [class*="hero"] h2, section:first-of-type h1, section:first-of-type h2 { text-shadow: 4px 4px 0 #101014; }

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