/* CSSVariantEngine v3.0 — mksport-cnc.com.cn */
/* Palette: teal-strip | Radius: tight | Shadow: subtle */
/* Spacing: compact | Transition: snappy */
/* Section layouts: {"news":"featured-left","features":"grid-4","hero":"minimal","testimonials":"grid-3","partners":"scroll","faq":"with-sidebar","stats":"grid-4","cta":"centered"} */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #134e4a;
    --color-accent: #14b8a6;
    --color-surface: #f0fdfa;
    --color-text: #0a1a18;
    --rgb-primary: 15,118,110;
    --rgb-accent: 20,184,166;
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 5px;
    --radius-xl: 6px;
    --shadow-sm: 0 1px 1px rgba(15,118,110,0.06);
    --shadow-md: 0 1px 2px rgba(15,118,110,0.08), 0 1px 1px rgba(20,184,166,0.05);
    --shadow-lg: 0 2px 6px rgba(15,118,110,0.12), 0 1px 2px rgba(20,184,166,0.08);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    --heading-weight: 700;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: #ffffff; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-primary-dark); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
section:nth-of-type(odd), .section:nth-of-type(odd) { background: #f0fdfa; }
section:nth-of-type(even), .section:nth-of-type(even) { background: #ffffff; }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: #ffffff; border: 1px solid rgba(15,118,110,0.08); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: var(--color-primary); color: #ecfeff; border: 1px solid var(--color-primary-dark); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }
a:not([class]):hover { color: var(--color-accent); }

/* ========== Section Layout Variants ========== */

/* news: featured-left */
/* 左大右小 (1大+2小) */
                .news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--space-gap); }
                .news-grid > *:first-child { grid-row: span 2; }

/* features: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }

/* hero: minimal */
.hero { padding: 2rem 0; background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%); } .hero-content { max-width: 560px; }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

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

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }
.stats-grid > * { background: var(--color-primary-dark); color: #ccfbf1; border-radius: var(--radius-md); padding: 1rem; box-shadow: var(--shadow-sm); }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%); color: #ecfeff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(20,184,166,0.35); }

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