/* CSSVariantEngine v3.0 — gloab-yuyansports.com.cn */
/* Palette: airy-lavender | Radius: soft-pill | Shadow: pillow-layered */
/* Spacing: generous-breathing | Transition: float-smooth */
/* Section layouts: {"news":"list-view","features":"grid-4","hero":"minimal","testimonials":"carousel","partners":"grid-4","faq":"with-sidebar","stats":"big-number","cta":"full-bg"} */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-accent: #8b5cf6;
    --color-surface: #f8fafc;
    --color-text: #1e293b;
    --rgb-primary: 37,99,235;
    --rgb-accent: 139,92,246;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.06), 0 1px 3px rgba(30, 41, 59, 0.04);
    --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.08), 0 4px 12px rgba(30, 41, 59, 0.06);
    --shadow-lg: 0 16px 48px rgba(30, 41, 59, 0.1), 0 8px 24px rgba(30, 41, 59, 0.07);
    --space-section: 6rem;
    --space-card: 2.5rem;
    --space-gap: 2rem;
    --transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --heading-weight: 600;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { 
    color: var(--color-text); 
    line-height: var(--body-line-height); 
    background-color: #f1f5f9;
}
h1, h2, h3, h4 { 
    font-weight: var(--heading-weight); 
    text-shadow: 0 1px 2px rgba(30, 41, 59, 0.03);
}
section, .section { 
    padding-top: var(--space-section); 
    padding-bottom: var(--space-section); 
}
.card, [class*="card"] { 
    background-color: #ffffff;
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-md); 
    padding: var(--space-card); 
    transition: var(--transition); 
    border: 1px solid rgba(148, 163, 184, 0.15);
}
.btn, button[class*="btn"], a[class*="btn"] { 
    border-radius: var(--radius-md); 
    transition: var(--transition); 
    border: 1px solid rgba(var(--rgb-primary), 0.2);
}
a:not([class]) { 
    color: var(--color-primary); 
    transition: var(--transition); 
    text-decoration-thickness: 2px;
}

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

/* hero: minimal */
.hero { padding: 2rem 0; } .hero-content { max-width: 560px; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

/* partners: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }

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

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; }

/* cta: full-bg */
.cta-section { 
    background: linear-gradient(135deg, #3b82f6, #a78bfa); 
    color: #ffffff; 
    padding: 4rem 2rem; 
    box-shadow: inset 0 2px 20px rgba(255, 255, 255, 0.2);
}

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { 
    transform: translateY(-6px); 
    box-shadow: var(--shadow-lg); 
    border-color: rgba(var(--rgb-accent), 0.3);
}
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { 
    background: linear-gradient(135deg, #2563eb, #7c3aed); 
    box-shadow: inset 0 4px 30px rgba(255, 255, 255, 0.15);
}
header, .header, .navbar { 
    background: transparent; 
    backdrop-filter: blur(8px);
}

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