/* CSSVariantEngine v3.0 — pro-pandatiyu.com.cn */
/* Palette: sidebar-classic | Radius: soft | Shadow: layered-gradient */
/* Spacing: balanced | Transition: smooth-long */
/* Section layouts: {"news":"masonry-2","features":"grid-3","hero":"minimal","testimonials":"masonry","partners":"centered","faq":"single-column","stats":"grid-4","cta":"centered"} */

:root {
    --color-primary: #252e3a;
    --color-primary-dark: #1a222d;
    --color-accent: #10b981;
    --color-surface: #f0f4f8;
    --color-text: #1e293b;
    --rgb-primary: 37, 46, 58;
    --rgb-accent: 16, 185, 129;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 4px rgba(37, 46, 58, 0.06), 0 1px 2px rgba(37, 46, 58, 0.04);
    --shadow-md: 0 4px 12px rgba(37, 46, 58, 0.1), 0 2px 6px rgba(16, 185, 129, 0.06), 0 1px 2px rgba(37, 46, 58, 0.04);
    --shadow-lg: 0 8px 24px rgba(37, 46, 58, 0.12), 0 4px 12px rgba(16, 185, 129, 0.08), 0 2px 4px rgba(37, 46, 58, 0.06);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1.125rem;
    --transition: 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
    --heading-weight: 700;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #f0f4f8 0%, #e6edf3 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(180deg, #ffffff 0%, #f8fafc 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, var(--color-primary) 0%, #2f3e4f 100%); color: white; }
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; }

/* 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: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(37, 46, 58, 0.15), 0 6px 16px rgba(16, 185, 129, 0.12), 0 3px 6px rgba(37, 46, 58, 0.08); }
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #252e3a 0%, #303f50 35%, #273444 70%, #1a222d 100%); }
.card { border: 1px solid; border-image: linear-gradient(135deg, rgba(var(--rgb-primary), .08), rgba(var(--rgb-accent), .12)) 1 stretch; }

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