/* CSSVariantEngine v3.0 — sc-mksports.sx.cn */
/* Palette: mint-teal | Radius: medium | Shadow: glow-accent */
/* Spacing: strip-comfortable | Transition: glow-smooth */
/* Section layouts: {"news":"masonry-2","features":"horizontal","hero":"overlay","testimonials":"grid-3","partners":"grid-6","faq":"two-column","stats":"grid-3","cta":"centered"} */

:root {
    --color-primary: #0d9488;
    --color-primary-dark: #0f766e;
    --color-accent: #5eead4;
    --color-surface: #fffbeb;
    --color-text: #134e4a;
    --rgb-primary: 13, 148, 136;
    --rgb-accent: 94, 234, 212;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 0 12px rgba(var(--rgb-accent), 0.2);
    --shadow-md: 0 0 24px rgba(var(--rgb-accent), 0.4);
    --shadow-lg: 0 0 32px rgba(var(--rgb-accent), 0.6);
    --space-section: 5rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --heading-weight: 700;
    --body-line-height: 1.7;
    accent-color: var(--color-primary);
    caret-color: var(--color-primary);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 16px rgba(var(--rgb-accent), 0.25); }
    50% { box-shadow: 0 0 28px rgba(var(--rgb-accent), 0.45); }
    100% { box-shadow: 0 0 16px rgba(var(--rgb-accent), 0.25); }
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #ffffff; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); width: 100%; }
section:nth-child(odd) { background-color: #ffffff; }
section:nth-child(even) { background-color: var(--color-surface); }
section:nth-child(3n) { background-color: #1a2f45; color: #f0fdfa; }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); border: 1px solid rgba(var(--rgb-accent), 0.2); animation: pulse-glow 4s ease-in-out infinite; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: white; border: 1px solid var(--color-accent); }
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: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; }
                .hero-content { position: relative; z-index: 1; }

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

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

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }

/* stats: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 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 0 36px rgba(var(--rgb-accent), 0.75); animation-play-state: paused; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 0 28px rgba(var(--rgb-accent), 0.7); background-color: var(--color-primary-dark); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0d9488, #1a2f45); }
header, .header, .navbar { background: rgba(255,255,255, 0.05); 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: 2.5rem; --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; }
}