/* =========================================================================
   vanchon.com 统一设计系统 v2
   科技蓝 · 简约专业
   作者：重构架构。覆盖全站模板所需的所有类（含响应式断点）。
   ========================================================================= */

/* ---------- 设计令牌 (Design Tokens) ---------- */
:root {
  /* 品牌色 */
  --brand:        #1e6fff;
  --brand-600:    #0b4fcc;
  --brand-700:    #0a3fa3;
  --brand-50:     #eaf2ff;
  --brand-100:    #d4e4ff;
  /* 渐变 */
  --grad:         linear-gradient(135deg, #1e6fff 0%, #0b4fcc 100%);
  --grad-soft:    linear-gradient(135deg, #2b7bff 0%, #1452d6 100%);
  /* 深色 */
  --ink:          #0b1220;
  --ink-2:        #131c2e;
  --ink-3:        #1c2840;
  /* 中性 */
  --bg:           #ffffff;
  --bg-soft:      #f5f8ff;
  --bg-mute:      #eef2f9;
  --line:         #e3e9f3;
  --text:         #1f2a3d;
  --text-soft:    #54607a;
  --text-mute:    #8a93a6;
  /* 状态 */
  --ok:           #16a34a;
  --warn:         #f59e0b;
  --danger:       #ef4444;
  /* 形状 */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;
  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(16,30,54,.06), 0 2px 8px rgba(16,30,54,.05);
  --shadow:    0 6px 20px rgba(16,30,54,.08);
  --shadow-lg: 0 18px 50px rgba(16,30,54,.14);
  --shadow-brand: 0 10px 30px rgba(30,111,255,.28);
  /* 布局 */
  --container: 1200px;
  --nav-h: 68px;
  /* 字体 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.2; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.container-wide { max-width: 1360px; }

/* ---------- 文字工具 ---------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-brand  { color: var(--brand); }
.text-soft   { color: var(--text-soft); }
.text-mute   { color: var(--text-mute); }
.font-bold   { font-weight: 700; }
.font-semibold { font-weight: 600; }
.leading-tight { line-height: 1.2; }
.tracking-tight { letter-spacing: -.02em; }

/* 渐变文字标题 */
.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* 字号（基础 + 响应式） */
.text-xs   { font-size: .8rem; }
.text-sm   { font-size: .9rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }

/* ---------- 间距工具（padding/margin/gap 常用） ---------- */
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }

/* ---------- 布局工具 ---------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-none { flex: none; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0  { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; } .left-0 { left: 0; } .right-0 { right: 0; }
.z-10 { z-index: 10; } .z-20 { z-index: 20; } .z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.rounded      { border-radius: var(--r-sm); }
.rounded-lg   { border-radius: var(--r); }
.rounded-xl   { border-radius: var(--r-lg); }
.rounded-full { border-radius: var(--r-pill); }
.shadow       { box-shadow: var(--shadow); }
.shadow-lg    { box-shadow: var(--shadow-lg); }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* 宽度比例（响应式用） */
.w-1\/2 { width: 50%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-1\/3 { width: 33.3333%; }
.w-2\/3 { width: 66.6667%; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(30,111,255,.38); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline {
  background: #fff;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-50); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  overflow: hidden;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}
.card-body { padding: 1.5rem; }
.card-pad { padding: 1.75rem; }

/* 图标徽标 */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.icon-badge.lg { width: 72px; height: 72px; font-size: 2rem; }

/* ---------- 区块 Section ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-50);
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.section-sub { color: var(--text-soft); font-size: 1.05rem; margin-top: .75rem; }
.bg-soft { background: var(--bg-soft); }
.bg-ink  { background: var(--ink); color: #eaf0ff; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .section-sub { color: #aebbe0; }

/* 分隔 */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 导航 Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.nav-logo img { height: 34px; width: auto; }
.nav-logo .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu a {
  font-weight: 600; color: var(--text-soft);
  position: relative; padding: .4rem 0; transition: color .2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--brand); }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center; color: var(--ink);
  background: var(--bg-mute);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* 移动菜单 */
.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .5rem 0 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .85rem 20px; font-weight: 600; color: var(--text-soft);
  border-bottom: 1px solid var(--bg-mute);
}
.mobile-menu a:hover { color: var(--brand); background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(30,111,255,.35), transparent 60%),
              radial-gradient(900px 500px at 0% 110%, rgba(11,79,204,.30), transparent 55%),
              var(--ink);
  color: #eaf0ff;
  overflow: hidden;
}
.hero .section-title,
.hero h1 { color: #fff; }
.hero-grid {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: #cfe0ff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: .4rem 1rem; border-radius: var(--r-pill); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero .sub {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600;
  background: var(--grad-soft); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.hero p.lead { color: #c3cfe8; font-size: 1.08rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.5rem;
}
.hero-stat .num { font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stat .lbl { color: #9fb2da; font-size: .9rem; }
.hero-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
  aspect-ratio: 4/3; background: var(--ink-2);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { display: flex; gap: .5rem; margin-top: 1.5rem; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3);
  transition: all .2s;
}
.hero-dots button.active { background: #fff; width: 28px; border-radius: 6px; }

/* ---------- 统计带 ---------- */
.stat-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
.stat-band .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--brand); }
.stat-band .lbl { color: var(--text-soft); }

/* ---------- 服务网格 ---------- */
.service-card .icon-badge { font-size: 1.6rem; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--text-soft); font-size: .96rem; }
.service-card .more { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; }

/* ---------- 案例网格 ---------- */
.case-card .case-img { aspect-ratio: 16/10; overflow: hidden; }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; color: var(--brand);
  background: var(--brand-50); padding: .25rem .7rem; border-radius: var(--r-pill); margin-bottom: .6rem;
}
.case-card h3 { font-size: 1.15rem; }
.case-card p { color: var(--text-soft); font-size: .92rem; }

/* ---------- 文章卡片 ---------- */
.post-card .post-img { aspect-ratio: 16/9; overflow: hidden; }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-meta { display: flex; align-items: center; gap: .6rem; color: var(--text-mute); font-size: .82rem; margin-bottom: .6rem; }
.post-cat { color: var(--brand); font-weight: 600; }
.post-card h3 { font-size: 1.1rem; line-height: 1.35; }
.post-card p.excerpt { color: var(--text-soft); font-size: .9rem; }
.post-card .read-more { color: var(--brand); font-weight: 600; font-size: .9rem; }

/* ---------- 文章列表（纵向列表形式） ---------- */
.article-list { display: flex; flex-direction: column; gap: 1rem; }
.article-row {
  display: flex; gap: 1.25rem; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.article-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30,111,255,.35);
}
.article-thumb { flex: 0 0 200px; width: 200px; aspect-ratio: 16/10; border-radius: calc(var(--r) - 4px); overflow: hidden; background: var(--bg-soft); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-row:hover .article-thumb img { transform: scale(1.05); }
.article-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.article-top { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; flex-wrap: wrap; }
.article-cat { color: var(--brand); font-weight: 600; font-size: .82rem; background: rgba(30,111,255,.1); padding: .15rem .6rem; border-radius: 999px; }
.article-date { color: var(--text-mute); font-size: .82rem; }
.article-row h3 { font-size: 1.18rem; line-height: 1.4; margin: 0 0 .4rem; color: var(--ink); transition: color .2s ease; }
.article-row:hover h3 { color: var(--brand); }
.article-row p.excerpt { color: var(--text-soft); font-size: .92rem; margin: 0 0 .6rem; line-height: 1.6; }
.article-more { margin-top: auto; color: var(--brand); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .35rem; }
.article-row:hover .article-more i { transform: translateX(3px); }
.article-more i { transition: transform .2s ease; }
@media (max-width: 640px) {
  .article-row { flex-direction: column; gap: .8rem; }
  .article-thumb { flex: none; width: 100%; aspect-ratio: 16/9; }
}
/* 列表页分类筛选条 */
.cat-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.cat-filter a { padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--text-soft); text-decoration: none; transition: all .2s ease; }
.cat-filter a:hover, .cat-filter a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.partner-logo {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--text-soft); font-weight: 700;
  transition: all .2s;
}
.partner-logo:hover { border-color: var(--brand-100); color: var(--brand); box-shadow: var(--shadow-sm); }
.partner-logo svg { width: 26px; height: 26px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
.about-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; }
.feature-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
}
.feature-list .ft-title { font-weight: 700; color: var(--ink); }
.feature-list .ft-desc { color: var(--text-soft); font-size: .92rem; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.contact-info .ci-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-info .ci-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-info .ci-title { font-weight: 700; }
.contact-info .ci-val { color: var(--text-soft); }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.form-control {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--r); font-family: inherit; font-size: 1rem; color: var(--text);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--text-mute); }
.form-msg { margin-top: .8rem; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }

/* ---------- 页脚 Footer ---------- */
.footer { background: var(--ink); color: #b9c4dc; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer a { color: #b9c4dc; display: block; padding: .3rem 0; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .brand-desc { color: #8a97b8; margin: 1rem 0; max-width: 320px; }
.footer .social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer .social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: #7e8aa8; font-size: .88rem;
}

/* ---------- 面包屑 ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; color: var(--text-mute); font-size: .9rem; margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--line); }

/* ---------- 详情页 Hero ---------- */
.page-hero { background: var(--ink); color: #eaf0ff; padding: 4rem 0 3rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero .eyebrow { color: #9fb2da; font-weight: 600; }

/* ---------- 文章正文 ---------- */
.article-body { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-body h2 { font-size: 1.5rem; margin-top: 2rem; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.article-body img { border-radius: var(--r); margin: 1.5rem 0; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.1rem; }
.article-body ul li { margin-bottom: .4rem; }

/* 相关文章列表 */
.related-list { display: grid; gap: 1rem; grid-template-columns: 1fr; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block; font-size: .8rem; color: var(--text-soft);
  background: var(--bg-mute); padding: .25rem .7rem; border-radius: var(--r-pill);
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: var(--shadow-brand); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 60;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 动画（性能安全：仅 transform/opacity，IO 驱动，尊重 reduced-motion） ---------- */
/* 滚动进场：默认隐藏，JS 添加 .in 后呈现；无 JS 时由 <noscript> 兜底显示 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
/* 错位进场：元素加 style="--rd:.1s" 即可延迟 */
.reveal[style*="--rd"] { transition-delay: var(--rd, 0s); }

/* Hero 入场（首屏，加载即播） */
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-anim { animation: heroUp .85s cubic-bezier(.22,.61,.36,1) both; }
.hero-anim.d1 { animation-delay: .05s; }
.hero-anim.d2 { animation-delay: .15s; }
.hero-anim.d3 { animation-delay: .25s; }
.hero-anim.d4 { animation-delay: .35s; }

/* 主按钮微光扫过 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .65s ease;
}
.btn-primary:hover::before { left: 142%; }

/* 卡片悬浮增强（GPU 友好） */
.service-card, .case-card, .post-card, .value-card, .contact-card, .cat-card, .stat {
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover, .case-card:hover, .post-card:hover,
.value-card:hover, .contact-card:hover, .cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(20,40,90,.14);
  border-color: rgba(30,111,255,.35);
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(20,40,90,.10); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn-primary::before { display: none; }
}

/* =========================================================================
   响应式断点：sm=640  md=768  lg=1024  xl=1280
   ========================================================================= */
/* sm */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(4, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
/* md */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-2\/5 { width: 40%; }
  .md\:w-3\/5 { width: 60%; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(6, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .related-list { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 6rem 0; }
}
/* lg */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
}
/* xl */
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 移动端导航切换显示（<1024 显示汉堡，隐藏桌面菜单） */
@media (max-width: 1023px) {
  .nav-menu { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}
