/* CSSVariantEngine v3.0 — go-wanmeishijiedianjing.com.cn */
/* Palette: teal-coral | Radius: asymmetric | Shadow: gradient-tinted */
/* Spacing: contrast-bold | Transition: smooth-long */
/* Section layouts: {"news":"grid-4","features":"grid-4","hero":"centered","testimonials":"grid-3","partners":"grid-4","faq":"with-sidebar","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #0d9488;
    --color-accent: #f97316;
    --color-surface: linear-gradient(145deg, #fef3c7, #fde68a);
    --color-text: #1e293b;
    --rgb-primary: 15,118,110;
    --rgb-accent: 249,115,22;
    --radius-sm: 4px 16px 4px 16px;
    --radius-md: 8px 24px 8px 24px;
    --radius-lg: 12px 32px 12px 32px;
    --radius-xl: 16px 48px 16px 48px;
    --shadow-sm: 2px 4px 6px rgba(15,118,110,.12), -1px -1px 3px rgba(249,115,22,.08);
    --shadow-md: 4px 8px 12px rgba(15,118,110,.18), 2px 3px 6px rgba(249,115,22,.12), inset 0 1px 0 rgba(255,255,255,.3);
    --shadow-lg: 6px 12px 20px rgba(15,118,110,.22), 3px 5px 10px rgba(249,115,22,.16), inset 0 2px 0 rgba(255,255,255,.4);
    --space-section: 3.2rem;
    --space-card: 1.4rem;
    --space-gap: 1.1rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 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(135deg, #ffffff, #f8fafc); border: 1px solid; border-image: linear-gradient(135deg, #0f766e, #f97316) 1 stretch; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(90deg, #0f766e, #14b8a6); color: white; border: 2px solid transparent; border-image: linear-gradient(90deg, #f97316, #fdba74) 1; }
a:not([class]) { color: var(--color-accent); transition: var(--transition); }

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

/* news: grid-4 */
/* 四列紧凑网格 */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 0.8); }

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

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

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

/* 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; background: linear-gradient(135deg, #0f766e, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* cta: card-style */
.cta-inner { background: radial-gradient(circle at 70% 30%, #fef3c7, #fde68a, #fdba74); border-radius: var(--radius-xl); padding: 3rem; text-align: center; border: 3px solid; border-image: linear-gradient(45deg, #0f766e, #f97316, #14b8a6) 1; }

/* 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); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(125deg, #0f766e 0%, #0d9488 35%, #14b8a6 70%, #f97316 100%); }
header, .header, .navbar { box-shadow: 3px 2px 10px rgba(15,118,110,.15), -1px 0 4px rgba(249,115,22,.07); background: linear-gradient(90deg, #ffffff, #f8fafc); }

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