:root {
    --color-primary: #0f172a;
    --color-primary-dark: #020617;
    --color-accent: #f59e0b;
    --color-surface: #fef3c7;
    --color-text: #111827;
    --rgb-primary: 15,23,42;
    --rgb-accent: 245,158,11;

    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 6px;

    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;

    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;

    --transition: 180ms cubic-bezier(.2,.8,.2,1);
    --heading-weight: 600;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
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: none; padding: var(--space-card); transition: var(--transition); border: 1px solid rgba(17,24,39,.12); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); border: 1px solid rgba(2,6,23,.18); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-underline-offset: 3px; }
a:not([class]):focus { outline: 2px solid rgba(245,158,11,.45); outline-offset: 3px; border-radius: var(--radius-sm); }

.card::selection, [class*="card"]::selection { background: rgba(245,158,11,.28); color: var(--color-primary); }
:focus { scroll-margin-top: 8px; }

.hero, [class*="hero"], section:first-of-type { background: #ffffff; border-top: 1px solid rgba(2,6,23,.12); border-bottom: 1px solid rgba(2,6,23,.12); }
.hero { padding: 2rem 0; }
header, .header, .navbar { background: transparent; }

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

/* news: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* 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: minimal */
.hero-content { max-width: 560px; }
.hero-content { border-radius: 0; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }
.testimonial-list { border-top: 1px solid rgba(2,6,23,.10); border-bottom: 1px solid rgba(2,6,23,.10); }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }
.partner-grid { border-top: 1px solid rgba(2,6,23,.10); }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list { border-left: 1px solid rgba(2,6,23,.08); border-right: 1px solid rgba(2,6,23,.08); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
.stats-grid { border-top: 1px solid rgba(2,6,23,.10); }

/* cta: full-bg */
.cta-section { background: var(--color-primary); color: #ffffff; padding: 4rem 2rem; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.cta-section { text-shadow: none; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }

/* Horizontal-strips visual identity: alternate strong zones */
section, .section { background: #ffffff; }
section:nth-of-type(odd), .section:nth-of-type(odd) { background: #ffffff; }
section:nth-of-type(even), .section:nth-of-type(even) { background: #fef3c7; }
section:nth-of-type(3n), .section:nth-of-type(3n) { background: #0f172a; color: #ffffff; }
section:nth-of-type(4n), .section:nth-of-type(4n) { background: #ffffff; }
section:nth-of-type(5n), .section:nth-of-type(5n) { background: #fde68a; }

section:nth-of-type(3n) .card, section:nth-of-type(3n) [class*="card"],
.section:nth-of-type(3n) .card, .section:nth-of-type(3n) [class*="card"] { border-color: rgba(255,255,255,.16); color: #ffffff; background: transparent; }

section:nth-of-type(3n) a:not([class]) { color: #fbbf24; }
section:nth-of-type(3n) a:not([class]):hover { color: #f59e0b; }
section:nth-of-type(3n) .btn, section:nth-of-type(3n) button[class*="btn"], section:nth-of-type(3n) a[class*="btn"],
.section:nth-of-type(3n) .btn, .section:nth-of-type(3n) button[class*="btn"], .section:nth-of-type(3n) a[class*="btn"] { border-color: rgba(255,255,255,.20); color: #ffffff; background: transparent; }

section:nth-of-type(odd) .card, section:nth-of-type(odd) [class*="card"],
.section:nth-of-type(odd) .card, .section:nth-of-type(odd) [class*="card"] { background: #ffffff; border-color: rgba(2,6,23,.10); color: var(--color-text); }

section:nth-of-type(even) .card, section:nth-of-type(even) [class*="card"],
.section:nth-of-type(even) .card, .section:nth-of-type(even) [class*="card"] { background: #fef3c7; border-color: rgba(2,6,23,.12); }

section .card:hover, [class*="card"]:hover { opacity: .98; }

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