/* CSSVariantEngine v3.0 — huangguanguanwang.com.cn */
/* Palette: teal-sunset | Radius: rounded | Shadow: soft-layered */
/* Spacing: balanced | Transition: long-smooth */
/* Section layouts: {"news":"featured-left","features":"centered","hero":"left-aligned","testimonials":"stacked","partners":"grid-6","faq":"with-sidebar","stats":"inline","cta":"card-style"} */

:root {
    --color-primary: #0d9488;
    --color-primary-dark: #0f766e;
    --color-accent: #f97316;
    --color-surface: #f0fdfa;
    --color-text: #134e4a;
    --rgb-primary: 13,148,136;
    --rgb-accent: 249,115,22;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 3px 6px rgba(13,148,136,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 24px rgba(13,148,136,0.12), 0 3px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 24px 48px rgba(13,148,136,0.18), 0 8px 16px rgba(249,115,22,0.08);
    --space-section: 2.25rem;
    --space-card: 1.25rem;
    --space-gap: 1.5rem;
    --transition: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

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

/* ========== 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: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

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

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

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: card-style */
.cta-inner { background: radial-gradient(circle at top left, #ccfbf1 0%, #fef3c7 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: var(--shadow-lg); border: 2px solid transparent; border-image: linear-gradient(135deg, #14b8a6, #f97316) 1 stretch; }

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 4px rgba(249,115,22,0.2); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0d9488 0%, #14b8a6 45%, #f97316 100%); color: white; }
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; }
}