/* CSSVariantEngine v3.0 — zh-bspotv.com.cn */
/* Palette: vivid violet-tangerine | Radius: large pillowy | Shadow: multi-layer soft */
/* Spacing: airy generous | Transition: smooth ease */
/* Section layouts: {"news":"masonry-2","features":"horizontal","hero":"centered","testimonials":"grid-3","partners":"scroll","faq":"with-sidebar","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #5b21b6;
    --color-accent: #f97316;
    --color-surface: #fff7ed;
    --color-text: #1e1b4b;
    --rgb-primary: 124,58,237;
    --rgb-accent: 249,115,22;
    --radius-sm: 16px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --shadow-sm: 0 6px 18px rgba(var(--rgb-primary),.08), 0 2px 6px rgba(var(--rgb-accent),.06);
    --shadow-md: 0 12px 32px rgba(var(--rgb-primary),.12), 0 4px 12px rgba(var(--rgb-accent),.08);
    --shadow-lg: 0 20px 48px rgba(var(--rgb-primary),.16), 0 8px 24px rgba(var(--rgb-accent),.1);
    --space-section: 3.5rem;
    --space-card: 2rem;
    --space-gap: 2.25rem;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --heading-weight: 600;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #fef7ff; caret-color: var(--color-accent); accent-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); border: 2px solid rgba(var(--rgb-accent), 0.12); background-color: #ffffff; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); border-color: var(--color-primary); }
a:not([class]) { color: var(--color-accent); transition: var(--transition); text-shadow: 0 1px 2px rgba(var(--rgb-accent), 0.15); }

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

/* news: masonry-2 */
/* 两列瀑布流 */
                .news-grid { column-count: 2; column-gap: var(--space-gap); }
                .news-grid .card { break-inside: avoid; margin-bottom: var(--space-gap); }

/* 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: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; text-shadow: 0 2px 8px rgba(255,255,255,0.2); }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2.5rem; overflow: hidden; animation: partnerScroll 28s ease-in-out infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
                .stats-grid .stat-value { font-size: 3rem; color: var(--color-primary); text-shadow: 0 4px 12px rgba(var(--rgb-primary), 0.2); }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, #fef3c7, #fbcfe8); border-radius: var(--radius-xl); padding: 3.5rem; text-align: center; box-shadow: var(--shadow-lg); border: 3px solid rgba(var(--rgb-primary), 0.15); }

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #7c3aed, #f97316); }
header, .header, .navbar { box-shadow: 0 6px 20px rgba(var(--rgb-primary), 0.15); background-color: #ffffff; border-bottom: 2px solid rgba(var(--rgb-accent), 0.1); }

/* 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: 2.75rem; --space-card: 1.5rem; --space-gap: 1.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; }
}