:root {
    --color-primary: #0d9488;
    --color-primary-dark: #134e4a;
    --color-accent: #f97316;
    --color-surface: #f0fdfa;
    --color-text: #0f172a;
    --rgb-primary: 13,148,136;
    --rgb-accent: 249,115,22;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-sm: 0 1px 2px rgba(13,148,136,.16), 0 2px 6px rgba(15,23,42,.06);
    --shadow-md: 0 6px 14px -4px rgba(13,148,136,.24), 0 14px 30px -10px rgba(15,23,42,.20);
    --shadow-lg: 0 18px 38px -14px rgba(13,148,136,.30), 0 34px 66px -26px rgba(15,23,42,.26);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.55s cubic-bezier(0.22, 1.25, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: radial-gradient(1200px 620px at 8% -12%, #ccfbf1 0%, #f0fdfa 48%, #fffbeb 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); }
.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); }

/* ========== Section Layout Variants ========== */

/* news: list-view */
/* 列表模式 (图左文右) */
.news-grid { display: flex; flex-direction: column; gap: var(--space-gap); background: linear-gradient(160deg, #ecfeff 0%, #f0fdfa 52%, #fef3c7 100%); border-radius: var(--radius-xl); }
.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; background: linear-gradient(135deg, #042f2e 0%, #115e59 46%, #0d9488 78%, #f97316 100%); border-radius: var(--radius-xl); }
.feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

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

/* testimonials: carousel */
/* 单条轮播 */
.testimonial-list { display: flex; overflow: hidden; background: linear-gradient(125deg, #fff7ed 0%, #fef3c7 42%, #ccfbf1 100%); border-radius: var(--radius-xl); }
.testimonial-list > * { flex: 0 0 100%; }

/* partners: scroll */
/* 自动滚动 */
.partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; background: linear-gradient(90deg, #f0fdfa 0%, #e0f2fe 35%, #ccfbf1 70%, #fed7aa 100%); border-radius: var(--radius-xl); }
@keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); background: linear-gradient(200deg, #ccfbf1 0%, #ecfeff 55%, #fef3c7 100%); border-radius: var(--radius-xl); }

/* stats: inline */
/* 水平排列 */
.stats-grid { display: flex; justify-content: center; gap: 3rem; background: linear-gradient(120deg, #134e4a 0%, #0d9488 45%, #0ea5e9 72%, #f97316 100%); border-radius: var(--radius-xl); }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 45%, #fde68a 100%); border-radius: var(--radius-xl); }

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
.page-main { max-width: 1200px; margin: 0 auto; }

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0f172a 0%, #134e4a 34%, #0d9488 68%, #f97316 100%); }
.card { border-left: 3px solid var(--color-accent); }
header, .header, .navbar { box-shadow: 0 1px 0 rgba(13,148,136,.22), 0 6px 20px -8px rgba(13,148,136,.38), 0 14px 34px -18px rgba(15,23,42,.30); }

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