/* CSSVariantEngine v3.0 — world-chcn-3377.com.cn */
/* Palette: seafoam | Radius: symmetric | Shadow: layered */
/* Spacing: spacious | Transition: smooth */
/* Section layouts: {"news":"masonry-2","features":"horizontal","hero":"split","testimonials":"masonry","partners":"centered","faq":"single-column","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #0d9488;
    --color-primary-dark: #042f2e;
    --color-accent: #5eead4;
    --color-surface: #f0fdfa;
    --color-text: #134e4a;
    --rgb-primary: 13,148,136;
    --rgb-accent: 94,234,212;
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(13, 148, 136, 0.06), 0 1px 3px rgba(13, 148, 136, 0.10);
    --shadow-md: 0 1px 2px rgba(13, 148, 136, 0.04), 0 4px 8px rgba(13, 148, 136, 0.06), 0 12px 24px rgba(13, 148, 136, 0.08);
    --shadow-lg: 0 2px 4px rgba(13, 148, 136, 0.05), 0 8px 16px rgba(13, 148, 136, 0.08), 0 24px 48px rgba(13, 148, 136, 0.10);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background: linear-gradient(180deg, #f8fafc 0%, var(--color-surface) 55%, #ecfeff 100%);
    caret-color: var(--color-primary);
    accent-color: var(--color-primary);
}
h1, h2, h3, h4 {
    font-weight: var(--heading-weight);
    text-shadow: 0 1px 2px rgba(13, 148, 136, 0.08);
}
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    border-color: rgba(13, 148, 136, 0.08);
    box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.08), var(--shadow-md);
    padding: var(--space-card);
    transition: var(--transition);
    background: linear-gradient(145deg, rgba(240, 253, 250, 0.92) 0%, rgba(255, 255, 255, 0.98) 45%, rgba(204, 251, 241, 0.55) 100%);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    border-color: rgba(13, 148, 136, 0.35);
    transition: var(--transition);
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 55%, #115e59 100%);
    color: #f0fdfa;
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.18), 0 6px 16px rgba(13, 148, 136, 0.14);
}
a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-decoration-color: rgba(13, 148, 136, 0.35);
}

/* ========== 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;
    scrollbar-color: var(--color-primary) rgba(13, 148, 136, 0.12);
    scrollbar-width: thin;
}
.feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* hero: split */
/* 左文右图 */
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* 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: big-number */
/* 大数字居中 */
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stats-grid .stat-value {
    font-size: 3rem;
    text-shadow: 0 2px 6px rgba(13, 148, 136, 0.15);
}

/* cta: card-style */
.cta-inner {
    background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 55%, #99f6e4 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    outline: 1px solid rgba(13, 148, 136, 0.12);
    outline-offset: -1px;
}

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 28%, #115e59 62%, #042f2e 100%);
    color: #f0fdfa;
    text-shadow: 0 2px 8px rgba(4, 47, 46, 0.35);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

/* 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; }
    :root {
        --shadow-md: 0 1px 2px rgba(13, 148, 136, 0.04), 0 4px 12px rgba(13, 148, 136, 0.06);
        --shadow-lg: 0 2px 4px rgba(13, 148, 136, 0.05), 0 8px 24px rgba(13, 148, 136, 0.08);
    }
}
@media (max-width: 640px) {
    :root {
        --space-section: 2rem;
        --space-card: 1rem;
        --space-gap: 0.75rem;
        --shadow-md: 0 1px 2px rgba(13, 148, 136, 0.04), 0 2px 8px rgba(13, 148, 136, 0.06);
        --shadow-lg: 0 2px 4px rgba(13, 148, 136, 0.05), 0 4px 16px rgba(13, 148, 136, 0.07);
    }
    .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; }
}