/* CSSVariantEngine v3.0 — trend-group-leyu.com */
/* Palette: violet | Radius: medium-glow | Shadow: glow-halo */
/* Spacing: balanced | Transition: smooth-glow */
/* Section layouts: {"news":"list-view","features":"grid-2","hero":"centered","testimonials":"carousel","partners":"grid-6","faq":"single-column","stats":"grid-4","cta":"full-bg"} */

:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #5b21b6;
    --color-accent: #a78bfa;
    --color-surface: #f5f3ff;
    --color-text: #2e1065;
    --rgb-primary: 124,58,237;
    --rgb-accent: 167,139,250;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 0 10px rgba(124,58,237,.12), 0 1px 3px rgba(46,16,101,.06);
    --shadow-md: 0 0 20px rgba(124,58,237,.18), 0 2px 8px rgba(46,16,101,.08);
    --shadow-lg: 0 0 32px rgba(124,58,237,.24), 0 4px 14px rgba(46,16,101,.1);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    --heading-weight: 600;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
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: var(--shadow-md); padding: var(--space-card); transition: var(--transition); }
.card:hover, [class*="card"]:hover { box-shadow: 0 0 32px rgba(167,139,250,.6), 0 0 48px rgba(124,58,237,.3), 0 4px 16px rgba(46,16,101,.12); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); box-shadow: 0 0 16px rgba(167,139,250,.35); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 0 28px rgba(167,139,250,.65), 0 0 44px rgba(124,58,237,.35); }
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); }
                .news-grid .card { display: grid; grid-template-columns: 280px 1fr; }

/* features: grid-2 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--space-gap) * 1.5); }

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

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, #5b21b6, #7c3aed 50%, #6d28d9); color: #f5f3ff; padding: 4rem 2rem; box-shadow: 0 0 48px rgba(124,58,237,.35) inset; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 12px rgba(167,139,250,.7); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #5b21b6, #7c3aed 40%, #a78bfa); box-shadow: 0 0 60px rgba(124,58,237,.3) inset; }
.card { border: 1px solid rgba(var(--rgb-primary), .12); }

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