/* CSSVariantEngine v3.0 — go-qiezhibo.com.cn */
/* Palette: neon-mosaic | Radius: soft-rounded | Shadow: glow-elevated */
/* Spacing: airy | Transition: smooth-bounce */
/* Section layouts: {"news":"list-view","features":"grid-3","hero":"overlay","testimonials":"grid-3","partners":"grid-6","faq":"with-sidebar","stats":"inline","cta":"full-bg"} */

@keyframes subtlePulse {
    0% { box-shadow: 0 0 22px rgba(236, 72, 153, 0.35), 0 4px 12px rgba(0,0,0,0.1); }
    100% { box-shadow: 0 0 28px rgba(124, 58, 237, 0.45), 0 6px 18px rgba(0,0,0,0.12); }
}

:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #5b21b6;
    --color-accent: #ec4899;
    --color-surface: #1a1a27;
    --color-text: #f1f5f9;
    --rgb-primary: 124,58,237;
    --rgb-accent: 236,72,153;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --shadow-sm: 0 2px 8px rgba(124,58,237,0.18), 0 1px 2px rgba(0,0,0,0.12);
    --shadow-md: 0 6px 16px rgba(124,58,237,0.28), 0 0 24px rgba(236,72,153,0.38);
    --shadow-lg: 0 12px 28px rgba(124,58,237,0.38), 0 0 32px rgba(236,72,153,0.48);
    --space-section: 4.5rem;
    --space-card: 1.75rem;
    --space-gap: 1.75rem;
    --transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { background-color: #121218; 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); background-color: var(--color-surface); animation: subtlePulse 4.5s ease-in-out infinite alternate; }
.card:hover, [class*="card"]:hover { box-shadow: 0 0 32px rgba(236,72,153,0.6), 0 0 48px rgba(124,58,237,0.4), 0 12px 24px rgba(0,0,0,0.15); transform: translateY(-3px); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; border: none; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 0 28px rgba(236,72,153,0.7), 0 0 40px rgba(124,58,237,0.5); }
a:not([class]) { color: var(--color-accent); transition: var(--transition); }
a:not([class]):hover { color: #f9a8d4; text-shadow: 0 0 12px rgba(236,72,153,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; }
                .news-grid .card:nth-child(1) { border-left-color: #06b6d4; }
                .news-grid .card:nth-child(2) { border-left-color: #10b981; }
                .news-grid .card:nth-child(3) { border-left-color: #f59e0b; }

/* features: grid-3 */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.feature-list .card:nth-child(1) { border-left-color: #06b6d4; box-shadow: 0 0 24px rgba(6,182,212,0.4); animation-delay: 0s; }
.feature-list .card:nth-child(2) { border-left-color: #10b981; box-shadow: 0 0 24px rgba(16,185,129,0.4); animation-delay: 0.75s; }
.feature-list .card:nth-child(3) { border-left-color: #f59e0b; box-shadow: 0 0 24px rgba(245,158,11,0.4); animation-delay: 1.5s; }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(circle at center, rgba(124,58,237,0.15) 0%, transparent 70%); }
                .hero-content { position: relative; z-index: 1; text-shadow: 0 0 18px rgba(236,72,153,0.5); }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.testimonial-list .card:nth-child(1) { border-left-color: #ef4444; box-shadow: 0 0 24px rgba(239,68,68,0.4); animation-delay: 0.25s; }
.testimonial-list .card:nth-child(2) { border-left-color: #8b5cf6; box-shadow: 0 0 24px rgba(139,92,246,0.4); animation-delay: 1s; }
.testimonial-list .card:nth-child(3) { border-left-color: #ec4899; box-shadow: 0 0 24px rgba(236,72,153,0.4); animation-delay: 1.75s; }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }
.partner-grid .card { background-color: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); animation: none; }

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

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%); color: #fff; padding: 4rem 2rem; box-shadow: 0 0 60px rgba(124,58,237,0.5); }

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

/* 条件性装饰 */
.card { border-left: 3px solid var(--color-accent); }
header, .header, .navbar { background: rgba(18,18,24,0.8); backdrop-filter: blur(12px); }

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