/* CSSVariantEngine v3.0 — zh-zh-zucaiwang.com.cn */
/* Palette: dense-dashboard | Radius: compact | Shadow: multi-layer gradient */
/* Spacing: tight | Transition: smooth-long */
/* Section layouts: {"news":"masonry-2","features":"grid-3","hero":"minimal","testimonials":"carousel","partners":"grid-6","faq":"with-sidebar","stats":"inline","cta":"full-bg"} */

:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-accent: #60a5fa;
    --color-surface: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --color-text: #e2e8f0;
    --rgb-primary: 59, 130, 246;
    --rgb-accent: 96, 165, 250;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.07), 0 1px 4px rgba(59, 130, 246, 0.08);
    --shadow-md: 0 2px 8px rgba(30, 41, 59, 0.12), 0 4px 12px rgba(59, 130, 246, 0.1);
    --shadow-lg: 0 6px 16px rgba(30, 41, 59, 0.15), 0 12px 24px rgba(59, 130, 246, 0.12), 0 2px 4px rgba(0, 0, 0, 0.05);
    --space-section: 3rem;
    --space-card: 0.9rem;
    --space-gap: 0.8rem;
    --transition: 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: var(--color-surface); min-height: 100vh; }
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: #ffffff; color: #1e293b; border: 1px solid transparent; border-image: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%) 1; }
.card:hover, [class*="card"]:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; border: 0; padding: 0.75rem 1.5rem; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4); }
a:not([class]) { color: var(--color-primary); 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: minimal */
.hero { padding: 2rem 0; } .hero-content { max-width: 560px; }
.hero h1 { color: #ffffff; text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3); }

/* 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; }
.partner-grid .card { background: rgba(255, 255, 255, 0.95); }

/* 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; }
.stats-grid .card { text-align: center; background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); }

/* cta: full-bg */
.cta-section { background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%); color: #fff; padding: 4rem 2rem; }
.cta-section * { text-shadow: 0 1px 3px rgba(0,0,0,0.15); }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 4px rgba(var(--rgb-primary), 0.3); }
header, .header, .navbar { background: rgba(30, 41, 59, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(59, 130, 246, 0.2); }

/* 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: 0.8rem; --space-gap: 0.65rem; }
    .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; }
}