/* CSSVariantEngine v3.0 — hot-hth-asia.com.cn */
/* Palette: slate-blue | Radius: rounded | Shadow: soft */
/* Spacing: compact | Transition: smooth */
/* Section layouts: {"news":"grid-3","features":"centered","hero":"centered","testimonials":"carousel","partners":"grid-4","faq":"single-column","stats":"inline","cta":"full-bg"} */

:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-accent: #38bdf8;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --rgb-primary: 59,130,246;
    --rgb-accent: 56,189,248;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.08);
    --shadow-md: 0 4px 8px rgba(15,23,42,0.06), 0 20px 40px -14px rgba(15,23,42,0.22);
    --shadow-lg: 0 8px 18px rgba(15,23,42,0.08), 0 32px 64px -18px rgba(15,23,42,0.28);
    --space-section: 4.25rem;
    --space-card: 1.75rem;
    --space-gap: 1.25rem;
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #e8eef6; background-image: radial-gradient(circle at 12% 0%, rgba(59,130,246,0.14), transparent 34%), linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); accent-color: var(--color-primary); caret-color: var(--color-primary); }
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), inset 0 0 0 1px rgba(148,163,184,0.22); padding: var(--space-card); transition: var(--transition); background-color: var(--color-surface); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: #f8fafc; box-shadow: var(--shadow-sm); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(59,130,246,0.45); }

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

/* news: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* 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: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

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

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

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

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, #1e293b 0%, #1d4ed8 100%); color: #f8fafc; padding: 3.5rem 1.75rem; box-shadow: var(--shadow-lg); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(59,130,246,0.18); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0f172a 0%, #1e293b 44%, #2563eb 100%); color: #f8fafc; }
.card { border-left: 3px solid var(--color-accent); }
header, .header, .navbar { background: transparent; box-shadow: inset 0 -1px 0 rgba(148,163,184,0.28); backdrop-filter: blur(10px); }

/* 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: 1.75rem; --space-card: 0.9rem; --space-gap: 0.65rem; }
    .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; }
}