/* CSSVariantEngine v3.0 — cn9-leyu.com.cn */
/* Palette: navy | Radius: moderate | Shadow: none */
/* Spacing: comfortable | Transition: quick */
/* Section layouts: {"news":"list-view","features":"grid-4","hero":"centered","testimonials":"carousel","partners":"centered","faq":"with-sidebar","stats":"grid-3","cta":"full-bg"} */

:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #2e1065;
    --color-accent: #fbbf24;
    --color-surface: #1a1a2e;
    --color-text: #e5e7eb;
    --rgb-primary: 109,40,217;
    --rgb-accent: 251,191,36;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 16px;
    --shadow-sm: 0 0 12px rgba(251,191,36,0.15);
    --shadow-md: 0 0 24px rgba(251,191,36,0.25), 0 4px 16px rgba(0,0,0,0.6);
    --shadow-lg: 0 0 32px rgba(251,191,36,0.35), 0 8px 24px rgba(0,0,0,0.7);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: #0f0f1a; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #ffffff; text-shadow: 0 0 24px rgba(251,191,36,0.4); }
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), 0 0 0 1px rgba(251,191,36,0.2); padding: var(--space-card); transition: var(--transition); background: rgba(26,26,46,0.85); backdrop-filter: blur(10px); color: var(--color-text); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #6d28d9, #4c1d95); color: #ffffff; box-shadow: 0 0 0 1px rgba(251,191,36,0.4), 0 0 16px rgba(109,40,217,0.4); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 0 0 1px rgba(251,191,36,0.6), 0 0 32px rgba(251,191,36,0.6); }
a:not([class]) { color: var(--color-accent); transition: var(--transition); text-decoration-color: rgba(251,191,36,0.5); }
a:not([class]):hover { color: #fde68a; text-shadow: 0 0 12px rgba(251,191,36,0.6); }

/* ========== 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-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }

/* 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: 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: full-bg */
.cta-section { background: linear-gradient(135deg, #2e1065, #0f0f1a); color: #f8fafc; padding: 4rem 2rem; box-shadow: inset 0 0 60px rgba(251,191,36,0.1); animation: ctaGlow 4s ease-in-out infinite alternate; }

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
@keyframes ctaGlow {
    0% { box-shadow: inset 0 0 60px rgba(251,191,36,0.1), 0 0 24px rgba(251,191,36,0.2); }
    100% { box-shadow: inset 0 0 80px rgba(251,191,36,0.2), 0 0 48px rgba(251,191,36,0.4); }
}

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