/* CSSVariantEngine v3.0 — zh-88kanqiulive.cn */
/* Palette: twilight-gradient | Radius: soft-rounded | Shadow: multi-layer */
/* Spacing: symmetric | Transition: extended-smooth */
/* Section layouts: {"news":"list-view","features":"grid-2","hero":"left-aligned","testimonials":"masonry","partners":"centered","faq":"single-column","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-accent: #8b5cf6;
    --color-surface: #f0f7ff;
    --color-text: #1e293b;
    --rgb-primary: 37, 99, 235;
    --rgb-accent: 139, 92, 246;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 7px rgba(37, 99, 235, 0.08), 0 1px 3px rgba(139, 92, 246, 0.05);
    --shadow-md: 0 9px 20px rgba(37, 99, 235, 0.13), 0 4px 9px rgba(139, 92, 246, 0.09);
    --shadow-lg: 0 18px 36px rgba(37, 99, 235, 0.17), 0 7px 14px rgba(139, 92, 246, 0.11), 0 3px 7px rgba(0, 0, 0, 0.05);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { 
    color: var(--color-text); 
    line-height: var(--body-line-height); 
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 50%, #faf5ff 100%);
}
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: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}
.btn, button[class*="btn"], a[class*="btn"] { 
    border-radius: var(--radius-md); 
    transition: var(--transition);
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    border: none;
}
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: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

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

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { 
                    font-size: 3rem; 
                    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
                    -webkit-background-clip: text;
                    background-clip: text;
                    color: transparent;
                }

/* cta: card-style */
.cta-inner { 
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 40%, #8b5cf6 100%); 
    border-radius: var(--radius-xl); 
    padding: 3rem; 
    text-align: center; 
    color: white;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3);
}

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { 
    transform: translateY(-6px); 
    box-shadow: var(--shadow-lg), 0 0 24px rgba(139, 92, 246, 0.18); 
}
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 6px rgba(139,92,246,0.2); }
.card { 
    border-left: 4px solid; 
    border-image: linear-gradient(to bottom, var(--color-primary), var(--color-accent)) 1; 
}
header, .header, .navbar { 
    background: linear-gradient(to bottom, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 100%);
    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; }
}