/* CSSVariantEngine v3.0 — go-jiuyouguanwang.com.cn */
/* Palette: centered-stage | Radius: medium-rounded | Shadow: glow-effects */
/* Spacing: symmetric-spacious | Transition: smooth-glow */
/* Section layouts: {"news":"masonry-2","features":"grid-3","hero":"overlay","testimonials":"carousel","partners":"grid-6","faq":"single-column","stats":"inline","cta":"full-bg"} */

:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #0f0f1a;
    --color-accent: #f59e0b;
    --color-surface: #1e1e35;
    --color-text: #f8fafc;
    --rgb-primary: 124,58,237;
    --rgb-accent: 245,158,11;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 0 12px rgba(var(--rgb-accent), 0.15);
    --shadow-md: 0 0 24px rgba(var(--rgb-accent), 0.4);
    --shadow-lg: 0 0 32px rgba(var(--rgb-accent), 0.5);
    --space-section: 5.5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: var(--color-primary-dark); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); text-align: center; }
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); background-color: var(--color-surface); }
.card:hover { box-shadow: 0 0 32px rgba(var(--rgb-accent), 0.6); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); box-shadow: var(--shadow-sm); }
a:not([class]) { color: var(--color-accent); transition: var(--transition); }

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

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; }
                .hero-content { position: relative; z-index: 1; text-align: center; max-width: 860px; 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: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); color: #fff; padding: 4rem 2rem; box-shadow: var(--shadow-lg); }

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

/* 条件性装饰 */
a:not([class]):hover { color: #fbbf24; text-shadow: 0 0 8px rgba(var(--rgb-accent), 0.7); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0f0f1a, #2d1b69); }
.card { border: 1px solid rgba(var(--rgb-accent), .15); animation: subtle-pulse 4s ease-in-out infinite alternate; }
header, .header, .navbar { box-shadow: 0 0 16px rgba(var(--rgb-accent), 0.2); background-color: rgba(15,15,26, 0.9); backdrop-filter: blur(8px); }

@keyframes subtle-pulse {
    0% { box-shadow: 0 0 20px rgba(var(--rgb-accent), 0.3); }
    100% { box-shadow: 0 0 28px rgba(var(--rgb-accent), 0.5); }
}

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