/* CSSVariantEngine v3.0 — zh-jisukuaisan.com.cn */
/* Palette: cyber lime | Radius: sharp | Shadow: hard offset */
/* Spacing: asymmetric mixed | Transition: snappy */
/* Section layouts: {"news":"masonry-2","features":"horizontal","hero":"centered","testimonials":"grid-3","partners":"centered","faq":"two-column","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #0f172a;
    --color-primary-dark: #020617;
    --color-accent: #22c55e;
    --color-surface: #fef08a;
    --color-text: #0c0a09;
    --rgb-primary: 15, 23, 42;
    --rgb-accent: 34, 197, 94;
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 3px;
    --radius-xl: 4px;
    --shadow-sm: 3px 3px 0px #000000;
    --shadow-md: 5px 5px 0px #020617;
    --shadow-lg: 7px 7px 0px rgba(2,6,23,0.9);
    --space-section: 4.8rem;
    --space-card: 1.9rem;
    --space-gap: 0.8rem;
    --transition: 0.15s ease-out;
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f0fdf4; caret-color: var(--color-accent); accent-color: var(--color-primary); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); text-shadow: 1px 1px 0px rgba(255,255,255,0.7); }
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: #ffffff; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); border: 3px solid var(--color-primary); background-color: var(--color-accent); color: var(--color-primary); font-weight: 700; }
a:not([class]) { color: #16a34a; 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); background-color: #bae6fd; border: 3px solid #0369a1; }

/* features: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: 2.5rem; overflow-x: auto; scroll-snap-type: x mandatory; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }
.feature-list > * { background-color: #fecdd3; border: 3px solid #be123c; }

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-inner { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); padding: 4rem; border: 3px solid #1e1b4b; box-shadow: var(--shadow-lg); }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.testimonial-list .card { background-color: #fed7aa; border: 3px solid #c2410c; }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.partner-grid > * { background-color: #d9f99d; border: 2px solid #365314; padding: 1.5rem; box-shadow: var(--shadow-sm); }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list .card { background-color: #e0f2fe; border: 3px solid #075985; }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; color: #dc2626; text-shadow: 2px 2px 0px #fef08a; }
.stats-grid .card { background-color: #ffedd5; border: 3px solid #9a3412; }

/* cta: card-style */
.cta-inner { background: #ef4444; border-radius: var(--radius-xl); padding: 3rem; text-align: center; border: 3px solid #7f1d1d; box-shadow: var(--shadow-lg); }
.cta-inner * { color: white; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-primary-dark); text-shadow: 0 0 2px var(--color-accent); }
.card { border: 3px solid var(--color-primary); }
header, .header, .navbar { background: #fef9c3; border-bottom: 3px solid var(--color-primary-dark); box-shadow: var(--shadow-sm); }

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