/*
 * 维网建站主题样式 —— 科技蓝 N9 / Tech Blue N9
 * ============================================================================
 * 版权所有 (C) 西安尊云信息科技有限公司，并保留所有权利。
 * 网站地址: http://www.zunyunkeji.com
 * ----------------------------------------------------------------------------
 * 许可声明：未经许可不得将本软件的整体或任何部分用于商业用途及再发布。
 * ============================================================================
 * Author: 缘境 (yvsm@zunyunkeji.com) QQ:316430983 微信：yvsm316
 */

/* 本地 Web 字体：Syne（西文展示）+ Noto Sans SC（中文正文字重） */
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/syne-600.woff2") format("woff2");
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/syne-700.woff2") format("woff2");
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/syne-800.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-sc-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-sc-500.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-sc-700.woff2") format("woff2");
}

:root {
  --ink: #1a202c;
  --ink-2: #2d3748;
  --mute: #718096;
  --line: #e2e8f0;
  --line-soft: #edf2f7;
  --paper: #f8fafc;
  --paper-2: #f1f5f9;
  --surface: #ffffff;
  --accent: #165DFF;
  --accent-2: #0f4cd3;
  --accent-orange: #FF7D00;
  --steel: #3182ce;
  --hero-from: #0a192f;
  --hero-to: #112240;
  --radius: 8px;
  /* 中文走 Noto Sans SC；西文标题优先 Syne */
  --font-display: "Syne", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shell: min(1280px, calc(100% - 2.5rem));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.wdev-body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.75;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-main { min-height: 56vh; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 245, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.brand-logo img { height: 34px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--ink);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: .45rem .7rem;
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav a span { position: relative; z-index: 1; }
.nav a::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .2rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover,
.nav a.active { color: var(--ink); }
.nav a.active::after,
.nav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: var(--accent); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: #f0f3f8; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.header-cta { flex-shrink: 0; }

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  place-items: center;
  cursor: pointer;
  background: var(--surface);
}
.nav-burger i,
.nav-burger i::before,
.nav-burger i::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-burger i::before,
.nav-burger i::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-burger i::before { top: -5px; }
.nav-burger i::after { top: 5px; }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 48%, #0f2832 100%);
  color: #fff;
  padding: 5.5rem 0 0;
  min-height: min(82vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
  pointer-events: none;
}
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 78% 18%, rgba(31, 79, 214, .35), transparent 60%),
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,.04) 41%, transparent 42%);
}

.hero-inner {
  position: relative;
  padding: 1.5rem 0 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  width: var(--shell);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 1.35rem;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.hero-brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero-lead {
  margin: 0 0 2.2rem;
  max-width: 28em;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}

.hero-rule {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: auto;
  text-align: center;
}
.rule-item {
  padding: 1.4rem 1rem 1.55rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.rule-item:last-child { border-right: 0; }
.rule-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .35rem;
}
.rule-item span {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.55);
}

/* —— Sections —— */
.section {
  padding: 4.2rem 0;
}
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}

.sec-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}
.sec-head h2 {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.sec-head p {
  margin: 0;
  color: var(--mute);
}
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.text-link:hover {
  color: var(--accent-2);
  border-bottom-color: currentColor;
}

/* Service stack — numbered rows, not cards */
.service-stack {
  border-top: 1px solid var(--ink);
}
.svc-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s, padding-left .25s var(--ease);
}
.svc-row:hover {
  background: rgba(31, 79, 214, .04);
  padding-left: .5rem;
}
.svc-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: .04em;
}
.svc-body h3 {
  margin: 0 0 .25rem;
  font-size: 1.12rem;
  font-weight: 700;
}
.svc-body p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}
.svc-go {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: .08em;
}

/* Blog mosaic */
.blog-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.blog-cell {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.4rem 1.35rem;
  background: var(--surface);
  min-height: 150px;
  transition: background .2s;
}
.blog-cell:hover { background: #f7f9fc; }
.blog-cell:first-child {
  grid-row: span 2;
  min-height: 100%;
  justify-content: flex-end;
  padding: 1.8rem 1.6rem;
  background:
    linear-gradient(160deg, #0f1c26 0%, #1a3340 100%);
  color: #fff;
}
.blog-cell:first-child time { color: rgba(255,255,255,.55); }
.blog-cell:first-child p { color: rgba(255,255,255,.72); }
.blog-cell:first-child h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.3;
}
.blog-cell time {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mute);
}
.blog-cell h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.blog-cell p {
  margin: 0;
  font-size: 13.5px;
  color: var(--mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-cell:first-child p { -webkit-line-clamp: 4; }

/* Case rail */
.case-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.case-tile {
  padding: 1.4rem 0 0;
  border-top: 2px solid var(--ink);
  transition: border-color .2s;
}
.case-tile:hover { border-top-color: var(--accent); }
.case-tag {
  display: inline-block;
  margin-bottom: .7rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
}
.case-tile h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}

/* CTA band */
.band-cta {
  background:
    linear-gradient(120deg, var(--hero-from), #1a3a48 55%, #16304a);
  color: #fff;
  padding: 3.5rem 0;
}
.band-inner {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.band-inner h2 {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.band-inner p {
  margin: 0 0 1.4rem;
  color: rgba(255,255,255,.7);
}
.band-inner .band-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* —— Inner pages —— */
.page-hero {
  padding: 2.6rem 0 2rem;
  background:
    linear-gradient(105deg, rgba(31, 79, 214, .08) 0%, transparent 42%),
    linear-gradient(180deg, #e8eef4 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
  margin: .55rem 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.page-lead {
  margin: 0;
  max-width: 36em;
  color: var(--mute);
}
.crumb-plain,
.breadcrumb,
.seo-breadcrumb,
.page-hero nav,
.page-hero .breadcrumb {
  margin: 0;
  font-size: 13px;
  color: var(--mute);
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
  margin: .85rem 0 0;
  font-size: 13.5px;
  color: var(--mute);
}
.meta-line a { color: var(--accent); font-weight: 500; }

.layout-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.list-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.list-row:first-child { border-top: 1px solid var(--ink); }
.list-date {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  padding-top: .2rem;
}
.list-body h2 {
  margin: 0 0 .4rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}
.list-body h2 a:hover { color: var(--accent); }
.list-body p {
  margin: 0 0 .55rem;
  color: var(--mute);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 1.8rem 1.9rem;
}

.article-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.article-body h2,
.article-body h3 {
  font-family: var(--font-display);
  margin: 1.6rem 0 .7rem;
}
.article-body p { margin: 0 0 1rem; }
.article-body ul,
.article-body ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.article-body li { margin: .35rem 0; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body img { margin: 1rem 0; border-radius: var(--radius); }
.article-body blockquote {
  margin: 1.2rem 0;
  padding: .85rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  color: var(--mute);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.tag-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  margin-right: .25rem;
}
.tag-chip,
.tag-item {
  display: inline-flex;
  padding: .28rem .65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--surface);
  transition: border-color .2s, color .2s;
}
.tag-chip:hover,
.tag-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Side rail */
.side-rail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 88px;
}
.side-block,
.side-cta {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.15rem 1.2rem;
}
.side-cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.side-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: .85rem;
  text-transform: uppercase;
}
.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-list li {
  border-top: 1px solid var(--line-soft);
}
.side-list li:first-child { border-top: 0; }
.side-list a {
  display: block;
  padding: .65rem 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  transition: color .2s;
}
.side-list a:hover { color: var(--accent); }
.side-cta p {
  margin: 0 0 1rem;
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}
.side-cta .btn-light { width: 100%; }

/* Pager */
.pager,
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 2.4rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line-soft);
}
.pager-nums {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  padding: .2rem;
  background: rgba(15, 25, 40, .03);
  border-radius: 999px;
}
.pager a,
.pager span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-soft);
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s;
}
.pager a:hover,
.pagination a:hover {
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transform: translateY(-1px);
}
.pager .current,
.pager .active,
.pagination .current,
.pagination .active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(31, 79, 214, .28);
}
.pager .disabled {
  opacity: .42;
  cursor: not-allowed;
  background: transparent;
  box-shadow: 0 0 0 1px var(--line-soft);
  transform: none;
}
.pager-prev,
.pager-next {
  min-width: auto;
  padding: 0 1.05rem;
}
.pager-nums .pager-num {
  box-shadow: none;
  background: transparent;
}
.pager-nums .pager-num.current {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 79, 214, .25);
}
.pager-ellipsis {
  min-width: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--mute) !important;
  font-weight: 600 !important;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding-top: 3rem;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
}
.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: .75rem;
  filter: brightness(0) invert(1);
}
.footer-name {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}
.footer-desc {
  margin: 0;
  font-size: 13.5px;
  max-width: 22em;
  color: rgba(255,255,255,.55);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-col h4 {
  margin: 0 0 .85rem;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 600;
}
.footer-col > a {
  display: block;
  margin: 0 0 .45rem;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}
.footer-col > a:hover { color: #fff; }
.footer-col > p,
.footer-contact {
  display: block;
  margin: 0 0 .55rem;
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
  white-space: nowrap;
}
.footer-contact {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: .35rem;
  white-space: nowrap;
}
.footer-contact .label {
  flex: 0 0 auto;
  color: rgba(255,255,255,.5);
}
.footer-contact a {
  display: inline;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.footer-contact a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.footer-company {
  margin: 0 0 .75rem;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* 404 */
.err-404 {
  text-align: center;
  padding: 6rem 0;
}
.err-code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.04em;
}
.err-404 h1 {
  margin: .6rem 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.err-404 p { color: var(--mute); margin: 0 0 1.4rem; }

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Breadcrumb engine output polish */
.page-hero a { color: var(--mute); }
.page-hero a:hover { color: var(--accent); }

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero-rule { grid-template-columns: repeat(2, 1fr); }
  .rule-item:nth-child(2) { border-right: 0; }
  .blog-mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .blog-cell:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .layout-2 { grid-template-columns: 1fr; }
  .side-rail { position: static; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-burger { display: grid; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .5rem 1.25rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(11,15,20,.08);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a {
    padding: .85rem .2rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
  .nav a.active { color: var(--accent); }

  .hero { min-height: auto; padding-top: 3.8rem; }
  .hero-inner { padding: 1rem 0 2.8rem; }
  .hero-kicker { margin-bottom: 1.1rem; }
  .hero-brand { font-size: clamp(2.2rem, 12vw, 3.2rem); margin-bottom: 1rem; }
  .hero-lead { margin-bottom: 1.8rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 9.5rem; }
  .svc-row {
    grid-template-columns: 3.2rem 1fr;
    gap: .85rem;
  }
  .svc-go { display: none; }
  .blog-mosaic { grid-template-columns: 1fr; }
  .blog-cell:first-child { grid-column: auto; }
  .list-row {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .footer-cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* —— Case cards with media —— */
.page-hero-case {
  background:
    linear-gradient(120deg, rgba(20, 48, 58, .08) 0%, transparent 50%),
    linear-gradient(180deg, #e8eef4 0%, var(--paper) 100%);
}
.case-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.case-tile-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-top: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color .2s, transform .25s var(--ease);
}
.case-tile-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.case-tile-img {
  aspect-ratio: 400 / 285;
  overflow: hidden;
  background: var(--ink-2);
}
.case-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s var(--ease);
}
.case-tile-card:hover .case-tile-img img { transform: scale(1.03); }
.case-tile-body {
  padding: 1.1rem 1.15rem 1.25rem;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
  min-height: 5.5rem;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.case-grid-sm {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.case-card:hover {
  background: #fbfcfe;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.case-card-media {
  aspect-ratio: 400 / 285;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--ink-2), #243040);
  overflow: hidden;
}
.case-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s var(--ease);
}
.case-card:hover .case-card-media img { transform: scale(1.03); }
.case-card-ph {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255,255,255,.04) 8px, rgba(255,255,255,.04) 16px),
    linear-gradient(145deg, #1a2836, #0f1822);
  color: rgba(255,255,255,.45);
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .2em;
}
.case-card-body {
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
  border-top: 2px solid var(--ink);
}
.case-card-body .case-tag {
  margin-bottom: 0;
}
.case-card-body h2,
.case-card-body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}
.case-card-body .text-link { margin-top: .55rem; }
.case-show-hero {
  padding: 2.8rem 0 2rem;
  background: linear-gradient(180deg, #0d1b24 0%, #14303a 100%);
  color: #fff;
}
.case-show-hero a { color: rgba(255,255,255,.7); }
.case-show-hero .page-lead { color: rgba(255,255,255,.72); max-width: 40rem; }
.case-show-hero .meta-line { color: rgba(255,255,255,.55); }
.case-show-media { display: none; }
.case-show-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  width: 400px;
  max-width: 100%;
}
.case-show-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}
.layout-case {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}
.case-show-shot {
  position: sticky;
  top: 88px;
}
.case-show-shot .case-show-figure {
  box-shadow: 0 10px 30px rgba(15, 25, 40, .08);
}
.case-show-shot .case-shot-cap {
  margin: .75rem 0 0;
  font-size: 13px;
  color: var(--mute);
}
.case-show-cta {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(31, 79, 214, .06);
}
.case-show-cta h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
.case-show-cta p { margin: 0 0 1rem; color: var(--mute); }
.case-side { display: flex; flex-direction: column; gap: 1rem; }
.cover-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cover-head h2 { margin: 0; font-size: 1.35rem; }

/* —— Service landing pages —— */
.page-hero-service {
  background:
    linear-gradient(115deg, rgba(31, 79, 214, .1) 0%, transparent 45%),
    linear-gradient(180deg, #e8eef4 0%, var(--paper) 100%);
}
.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: svc;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--ink);
  transition: border-color .2s, transform .25s var(--ease);
}
.svc-card::before {
  counter-increment: svc;
  content: counter(svc, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}
.svc-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-2px);
}
.svc-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.svc-card p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: var(--mute);
}
.svc-card .svc-go {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.svc-landing .svc-hero {
  padding: 3.2rem 0 2.8rem;
  color: #fff;
  background:
    linear-gradient(125deg, var(--hero-from) 0%, #1a3a48 55%, #16304a 100%);
}
.svc-tone-website .svc-hero { background: linear-gradient(125deg, #0d1b24, #1a3d55 60%, #1f4fd6); }
.svc-tone-biz .svc-hero { background: linear-gradient(125deg, #14181f, #2a3a4d 55%, #3d5a80); }
.svc-tone-app .svc-hero { background: linear-gradient(125deg, #0f1720, #16303a 50%, #0e7490); }
.svc-tone-mini .svc-hero { background: linear-gradient(125deg, #121a14, #1f3d2a 55%, #2f6b4f); }
.svc-tone-api .svc-hero { background: linear-gradient(125deg, #10141c, #1e293b 50%, #334155); }
.svc-tone-wechat .svc-hero { background: linear-gradient(125deg, #0f1a14, #1a3a28 55%, #07c160); }
.svc-tone-ai .svc-hero { background: linear-gradient(125deg, #14101c, #2a1f45 52%, #6d28d9); }
.svc-tone-support .svc-hero { background: linear-gradient(125deg, #1a1510, #3d2e22 55%, #8b5a2b); }
.svc-note {
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  border-left: 3px solid rgba(109, 40, 217, .45);
  background: rgba(109, 40, 217, .06);
  color: #4b5563;
  font-size: .95rem;
  line-height: 1.65;
}

.svc-kicker {
  margin: 0 0 .75rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.svc-hero h1 {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.15;
}
.svc-lead {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
}
.svc-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.svc-pillars li {
  padding: .35rem .7rem;
  border: 1px solid rgba(255,255,255,.28);
  font-size: 12.5px;
  color: rgba(255,255,255,.88);
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 2rem;
  align-items: center;
}
.svc-hero .btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.45);
}
.svc-hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.svc-panel-frame {
  min-height: 220px;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .45rem;
}
.svc-panel-frame span {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.svc-panel-frame strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.svc-panel-frame em {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.svc-panel-phone { border-radius: 18px 18px 10px 10px; max-width: 260px; margin-left: auto; }
.svc-panel-code { font-family: ui-monospace, Consolas, monospace; }

.svc-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.svc-scope {
  padding: 1.2rem 1.15rem;
  background: var(--surface);
  border-top: 2px solid var(--accent);
}
.svc-scope strong {
  display: block;
  margin-bottom: .4rem;
  font-size: .95rem;
}
.svc-scope p {
  margin: 0;
  font-size: 14px;
  color: var(--mute);
}
.svc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.svc-steps li {
  padding: 1.15rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.svc-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: .75rem;
  color: var(--accent);
  font-weight: 700;
}
.svc-steps strong { font-size: 1rem; }
.svc-steps span { font-size: 14px; color: var(--mute); }
.svc-steps-5 { grid-template-columns: repeat(5, 1fr); }

.svc-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.svc-compare-item {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--ink);
}
.svc-compare-item h3 {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
}
.svc-compare-item > p {
  margin: 0 0 .85rem;
  font-size: 14px;
  color: var(--mute);
}
.svc-compare-item ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 14px;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.svc-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.svc-scene {
  padding: 1.25rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.svc-scene h3 {
  margin: 0 0 .55rem;
  font-size: 1rem;
  font-weight: 700;
}
.svc-scene p {
  margin: 0 0 .75rem;
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.55;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-tags li {
  padding: .28rem .55rem;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-soft);
}
.svc-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.svc-cap {
  padding: 1.2rem 1.15rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}
.svc-cap strong {
  display: block;
  margin-bottom: .4rem;
  font-size: .95rem;
}
.svc-cap p,
.svc-cap ul {
  margin: 0;
  font-size: 14px;
  color: var(--mute);
}
.svc-cap ul {
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.svc-platform {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.svc-platform-item {
  padding: 1.15rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  text-align: left;
}
.svc-platform-item strong {
  display: block;
  margin-bottom: .35rem;
  font-size: .95rem;
}
.svc-platform-item span {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}
/* 侧栏紧凑 CTA：青绿底，避免与纯黑页脚连成一块 */
.svc-cta-panel {
  margin: 0;
  padding: 1.5rem 1.4rem;
  background:
    linear-gradient(145deg, var(--hero-from), #1a3a48 60%, #16304a);
  color: #fff;
  border-radius: 2px;
}
.svc-cta-panel h2 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.svc-cta-panel p {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.svc-aside .svc-cta-panel { position: sticky; top: 88px; }
.svc-cta-panel .band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.btn-ghost-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.1rem;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 600;
}
.btn-ghost-ink:hover { background: rgba(255,255,255,.1); }

@media (max-width: 1100px) {
  .case-grid,
  .case-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .svc-steps-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .case-rail,
  .case-grid,
  .case-grid-sm,
  .svc-card-grid,
  .svc-compare,
  .svc-scene-grid { grid-template-columns: 1fr 1fr; }
  .layout-case,
  .svc-layout,
  .svc-hero-grid { grid-template-columns: 1fr; }
  .case-show-shot { position: static; }
  .case-show-figure { width: min(400px, 100%); margin: 0 auto; }
  .svc-scope-grid,
  .svc-steps,
  .svc-steps-5,
  .svc-platform,
  .svc-cap-grid { grid-template-columns: 1fr 1fr; }
  .svc-panel-phone { margin: 0; max-width: none; }
}
@media (max-width: 640px) {
  .case-rail,
  .case-grid,
  .case-grid-sm,
  .svc-card-grid,
  .svc-scope-grid,
  .svc-steps,
  .svc-steps-5,
  .svc-compare,
  .svc-scene-grid,
  .svc-platform,
  .svc-cap-grid { grid-template-columns: 1fr; }
}

/* —— Search page —— */
.page-hero-search {
  background:
    linear-gradient(115deg, rgba(31, 79, 214, .08) 0%, transparent 50%),
    linear-gradient(180deg, #e8eef4 0%, var(--paper) 100%);
}
.search-main { min-width: 0; }
.search-shell { max-width: 820px; }
.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
  margin-bottom: 1rem;
}
.search-form input[type="search"] {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.search-form input[type="search"]:focus {
  border-color: var(--accent);
}
.search-meta {
  margin: 0 0 1.25rem;
  font-size: 13px;
  color: var(--mute);
}
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.search-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: border-color .2s;
}
.search-item:hover { border-color: var(--accent); }
.search-thumb {
  aspect-ratio: 400 / 285;
  overflow: hidden;
  background: var(--ink-2);
}
.search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.search-thumb-ph {
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 6px, rgba(255,255,255,.04) 6px, rgba(255,255,255,.04) 12px),
    linear-gradient(145deg, #1a2836, #0f1822);
}
.search-item-body a {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: .35rem;
}
.search-item-body a:hover { color: var(--accent); }
.search-item-body p {
  margin: 0;
  font-size: 14px;
  color: var(--mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-pager {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: center;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}
.search-page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.search-page-btn:hover:not(.is-disabled):not(.is-active) {
  border-color: var(--accent);
  color: var(--accent);
}
.search-page-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  cursor: default;
}
.search-page-btn.is-disabled {
  opacity: .4;
  cursor: default;
}
.search-empty {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--line-soft);
}
.search-empty p {
  margin: 0 0 1.1rem;
  color: var(--mute);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 640px) {
  .search-form { grid-template-columns: 1fr; }
  .search-item { grid-template-columns: 72px minmax(0, 1fr); }
}

.process-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.process-rail li {
  border-top: 2px solid var(--accent, #2f6fed);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.process-rail strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent, #2f6fed);
}
.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.side-phone { margin: 0.75rem 0 0; }
.side-phone a { color: inherit; text-decoration: underline; }
.contact-tips {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(47, 111, 237, 0.06);
  border-left: 3px solid var(--accent, #2f6fed);
}
.contact-tips ul { margin: 0.75rem 0 0; padding-left: 1.2rem; }
.feedback-form {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.feedback-form .form-hint { color: var(--mute, #666); margin-bottom: 1rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.feedback-form .req {
  color: #c0392b;
  font-weight: 600;
  font-style: normal;
}
.feedback-form .req-opt {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  margin-left: .15rem;
}
.feedback-form input,
.feedback-form textarea {
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
  border-radius: 2px;
}
.form-full { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; }
.form-msg { margin-top: 0.85rem; color: var(--accent, #2f6fed); }
@media (max-width: 960px) {
  .process-rail { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-contact { white-space: normal; flex-wrap: wrap; }
}

/*
 * 维网建站主题补充样式（wdev_n90 专属组件）
 * ============================================================================
 * 版权所有 (C) 西安尊云信息科技有限公司，并保留所有权利。
 * 网站地址: http://www.zunyunkeji.com
 * ----------------------------------------------------------------------------
 * 许可声明：未经许可不得将本软件的整体或任何部分用于商业用途及再发布。
 * ============================================================================
 * Author: 缘境 (yvsm@zunyunkeji.com) QQ:316430983 微信：yvsm316
*/

/* ---------- 通用工具类 ---------- */
.text-center { text-align: center; }
.text-center .page-lead,
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.4rem; }

/* ---------- 区块标题 ---------- */
.section-head {
  margin-bottom: 2.4rem;
}
.section-title {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: .85rem 0 0;
  background: var(--accent);
}
.text-center .section-title::after { margin-inline: auto; }
.section-subtitle {
  margin: 0;
  max-width: 40em;
  color: var(--mute);
  font-size: 15px;
}

/* ---------- 按钮补充 ---------- */
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-section .btn-outline,
.band-cta .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.hero-section .btn-outline:hover,
.band-cta .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.btn-ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost-ink:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 首页 Hero ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 55%, #0d3b66 100%);
  color: #fff;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 15%, transparent 95%);
}
.hero-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 300px at 82% 20%, rgba(22, 93, 255, .38), transparent 62%),
    radial-gradient(420px 240px at 12% 88%, rgba(255, 125, 0, .16), transparent 65%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.6vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -.02em;
}
.hero-sub {
  margin: 0 0 2rem;
  max-width: 32em;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
}
.hero-section .hero-actions { justify-content: flex-start; }

/* ---------- 服务卡片 ---------- */
.section-services { padding-top: 4.2rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.services-grid-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  position: relative;
  padding: 1.9rem 1.7rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .25s;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 18px 40px -24px rgba(15, 35, 75, .35);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  color: var(--accent);
}
.service-icon svg { width: 100%; height: 100%; }
.service-icon.accent { color: var(--accent-orange); }
.service-icon.success { color: #0f9d58; }
.service-title {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.service-desc {
  margin: 0 0 1rem;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.75;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.1rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.service-link:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 优势矩阵 ---------- */
.section-advantages { background: var(--paper); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.advantage-item {
  padding: 1.8rem 1.6rem;
  background: var(--surface);
  transition: background .25s;
}
.advantage-item:hover { background: #fbfcfe; }
.adv-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .06em;
  margin-bottom: .7rem;
}
.advantage-item h4 {
  margin: 0 0 .5rem;
  font-size: 1.02rem;
  font-weight: 700;
}
.advantage-item p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- 开发流程 ---------- */
.flow-container {
  display: flex;
  align-items: stretch;
  gap: .5rem;
}
.flow-step {
  flex: 1 1 0;
  min-width: 0;
  padding: 1.6rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  text-align: center;
}
.flow-step h4 {
  margin: .9rem 0 .45rem;
  font-size: 1rem;
  font-weight: 700;
}
.flow-step p {
  margin: 0;
  color: var(--mute);
  font-size: 13.5px;
  line-height: 1.7;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}
.flow-line {
  flex: 0 0 28px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--accent));
}

/* ---------- 首页案例 ---------- */
.section-cases { background: var(--paper-2); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.cases-grid .case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.cases-grid .case-card:hover .case-thumb img { transform: scale(1.04); }
.case-info { padding: 1.2rem 1.3rem 1.4rem; }
.case-title {
  margin: 0 0 .5rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-summary {
  margin: 0 0 .8rem;
  color: var(--mute);
  font-size: 13.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}
.case-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 首页博客 / 表单 ---------- */
.section-blog { padding-top: 4rem; }
.contact-form-wrap {
  max-width: 720px;
  margin-inline: auto;
  padding: 2rem 2.1rem 2.2rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.contact-form-wrap .feedback-form { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- 列表 / 正文主区 ---------- */
.list-main { min-width: 0; }
.article-main { min-width: 0; }
.page-hero-article .page-lead { max-width: 44em; }
.cover-block { min-width: 0; }
.lbl { font-size: .9rem; }

/* ---------- 服务详情页补充 ---------- */
.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.svc-hero-copy { min-width: 0; }
.svc-hero-panel { display: flex; align-items: center; justify-content: flex-end; }
.svc-main { min-width: 0; }
.svc-panel-code {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: ui-monospace, Consolas, "SFMono-Regular", monospace;
  min-width: 240px;
}
.svc-panel-code span {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.svc-panel-code strong {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}
.svc-panel-code em {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* 服务页配色 */
.svc-tone-default .svc-hero { background: linear-gradient(125deg, #0a192f, #112240 55%, #165DFF); }
.svc-tone-php .svc-hero { background: linear-gradient(125deg, #0f1b33, #24325c 55%, #4b5ec7); }
.svc-tone-vue .svc-hero { background: linear-gradient(125deg, #0c1f1a, #14453a 55%, #2f9e6f); }
.svc-tone-uniapp .svc-hero { background: linear-gradient(125deg, #101827, #1e3350 52%, #1f6fd0); }
.svc-tone-wechat .svc-hero { background: linear-gradient(125deg, #0f1a14, #1a3a28 55%, #07c160); }
.svc-tone-ai .svc-hero { background: linear-gradient(125deg, #14101c, #2a1f45 52%, #6d28d9); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .services-grid,
  .services-grid-full,
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-container { flex-wrap: wrap; }
  .flow-step { flex: 1 1 46%; }
  .flow-line { display: none; }
}
@media (max-width: 760px) {
  .hero-section { padding: 4rem 0 3.6rem; }
  .services-grid,
  .services-grid-full,
  .cases-grid,
  .advantages-grid { grid-template-columns: 1fr; }
  .flow-step { flex: 1 1 100%; }
  .section-head { margin-bottom: 1.8rem; }
  .svc-hero-panel { display: none; }
  .contact-form-wrap { padding: 1.5rem 1.2rem 1.6rem; }
}


/* ---------- 页脚品牌区 / 流程区块底色 ---------- */
.footer-brand { min-width: 0; }
.footer-tech {
  margin: .9rem 0 0;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .45);
}
.section-flow { background: var(--surface); }

/* ==== GEO 区块 ==== */
/* 生成式引擎可引用的摘要 / 要点 / 问答，视觉上与正文区分但不抢焦点 */
.geo-summary {
  position: relative;
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.25rem 1.1rem 3rem;
  background: linear-gradient(180deg, rgba(22, 93, 255, .05), rgba(22, 93, 255, .02));
  border: 1px solid rgba(22, 93, 255, .16);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: .97rem;
  line-height: 1.85;
}

.geo-summary::before {
  content: "摘";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1;
}

.geo-highlights {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .6rem;
}

.geo-highlights > li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.8;
}

.geo-highlights > li::before {
  content: "";
  position: absolute;
  left: .35rem;
  top: .72rem;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--accent-orange);
}

@media (min-width: 720px) {
  .geo-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.75rem;
  }
}

.geo-faq {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.geo-faq::before {
  content: "常见问题";
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.geo-faq .faq-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.geo-faq .faq-item + .faq-item {
  margin-top: .75rem;
}

.geo-faq .faq-item h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
}

.geo-faq .faq-item h3::before {
  content: "Q";
  display: inline-block;
  margin-right: .5rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

.geo-faq .faq-item > div {
  color: var(--mute);
  font-size: .93rem;
  line-height: 1.85;
}

/* 首页 GEO 摘要条：无内边距的窄条，衔接上下两个板块 */
.section-geo {
  padding: 0;
}

.section-geo .shell {
  padding: 1.5rem 0 0;
}

.section-geo .geo-summary {
  margin-bottom: 0;
}

.section-geo:has(.geo-summary:empty),
.section-geo:not(:has(.geo-summary)) {
  display: none;
}
