/* ==========================================================================
   运维365 主题样式  —  yunwei365 / assets/css/main.css
   设计语言：科技蓝 + 大量留白 + 圆角卡片 + 细线分隔
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --c-primary: #2563eb;
  --c-primary-600: #1d4ed8;
  --c-primary-700: #1e40af;
  --c-primary-50: #eff4ff;
  --c-primary-100: #dbe7ff;
  --c-primary-200: #bfd3ff;
  --c-accent: #22c55e;
  --c-warn: #f59e0b;
  --c-danger: #ef4444;

  --c-text: #0f172a;
  --c-text-2: #334155;
  --c-muted: #64748b;
  --c-muted-2: #94a3b8;
  --c-border: #e5eaf3;
  --c-border-2: #eef2f8;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8ff;
  --c-bg-soft-2: #f8faff;
  --c-dark: #1b2333;
  --c-dark-2: #111827;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans CN",
    "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --gutter: 24px;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --radius-xl: 24px;

  --shadow-s: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-m: 0 6px 20px -6px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-l: 0 24px 60px -20px rgba(15, 23, 42, 0.25);
  --shadow-primary: 0 10px 24px -8px rgba(37, 99, 235, 0.45);

  --header-h: 72px;
  --section-y: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-primary-600); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--c-text); letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
a, button, .btn, .nav-toggle, .to-top, summary { touch-action: manipulation; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 8px 14px; background: var(--c-primary); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--tight { padding: 72px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--c-primary); text-transform: uppercase;
}
.section-title { font-size: 36px; line-height: 1.3; margin-bottom: 14px; }
.section-desc { font-size: 16px; color: var(--c-muted); }
.text-primary { color: var(--c-primary); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; height: 46px; border-radius: var(--radius-m); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: all 0.22s var(--ease); white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.22s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--c-primary-600); color: #fff; transform: translateY(-1px); }
.btn--outline { background: #fff; color: var(--c-primary); border-color: var(--c-primary-200); }
.btn--outline:hover { border-color: var(--c-primary); background: var(--c-primary-50); color: var(--c-primary-600); }
.btn--ghost { background: transparent; color: var(--c-text-2); border-color: var(--c-border); }
.btn--ghost:hover { border-color: var(--c-primary-200); color: var(--c-primary); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-primary-50); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--c-primary); }
.link-more svg { width: 14px; height: 14px; transition: transform 0.2s; }
.link-more:hover svg { transform: translateX(3px); }

/* ---------- 5. 图标 ---------- */
.icon { display: inline-block; width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex-shrink: 0; }
.icon-box {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 12px; background: var(--c-primary-50); color: var(--c-primary); font-size: 24px;
}
.icon-box--lg { width: 56px; height: 56px; font-size: 28px; border-radius: 14px; }
.icon-box--plain { background: transparent; width: auto; height: auto; }

/* ---------- 6. 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border-2); transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.15); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 700; font-size: 22px; letter-spacing: 0; flex-shrink: 0; }
.brand:hover { color: var(--c-text); }
.brand__logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { line-height: 1; }
.brand__name small { display: block; font-size: 11px; font-weight: 500; color: var(--c-muted); letter-spacing: 0.04em; margin-top: 4px; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.main-nav .mobile-cta { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; flex-wrap: nowrap; }
.main-nav li { position: relative; flex-shrink: 0; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--c-text-2); position: relative;
}
.main-nav a:hover { color: var(--c-primary); background: var(--c-primary-50); }
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a,
.main-nav li.current-menu-ancestor > a,
.main-nav li.current-page-ancestor > a,
.main-nav li.current_page_parent > a { color: var(--c-primary); }
.main-nav li.current-menu-item > a::after,
.main-nav li.current_page_item > a::after,
.main-nav li.current-menu-ancestor > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--c-primary);
}
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--c-border); border-radius: 12px; box-shadow: var(--shadow-m);
  display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s var(--ease);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 9px 12px; font-size: 14px; border-radius: 8px; }
.main-nav .sub-menu a::after { display: none; }
.header-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-text-2); font-size: 15px; }
.header-phone svg { color: var(--c-primary); }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--c-border); background: #fff; color: var(--c-text);
  align-items: center; justify-content: center; font-size: 22px;
}
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- 7. 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
}
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(37, 99, 235, 0.08), transparent 70%),
    radial-gradient(500px 300px at 80% 80%, rgba(37, 99, 235, 0.06), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; min-height: 540px; padding-top: 72px; padding-bottom: 72px; }
.hero__title { font-size: 50px; line-height: 1.26; margin: 16px 0 24px; letter-spacing: 0; }
.hero__title .text-primary { display: block; }
.hero__desc { font-size: 17px; color: var(--c-text-2); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 36px; color: var(--c-muted); font-size: 14px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.hero__meta svg { color: var(--c-accent); width: 18px; height: 18px; }

/* 右侧视觉：机房插画 + 关键词卡 */
.hero__visual { position: relative; min-height: 440px; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute; left: -24px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 200px; padding: 26px 24px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-m);
}
.hero__card li { list-style: none; padding: 8px 0; font-size: 17px; font-weight: 600; color: var(--c-text-2); display: flex; align-items: center; gap: 10px; }
.hero__card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-100); }
.hero__card li:last-child { font-size: 14px; font-weight: 500; color: var(--c-muted); }

/* 机房插画（无图片时的默认视觉） */
.rack-scene {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l);
  background: linear-gradient(135deg, #0f1b33 0%, #16254a 55%, #1d3a7a 100%);
}
.rack-scene::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(400px 200px at 70% 10%, rgba(96, 165, 250, 0.25), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
}
.rack-scene__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, rgba(37, 99, 235, 0.35), rgba(37, 99, 235, 0.1)); transform: skewY(-4deg); transform-origin: left; }
.rack-scene__racks { position: absolute; right: 8%; top: 10%; bottom: 14%; display: flex; gap: 14px; align-items: flex-end; perspective: 600px; }
.rack {
  width: 78px; height: 100%; border-radius: 6px; padding: 8px 6px; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, #1f2b47, #0e1628); border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  transform: rotateY(-14deg);
}
.rack:nth-child(2) { height: 92%; transform: rotateY(-14deg) translateZ(-10px); opacity: 0.92; }
.rack:nth-child(3) { height: 84%; transform: rotateY(-14deg) translateZ(-20px); opacity: 0.82; }
.rack:nth-child(4) { height: 76%; transform: rotateY(-14deg) translateZ(-30px); opacity: 0.7; }
.rack__unit { flex: 1; border-radius: 3px; background: linear-gradient(90deg, #26324f, #1a2440); position: relative; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.rack__unit::before, .rack__unit::after { content: ""; position: absolute; top: 50%; width: 4px; height: 4px; border-radius: 50%; transform: translateY(-50%); background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.rack__unit::before { right: 8px; }
.rack__unit::after { right: 16px; background: #60a5fa; box-shadow: 0 0 6px #60a5fa; animation: blink 1.6s infinite; }
.rack__unit:nth-child(3n)::after { animation-delay: 0.4s; }
.rack__unit:nth-child(3n+1)::before { animation: blink 2.2s infinite 0.8s; }
.rack__unit:nth-child(5n)::before { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
.rack-scene__glow { position: absolute; left: 12%; top: 18%; width: 40%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(59, 130, 246, 0.25), transparent); filter: blur(10px); }
.rack-scene__grid { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }

/* ---------- 8. 快捷入口条 ---------- */
.quick-nav { background: #fff; border-bottom: 1px solid var(--c-border-2); }
.quick-nav__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.quick-nav__item { display: flex; align-items: center; gap: 14px; padding: 26px 24px; border-left: 1px solid var(--c-border-2); color: var(--c-text); transition: background 0.2s; }
.quick-nav__item:first-child { border-left: 0; }
.quick-nav__item:hover { background: var(--c-bg-soft-2); color: var(--c-text); }
.quick-nav__item .icon { font-size: 30px; color: var(--c-primary); }
.quick-nav__item strong { display: block; font-size: 16px; font-weight: 600; }
.quick-nav__item span { display: block; font-size: 13px; color: var(--c-muted); margin-top: 2px; }

/* ---------- 9. 服务卡片 ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-l); transition: all 0.28s var(--ease); height: 100%;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--c-primary-200); }
.service-card .icon-box { margin-bottom: 22px; }
.service-card__title { font-size: 20px; margin-bottom: 12px; }
.service-card__desc { font-size: 14.5px; color: var(--c-muted); flex: 1; margin-bottom: 20px; }
.service-card .link-more { margin-top: auto; }
.service-card__link-cover { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; }

/* ---------- 10. 优势 / 仪表盘 ---------- */
.why__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.why__list { list-style: none; display: grid; gap: 22px; margin-top: 36px; }
.why__item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: flex-start; }
.why__num { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c-primary-50); color: var(--c-primary); font-weight: 700; font-family: var(--font-mono); font-size: 15px; }
.why__item h3 { font-size: 18px; margin-bottom: 6px; }
.why__item p { color: var(--c-muted); font-size: 15px; }

/* 监控大屏模拟 */
.dash {
  position: relative; border-radius: var(--radius-l); padding: 22px; color: #cbd5e1;
  background: linear-gradient(160deg, #0b1220 0%, #101a2e 100%); border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-l); font-size: 12px; overflow: hidden;
}
.dash::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(500px 240px at 90% 0%, rgba(37, 99, 235, 0.25), transparent 70%); pointer-events: none; }
.dash__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 13px; }
.dash__brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 8px var(--c-accent); display: inline-block; }
.dash__tabs { display: flex; gap: 14px; color: #64748b; }
.dash__tabs span.is-active { color: #fff; }
.dash__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.dash__stat { border-radius: 10px; padding: 12px 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.dash__stat small { display: block; color: #64748b; margin-bottom: 4px; }
.dash__stat b { font-size: 22px; color: #fff; font-family: var(--font-mono); font-weight: 600; }
.dash__stat b.ok { color: #4ade80; }
.dash__stat b.warn { color: #fbbf24; }
.dash__stat b.err { color: #f87171; }
.dash__panel { border-radius: 10px; padding: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.dash__panel-head { display: flex; justify-content: space-between; color: #94a3b8; margin-bottom: 10px; }
.dash__chart { width: 100%; height: 110px; display: block; }
.dash__chart .line { fill: none; stroke: #60a5fa; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dash__chart .area { fill: url(#dashArea); }
.dash__chart .gridline { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.dash__row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 12px; }
.dash__bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.dash__bars i { flex: 1; background: linear-gradient(180deg, #3b82f6, #1d4ed8); border-radius: 2px 2px 0 0; opacity: 0.85; }
.dash__list { list-style: none; display: grid; gap: 8px; }
.dash__list li { display: flex; justify-content: space-between; gap: 10px; color: #94a3b8; }
.dash__list li b { color: #e2e8f0; font-weight: 500; font-family: var(--font-mono); }
.dash__pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(74, 222, 128, 0.12); color: #4ade80; font-size: 11px; }
.dash__pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 11. 流程步骤 ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.process__item { text-align: center; position: relative; padding: 0 12px; }
.process__num {
  width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--c-primary-200); color: var(--c-primary); font-weight: 700; font-family: var(--font-mono); font-size: 17px;
  box-shadow: 0 0 0 8px var(--c-primary-50); position: relative; z-index: 1;
}
.process__item:not(:last-child)::before {
  content: ""; position: absolute; top: 30px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-primary-200) 0 6px, transparent 6px 12px);
}
.process__item h3 { font-size: 18px; margin-bottom: 8px; }
.process__item p { font-size: 14.5px; color: var(--c-muted); }

/* ---------- 12. 文章卡片 ---------- */
.posts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.posts-head .section-head { margin: 0; text-align: left; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-l); overflow: hidden; transition: all 0.28s var(--ease); height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; color: var(--c-primary); background: linear-gradient(135deg, #e8f0ff, #f5f8ff); }
.post-card__placeholder .icon { font-size: 48px; opacity: 0.55; }
.post-card__placeholder::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px); background-size: 28px 28px; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { display: inline-block; align-self: flex-start; padding: 3px 9px; border-radius: 6px; background: var(--c-primary-50); color: var(--c-primary); font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.post-card__title { font-size: 18px; line-height: 1.45; margin-bottom: 10px; }
.post-card__title a { color: var(--c-text); }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__excerpt { color: var(--c-muted); font-size: 14px; flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--c-muted-2); }
.post-card__meta time { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 13. CTA 横幅 ---------- */
.cta {
  position: relative; overflow: hidden; padding: 64px 0; background: linear-gradient(90deg, #eef4ff 0%, #f6f9ff 100%);
}
.cta::after {
  content: ""; position: absolute; right: -8%; bottom: -60%; width: 60%; height: 160%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.16), transparent 70%); pointer-events: none;
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta__title { font-size: 32px; margin-bottom: 8px; }
.cta__desc { color: var(--c-muted); font-size: 16px; }
.cta--dark { background: linear-gradient(120deg, #0f1b33, #1e40af); }
.cta--dark .cta__title, .cta--dark .eyebrow { color: #fff; }
.cta--dark .cta__desc { color: #bfd3ff; }

/* ---------- 14. 页脚 ---------- */
.site-footer { background: var(--c-dark); color: #aeb7c7; font-size: 14px; }
.site-footer a { color: #aeb7c7; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer__brand .brand { color: #fff; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; color: #8b95a8; }
.footer__contact { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { color: var(--c-primary-200); width: 16px; height: 16px; }
.footer__col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; color: #7c869a; font-size: 13px; }
.footer__bottom a { color: #7c869a; margin-left: 16px; }
.footer__bottom .footer__legal a:first-child { margin-left: 0; }
.footer__qr { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.footer__qr img { width: 88px; height: 88px; border-radius: 8px; background: #fff; padding: 4px; }
.footer__qr span { font-size: 13px; color: #8b95a8; max-width: 120px; }

/* ---------- 15. 服务页 ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%); }
.page-hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(600px 300px at 10% 30%, rgba(37, 99, 235, 0.08), transparent 70%); pointer-events: none; }
.page-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.page-hero__title { font-size: 44px; line-height: 1.28; margin: 14px 0 22px; letter-spacing: 0; }
.page-hero__title .text-primary { display: block; }
.page-hero__desc { font-size: 16.5px; color: var(--c-text-2); max-width: 520px; margin-bottom: 30px; }
.page-hero__visual { position: relative; min-height: 380px; }
.page-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__badge {
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 84px; height: 84px; border-radius: 22px; z-index: 2;
  display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: var(--shadow-m); color: var(--c-primary); font-size: 38px;
}
.page-hero--simple .page-hero__inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; }
.page-hero--simple .page-hero__desc { max-width: 640px; }

/* 面包屑 */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: 13px; color: var(--c-muted); padding-top: 24px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--c-muted-2); }
.breadcrumb li[aria-current] { color: var(--c-text-2); }

/* 浏览器窗口模拟（服务页视觉） */
.window {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--radius-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-l); border: 1px solid var(--c-border);
  display: flex; flex-direction: column;
}
.window__bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f1f5fb; border-bottom: 1px solid var(--c-border); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dee9; }
.window__bar i:nth-child(1) { background: #fca5a5; } .window__bar i:nth-child(2) { background: #fcd34d; } .window__bar i:nth-child(3) { background: #86efac; }
.window__url { margin-left: 10px; flex: 1; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--c-border); font-size: 11px; color: var(--c-muted); display: flex; align-items: center; padding: 0 10px; gap: 6px; font-family: var(--font-mono); }
.window__url svg { width: 11px; height: 11px; color: var(--c-accent); }
.window__body { flex: 1; position: relative; background: linear-gradient(180deg, #ffffff, #f3f7ff); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.window__nav { display: flex; align-items: center; gap: 14px; }
.window__nav i { height: 8px; border-radius: 4px; background: #dbe3f0; width: 46px; }
.window__nav i:first-child { width: 28px; height: 28px; border-radius: 8px; background: var(--c-primary); }
.window__hero { margin-top: 12px; }
.window__hero b { display: block; font-size: 24px; line-height: 1.3; color: var(--c-text); }
.window__hero b + b { color: var(--c-primary); }
.window__hero p { margin-top: 10px; display: flex; gap: 8px; }
.window__hero p i { height: 8px; border-radius: 4px; background: #dbe3f0; width: 140px; }
.window__hero p i:last-child { width: 90px; }
.window__btns { display: flex; gap: 8px; margin-top: 14px; }
.window__btns i { height: 30px; width: 84px; border-radius: 7px; background: var(--c-primary); }
.window__btns i:last-child { background: #fff; border: 1px solid var(--c-primary-200); }
.window__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.window__cards i { height: 54px; border-radius: 8px; background: #fff; border: 1px solid var(--c-border); position: relative; }
.window__cards i::before { content: ""; position: absolute; left: 10px; top: 10px; width: 16px; height: 16px; border-radius: 4px; background: var(--c-primary-100); }
.window__cards i::after { content: ""; position: absolute; left: 10px; bottom: 12px; width: 60%; height: 6px; border-radius: 3px; background: #e6ecf5; }

/* 代码编辑器模拟（定制服务视觉） */
.code-window { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--radius-l); overflow: hidden; background: #0f172a; box-shadow: var(--shadow-l); border: 1px solid rgba(148, 163, 184, 0.15); display: flex; flex-direction: column; }
.code-window__bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #111a2e; border-bottom: 1px solid rgba(148, 163, 184, 0.12); }
.code-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.code-window__bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: #64748b; }
.code-window pre { margin: 0; padding: 18px 20px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.75; color: #cbd5e1; overflow: hidden; flex: 1; }
.code-window .c-k { color: #c084fc; } .code-window .c-s { color: #86efac; } .code-window .c-f { color: #60a5fa; } .code-window .c-c { color: #64748b; } .code-window .c-n { color: #fbbf24; }
.code-window__status { height: 26px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #1d4ed8; color: #dbeafe; font-size: 11px; font-family: var(--font-mono); }

/* 能力清单（3列带分隔线） */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-border); border-left: 1px solid var(--c-border); }
.cap-item { display: flex; gap: 16px; padding: 30px 26px; border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); background: #fff; transition: background 0.2s; }
.cap-item:hover { background: var(--c-bg-soft-2); }
.cap-item .icon { font-size: 26px; color: var(--c-primary); margin-top: 3px; }
.cap-item h3 { font-size: 17px; margin-bottom: 6px; }
.cap-item p { font-size: 14px; color: var(--c-muted); }
.section--soft .cap-grid { border-radius: var(--radius-l); overflow: hidden; }

/* 定制服务（左文右图） */
.custom__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.custom__visual { position: relative; min-height: 420px; }
.custom__list { list-style: none; display: grid; gap: 26px; margin-top: 36px; }
.custom__list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.custom__list h3 { font-size: 18px; margin-bottom: 6px; }
.custom__list p { font-size: 15px; color: var(--c-muted); }
.custom--reverse .custom__inner > :first-child { order: 2; }

/* 常见问题 */
.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: flex-start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .section-desc { margin-bottom: 26px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--c-border); border-radius: 14px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: var(--c-primary-200); box-shadow: var(--shadow-s); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { font-size: 20px; color: var(--c-primary); transition: transform 0.25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item__body { padding: 0 24px 22px; color: var(--c-muted); font-size: 15px; }
.faq-item__body p + p { margin-top: 10px; }
.faq-group { margin-bottom: 56px; }
.faq-group__title { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.faq-group__title .icon { color: var(--c-primary); font-size: 24px; }

/* 适用场景 / 痛点 */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene { padding: 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--c-border); display: flex; gap: 14px; }
.scene .icon { font-size: 22px; color: var(--c-danger); margin-top: 3px; }
.scene h3 { font-size: 16px; margin-bottom: 4px; }
.scene p { font-size: 14px; color: var(--c-muted); }

/* ---------- 16. 文章列表 & 详情 ---------- */
.archive-hero { background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%); padding-bottom: 48px; }
.archive-hero h1 { font-size: 38px; margin: 10px 0 12px; }
.archive-hero .section-desc { max-width: 680px; }
.archive-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.archive-filter a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--c-border); color: var(--c-text-2); }
.archive-filter a:hover, .archive-filter a.is-active { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-50); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 56px 0 0; padding: 0; list-style: none; }
.pagination li { list-style: none; display: inline-flex; }
.pagination .page-numbers svg { width: 16px; height: 16px; }
.pagination .prev svg { transform: rotate(180deg); }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-border); background: #fff; color: var(--c-text-2); font-size: 14px; font-weight: 500; }
.pagination .page-numbers:hover { border-color: var(--c-primary-200); color: var(--c-primary); }
.pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: transparent; }
.empty-state { text-align: center; padding: 64px 24px; color: var(--c-muted); }
.empty-state .icon { font-size: 56px; color: var(--c-primary-200); margin-bottom: 16px; }

.single-hero { background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%); padding-bottom: 56px; }
.single-hero__inner { max-width: 860px; }
.single-hero h1 { font-size: 38px; line-height: 1.3; margin: 12px 0 18px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--c-muted); font-size: 14px; }
.entry-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta svg { width: 16px; height: 16px; }
.entry-meta a { color: var(--c-muted); }
.entry-meta a:hover { color: var(--c-primary); }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.single-main { min-width: 0; }
.entry-thumb { border-radius: var(--radius-l); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16/8; }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-content { font-size: 17px; line-height: 1.9; color: var(--c-text-2); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 26px; margin-top: 2.2em; padding-top: 0.2em; color: var(--c-text); position: relative; padding-left: 16px; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 4px; height: 1em; border-radius: 2px; background: var(--c-primary); }
.entry-content h3 { font-size: 21px; margin-top: 1.8em; color: var(--c-text); }
.entry-content h4 { font-size: 18px; margin-top: 1.5em; }
.entry-content p { }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content li::marker { color: var(--c-primary); }
.entry-content a { text-decoration: underline; text-decoration-color: var(--c-primary-200); text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-m); margin: 0 auto; }
.entry-content blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--c-primary); background: var(--c-bg-soft); border-radius: 0 var(--radius-m) var(--radius-m) 0; color: var(--c-text-2); font-size: 16px; }
.entry-content blockquote p { margin: 0; }
.entry-content pre { padding: 18px 20px; border-radius: var(--radius-m); background: #0f172a; color: #e2e8f0; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.entry-content code { font-family: var(--font-mono); font-size: 0.92em; background: var(--c-bg-soft); padding: 2px 6px; border-radius: 4px; color: var(--c-primary-700); }
.entry-content pre code { background: transparent; padding: 0; color: inherit; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--c-border); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--c-bg-soft); font-weight: 600; }
.entry-content .yw-callout { padding: 20px 24px; border-radius: var(--radius-m); background: var(--c-primary-50); border: 1px solid var(--c-primary-100); font-size: 15.5px; }
.entry-content .yw-callout strong { color: var(--c-primary-700); }
.entry-content .wp-block-image figcaption { text-align: center; font-size: 13px; color: var(--c-muted); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--c-border); }
.entry-tags a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: var(--c-bg-soft); color: var(--c-text-2); font-size: 13px; }
.entry-tags a:hover { background: var(--c-primary-50); color: var(--c-primary); }
.entry-cta { margin-top: 40px; padding: 28px 32px; border-radius: var(--radius-l); background: linear-gradient(120deg, #0f1b33, #1e40af); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.entry-cta h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.entry-cta p { color: #bfd3ff; font-size: 14.5px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--c-border); border-radius: var(--radius-m); color: var(--c-text); font-weight: 500; font-size: 15px; }
.post-nav a:hover { border-color: var(--c-primary-200); color: var(--c-primary); }
.post-nav small { display: block; font-size: 12px; color: var(--c-muted); margin-bottom: 4px; font-weight: 400; }
.post-nav .next { text-align: right; }

/* 侧栏 */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; align-self: start; }
.widget { padding: 24px; border: 1px solid var(--c-border); border-radius: var(--radius-l); background: #fff; }
.widget__title { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.widget__title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--c-primary); }
.widget ul { list-style: none; display: grid; gap: 10px; }
.widget ul a { color: var(--c-text-2); font-size: 14.5px; display: block; }
.widget ul a:hover { color: var(--c-primary); }
.widget .count { float: right; color: var(--c-muted-2); font-size: 13px; }
.widget--cta { background: linear-gradient(160deg, var(--c-primary), var(--c-primary-700)); border: 0; color: #fff; }
.widget--cta .widget__title { color: #fff; }
.widget--cta .widget__title::before { background: #fff; }
.widget--cta p { color: #dbe7ff; font-size: 14px; margin-bottom: 16px; }
.widget--cta .btn { width: 100%; }
.toc { list-style: none; display: grid; gap: 6px; }
.toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--c-border); font-size: 14px; color: var(--c-muted); }
.toc a:hover, .toc a.is-active { color: var(--c-primary); border-color: var(--c-primary); }
.toc .toc--h3 a { padding-left: 22px; font-size: 13px; }
.related-list { list-style: none; display: grid; gap: 14px; }
.related-list a { display: block; font-size: 14.5px; color: var(--c-text-2); line-height: 1.5; }
.related-list a:hover { color: var(--c-primary); }
.related-list time { display: block; font-size: 12px; color: var(--c-muted-2); margin-top: 3px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; height: 42px; padding: 0 14px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; }
.search-form input:focus { border-color: var(--c-primary); outline: none; }
.search-form button { width: 42px; height: 42px; border-radius: 10px; border: 0; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }

/* 评论 */
.comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--c-border); }
.comments__title { font-size: 20px; margin-bottom: 20px; }
.comment-list { list-style: none; display: grid; gap: 20px; }
.comment { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.comment img { border-radius: 50%; }
.comment__head { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--c-muted); }
.comment__head b { color: var(--c-text); }
.comment__body { font-size: 15px; color: var(--c-text-2); margin-top: 4px; }
.comment .children { list-style: none; margin-top: 16px; display: grid; gap: 16px; }
.comment-form { display: grid; gap: 14px; margin-top: 24px; }
.comment-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px var(--c-primary-100); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .form-submit { margin: 0; }
.comment-form .submit { height: 44px; padding: 0 22px; border-radius: 10px; border: 0; background: var(--c-primary); color: #fff; font-weight: 600; }
.comment-reply-title { font-size: 18px; margin-top: 32px; }
.comment-notes, .logged-in-as { font-size: 13px; color: var(--c-muted); }

/* ---------- 17. 通用页面 / 关于 / 联系 ---------- */
.page-content { padding: 56px 0 96px; }
.page-content .entry-content { max-width: 860px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid .section-head { margin-bottom: 20px; }
.about-points { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--c-text-2); }
.about-points .icon { color: var(--c-accent); font-size: 20px; margin-top: 4px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 30px 28px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--c-border); }
.value-card .icon-box { margin-bottom: 18px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--c-muted); }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.fact { padding: 22px 24px; border-radius: var(--radius-l); background: var(--c-primary-50); border: 1px solid var(--c-primary-100); }
.fact b { display: block; font-size: 22px; color: var(--c-primary-700); margin-bottom: 4px; }
.fact span { font-size: 14px; color: var(--c-text-2); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: flex-start; }
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius-l); border: 1px solid var(--c-border); background: #fff; }
.contact-item .icon-box { flex-shrink: 0; }
.contact-item h3 { font-size: 16px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--c-text-2); }
.contact-item a.big { font-size: 20px; font-weight: 700; color: var(--c-primary); }
.contact-item small { display: block; color: var(--c-muted); font-size: 13px; margin-top: 4px; }
.contact-qr { display: flex; align-items: center; gap: 18px; }
.contact-qr img { width: 120px; height: 120px; border-radius: 12px; border: 1px solid var(--c-border); }
.form-card { padding: 36px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-m); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--c-muted); font-size: 14.5px; margin-bottom: 24px; }
.yw-form { display: grid; gap: 16px; }
.yw-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.yw-form label { display: block; font-size: 14px; font-weight: 600; color: var(--c-text-2); margin-bottom: 6px; }
.yw-form label .req { color: var(--c-danger); margin-left: 2px; }
.yw-form input, .yw-form select, .yw-form textarea { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.yw-form textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
.yw-form input:focus, .yw-form select:focus, .yw-form textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px var(--c-primary-100); }
.yw-form .hp { position: absolute; left: -9999px; }
.yw-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.yw-form__foot small { color: var(--c-muted); font-size: 13px; }
.form-msg { display: none; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.form-msg.is-ok { display: block; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-msg.is-err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

/* 404 */
.error-page { text-align: center; padding: 96px 0 120px; }
.error-page__code { font-size: 120px; font-weight: 800; line-height: 1; color: var(--c-primary-100); font-family: var(--font-mono); }
.error-page h1 { font-size: 30px; margin: 8px 0 12px; }
.error-page p { color: var(--c-muted); margin-bottom: 28px; }
.error-page .search-form { max-width: 460px; margin: 0 auto 28px; }

/* ---------- 18. 动效 ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 返回顶部 */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--c-border); color: var(--c-text-2); box-shadow: var(--shadow-m); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s; z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--c-primary); border-color: var(--c-primary-200); }

/* 移动端底部联系栏 */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--c-border); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
.mobile-bar a { flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.mobile-bar .is-call { background: var(--c-primary-50); color: var(--c-primary); }
.mobile-bar .is-consult { background: var(--c-primary); color: #fff; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1100px) {
  .hero__title { font-size: 42px; }
  .page-hero__title { font-size: 38px; }
  .section-title { font-size: 32px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .header-phone { display: none; }
}

@media (max-width: 991px) {
  :root { --section-y: 72px; }
  .site-header { position: fixed; top: 0; left: 0; right: 0; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body { padding-top: var(--header-h); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); align-self: stretch; margin: 0; padding: 0; background: #fff; border-top: 1px solid var(--c-border-2); opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0s 0.25s; z-index: 99; display: flex; flex-direction: column; justify-content: flex-start; }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
  html { overflow-x: clip; }
  .main-nav > ul { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .main-nav li { flex-shrink: 1; }
  .main-nav > ul > li { border-bottom: 1px solid var(--c-border-2); }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .main-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-size: 16px; font-weight: 500; border-radius: 0; white-space: normal; color: var(--c-text); }
  .main-nav a:hover { background: transparent; }
  .main-nav li.current-menu-item > a::after, .main-nav li.current_page_item > a::after, .main-nav li.current-menu-ancestor > a::after { display: none; }
  .main-nav li.menu-item-has-children > a::after { content: ""; display: none; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 8px 14px; margin: -4px 0 0; }
  .main-nav .sub-menu a { padding: 10px 4px; font-size: 15px; font-weight: 400; color: var(--c-muted); }
  .main-nav .sub-menu a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary-200); margin-right: 10px; flex-shrink: 0; }
  .main-nav .sub-menu a { justify-content: flex-start; }
  .main-nav .mobile-cta { display: grid; gap: 10px; margin: 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-border); background: var(--c-bg-soft-2); flex-shrink: 0; }
  .main-nav .mobile-cta a.btn { width: 100%; height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 0 22px; font-size: 16px; font-weight: 600; color: #fff; background: var(--c-primary); border-radius: var(--radius-m); }
  .main-nav .mobile-cta a.btn:hover { color: #fff; background: var(--c-primary-600); }
  .main-nav .mobile-cta a.mobile-cta__phone { height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 0; font-size: 15px; font-weight: 600; color: var(--c-primary); background: #fff; border: 1px solid var(--c-primary-200); border-radius: var(--radius-m); }
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; min-height: 0; }
  .hero__visual, .page-hero__visual { min-height: 340px; }
  .hero__card { left: 16px; top: auto; bottom: 16px; transform: none; padding: 18px 20px; width: auto; }
  .hero__card ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .hero__card li { padding: 2px 0; font-size: 15px; }
  .quick-nav__list { grid-template-columns: repeat(2, 1fr); }
  .quick-nav__item { border-left: 0; border-top: 1px solid var(--c-border-2); padding: 20px 16px; }
  .quick-nav__item:nth-child(-n+2) { border-top: 0; }
  .quick-nav__item:nth-child(2n) { border-left: 1px solid var(--c-border-2); }
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .why__inner, .custom__inner, .faq__inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .custom--reverse .custom__inner > :first-child { order: 0; }
  .faq__intro { position: static; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process__item:nth-child(2)::before { display: none; }
  .cap-grid, .scene-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .single-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --section-y: 56px; --header-h: 64px; }
  body { font-size: 15px; padding-top: var(--header-h); padding-bottom: 64px; }
  .brand { font-size: 20px; }
  .brand__logo, .brand__mark { width: 30px; height: 30px; }
  .hero__title { font-size: 32px; line-height: 1.32; margin: 12px 0 20px; }
  .hero__desc { font-size: 16px; }
  .hero__actions .btn { flex: 1; }
  .hero__visual, .page-hero__visual { min-height: 280px; }
  .rack-scene__racks { right: 6%; gap: 10px; }
  .rack { width: 58px; }
  .page-hero__title { font-size: 29px; line-height: 1.34; margin: 12px 0 18px; }
  .page-hero__badge { width: 56px; height: 56px; font-size: 26px; right: 10px; top: -10px; transform: none; border-radius: 16px; }
  .section-title { font-size: 26px; }
  .section-head { margin-bottom: 36px; }
  .quick-nav__list { grid-template-columns: 1fr 1fr; }
  .quick-nav__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 14px; }
  .grid--4, .grid--3, .grid--2, .cap-grid, .scene-grid, .value-grid, .post-grid, .process, .fact-strip { grid-template-columns: 1fr; }
  .process { gap: 32px; }
  .process__item::before { display: none !important; }
  .cap-item { padding: 22px 20px; }
  .posts-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta { padding: 48px 0; }
  .cta__title { font-size: 26px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom a { margin-left: 0; margin-right: 16px; }
  .single-hero h1 { font-size: 28px; }
  .entry-content { font-size: 16px; }
  .entry-cta { flex-direction: column; align-items: flex-start; }
  .post-nav { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .yw-form .row-2, .comment-form .row-2 { grid-template-columns: 1fr; }
  .archive-hero h1 { font-size: 30px; }
  .error-page__code { font-size: 84px; }
  .mobile-bar { display: flex; }
  .to-top { bottom: 76px; right: 16px; }
  .dash { padding: 16px; }
  .dash__brand { white-space: nowrap; }
  .dash__tabs { display: none; }
  .dash__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .dash__stat b { font-size: 18px; }
  .dash__row { grid-template-columns: 1fr; }
}

/* ---------- 20. 手机（小程序）模拟 & 服务页仪表盘 ---------- */
.phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 250px; height: 500px; border-radius: 40px; background: #0f172a; padding: 12px; box-shadow: var(--shadow-l), inset 0 0 0 2px rgba(255,255,255,.08); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 0 0 14px 14px; background: #0f172a; z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%); display: flex; flex-direction: column; padding: 34px 16px 16px; gap: 14px; }
.phone__status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--c-text); padding: 0 6px; }
.phone__title { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--c-text); margin-top: 4px; }
.phone__title i { width: 26px; height: 26px; border-radius: 8px; background: #e6ecf5; }
.phone__title i:first-child { background: var(--c-primary); }
.phone__hero { padding: 18px 16px; border-radius: 16px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-700)); color: #fff; }
.phone__hero b { display: block; font-size: 17px; line-height: 1.35; }
.phone__hero b + b { color: #dbe7ff; font-size: 14px; font-weight: 500; margin-top: 2px; }
.phone__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.phone__grid i { aspect-ratio: 1; border-radius: 12px; background: #fff; border: 1px solid var(--c-border); position: relative; }
.phone__grid i::before { content: ""; position: absolute; top: 25%; right: 25%; bottom: 25%; left: 25%; border-radius: 6px; background: var(--c-primary-100); }
.phone__list { display: grid; gap: 10px; margin-top: auto; }
.phone__list i { height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--c-border); position: relative; }
.phone__list i::before { content: ""; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 6px; background: var(--c-primary-50); }
.phone__list i::after { content: ""; position: absolute; left: 44px; top: 18px; width: 45%; height: 8px; border-radius: 4px; background: #e6ecf5; }
.page-hero__dash { position: relative; display: block; }
.page-hero__dash .dash { width: 100%; }
.page-hero__visual.has-dash { min-height: 0; }
.custom__visual .dash { position: relative; }
.custom__visual.has-dash { min-height: 0; }
@media (max-width: 640px) {
  .phone { width: 200px; height: 400px; padding: 10px; border-radius: 32px; }
  .phone__screen { border-radius: 24px; padding: 28px 12px 12px; gap: 10px; }
  .phone__hero b { font-size: 15px; }
  .page-hero__visual:has(.phone) { min-height: 420px; }
  .custom__visual { min-height: 360px; }
}

/* 第三方插件输出 */
.post-views { margin-top: 24px; font-size: 13px; color: var(--c-muted-2); display: flex; align-items: center; gap: 6px; }
.post-views .post-views-icon.dashicons { font-size: 16px; width: 16px; height: 16px; }

.widget__qr { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: #dbe7ff; }
.widget__qr img { width: 72px; height: 72px; border-radius: 8px; background: #fff; padding: 3px; }

/* ---------- 21. 旧浏览器兼容 ---------- */
@supports not (aspect-ratio: 16 / 9) {
  .post-card__media { height: 0; padding-top: 56.25%; }
  .post-card__media img, .post-card__placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .entry-thumb { height: 0; padding-top: 50%; position: relative; }
  .entry-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .phone__grid i { height: 0; padding-top: 100%; }
}
.main-nav { -webkit-overflow-scrolling: touch; }
