/* =========================================================
   红熊全栈 RedBear FullStack — 主样式
   风格：深色科技感 + 品牌红 / 网格底纹 + 等宽标签
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0a0a0c;
  --bg-elev: #101014;
  --panel: #131318;
  --panel-2: #17171e;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f2f2f4;
  --text-2: #c2c2cb;
  --muted: #8a8a95;
  --red: #ff3b2f;
  --red-hi: #ff5449;
  --red-soft: rgba(255, 59, 47, .13);
  --red-line: rgba(255, 59, 47, .42);
  --ok: #4ade80;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --wrap: 1200px;
  --r: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 顶部网格底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 76%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 12, .74);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: -.02em;
  box-shadow: 0 6px 18px -6px rgba(255, 59, 47, .8);
}

.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.brand-en {
    margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-2);
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s, background .22s, border-color .22s, box-shadow .22s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(255, 59, 47, .95);
}
.btn-primary:hover { background: var(--red-hi); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { border-color: var(--red-line); background: rgba(255, 255, 255, .05); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: gap .22s;
}
.link-arrow:hover { gap: 13px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 68px 0; }
.section-bordered { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--red);
  opacity: .75;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.025em; }

.h2 {
  font-size: clamp(27px, 3.5vw, 42px);
  line-height: 1.2;
  margin: 18px 0 0;
}
.h3 { font-size: 20px; margin: 0 0 10px; letter-spacing: -.01em; }

.lede {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 660px;
  margin: 18px 0 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.sec-head .right { flex: 0 0 auto; padding-bottom: 6px; }

/* ---------------- HERO ---------------- */
.hero { padding: 104px 0 84px; position: relative; overflow: hidden; }

.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 59, 47, .20), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, .025);
}
.hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .14);
  margin-left: 6px;
}

h1.hero-title {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.07;
  letter-spacing: -.045em;
  margin: 0;
}
h1.hero-title em {
  font-style: normal;
  color: var(--red);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.78;
  max-width: 560px;
  margin: 26px 0 0;
}
.hero-sub strong { color: #fff; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* 终端面板 */
.terminal {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #15151b 0%, #0c0c10 100%);
  overflow: hidden;
  box-shadow: 0 50px 90px -50px #000, 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2b2b34; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.terminal-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}
.terminal-body {
  padding: 22px 20px 24px;
  font-family: var(--mono);
  font-size: 12.8px;
  line-height: 2.05;
  color: var(--text-2);
  margin: 0;
  overflow-x: auto;
}
.k { color: #6f6f7c; }
.v { color: #e8e8ee; }
.acc { color: var(--red); }
.grn { color: var(--ok); }
.cmt { color: #5c5c68; }

/* ---------------- 数据带 ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 32px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: #fff;
}
.stat b sup { font-size: .5em; color: var(--red); top: -.7em; }
.stat > span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------------- 服务卡片 ---------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.svc {
  position: relative;
  background: var(--bg-elev);
  padding: 36px 34px 34px;
  transition: background .3s;
}
.svc:hover { background: var(--panel-2); }
.svc::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.svc:hover::before { transform: scaleX(1); }

.svc-idx {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--red);
  letter-spacing: .18em;
  display: block;
  margin-bottom: 20px;
  opacity: .85;
}
.svc h3 {
  font-size: 21px;
  margin: 0 0 12px;
  letter-spacing: -.015em;
}
.svc p { color: var(--muted); font-size: 14.8px; margin: 0; }

.svc-list { list-style: none; padding: 0; margin: 20px 0 0; }
.svc-list li {
  font-size: 13.6px;
  color: var(--text-2);
  padding: 7px 0 7px 20px;
  position: relative;
  border-top: 1px dashed rgba(255, 255, 255, .07);
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--red);
  border-radius: 2px;
}

/* ---------------- 流程 ---------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.flow-step {
  padding: 30px 22px 30px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.flow-step:last-child { border-right: 0; }
.flow-step:not(:first-child) { padding-left: 22px; }
.flow-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: .12em;
  display: block;
  margin-bottom: 34px;
}
.flow-step h3 { font-size: 16.5px; margin: 0 0 8px; }
.flow-step p { font-size: 13.4px; color: var(--muted); margin: 0; }
.flow-step::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  z-index: 2;
}
.flow-step:last-child::after { display: none; }

/* ---------------- 案例 ---------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, #121217, #0d0d11);
  padding: 26px 26px 24px;
  text-decoration: none;
  transition: border-color .3s, transform .3s, background .3s;
  min-height: 236px;
}
.case:hover {
  border-color: var(--red-line);
  transform: translateY(-3px);
  background: linear-gradient(180deg, #16161d, #0e0e13);
}
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 3px 8px;
}
.tag.red { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }
.case h3 { font-size: 17.5px; line-height: 1.42; margin: 0 0 10px; }
.case p { font-size: 13.8px; color: var(--muted); margin: 0; }
.case-foot {
  margin-top: auto;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
}

/* ---------------- 技术栈跑马灯 ---------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--mono);
  font-size: 13px;
  color: #6e6e7b;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .2s;
}
.marquee-track span:hover { color: var(--red); }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- 对比表 ---------------- */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.15fr;
  border-bottom: 1px solid var(--line);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > div {
  padding: 18px 24px;
  font-size: 14.4px;
  color: var(--text-2);
  border-right: 1px solid var(--line);
}
.cmp-row > div:last-child { border-right: 0; }
.cmp-row.head > div {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, .025);
  padding-top: 14px;
  padding-bottom: 14px;
}
.cmp-row.head > div:nth-child(3) { color: var(--red); }
.cmp-row .k { color: #fff; font-weight: 600; font-size: 14.4px; }
.cmp-row .good { color: var(--text); }
.cmp-row .good::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}

/* ---------------- FAQ ---------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-size: 16.5px;
  font-weight: 600;
  position: relative;
  color: var(--text);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--muted);
  transition: transform .3s, background .3s;
}
.faq-item summary::before {
  content: "";
  position: absolute;
  right: 12.5px;
  top: calc(50% - 5px);
  width: 1.5px;
  height: 11px;
  background: var(--muted);
  transition: transform .3s, background .3s;
}
.faq-item[open] summary { color: var(--red); }
.faq-item[open] summary::before { transform: rotate(90deg); opacity: 0; }
.faq-item[open] summary::after { background: var(--red); }
.faq-answer { padding: 0 60px 26px 0; color: var(--muted); font-size: 14.8px; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text-2); }

/* ---------------- CTA ---------------- */
.cta {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 59, 47, .17), transparent 58%),
    linear-gradient(180deg, #141419, #0b0b0f);
  padding: 66px 56px;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 59, 47, .16), transparent 68%);
  filter: blur(24px);
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin: 14px 0 0; }
.cta p { color: var(--muted); margin: 16px 0 0; font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 68px 0 32px;
  margin-top: 0;
  background: #08080a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand p { color: var(--muted); font-size: 13.8px; max-width: 320px; margin: 18px 0 0; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; font-size: 14px; }
.footer-col a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-contact li { color: var(--muted); font-size: 13.8px; }
.footer-contact b { color: var(--text); font-weight: 600; font-family: var(--mono); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.6px;
  color: #64646e;
}
.footer-bottom a { color: #64646e; text-decoration: none; }
.footer-bottom a:hover { color: var(--text-2); }

/* ---------------- 页面头（内页） ---------------- */
.page-head {
  padding: 84px 0 60px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  top: -180px;
  left: 40%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 59, 47, .13), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 20px 0 0;
}
.page-head p { color: var(--muted); font-size: 16.5px; max-width: 680px; margin: 20px 0 0; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #62626c;
  letter-spacing: .06em;
  margin: 0 0 8px;
}
.breadcrumb a { color: #62626c; text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ---------------- 服务详情 ---------------- */
.svc-detail {
  display: grid;
  grid-template-columns: 88px 1fr 300px;
  gap: 36px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}
.svc-detail:first-of-type { padding-top: 16px; }
.svc-detail .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: .1em;
  padding-top: 5px;
}
.svc-detail h2 { font-size: 27px; margin: 0 0 14px; letter-spacing: -.025em; }
.svc-detail > div > p { color: var(--muted); font-size: 15.4px; margin: 0 0 20px; }
.deliver { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.deliver li {
  font-size: 14.2px;
  color: var(--text-2);
  padding-left: 24px;
  position: relative;
}
.deliver li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 13px;
}
.svc-side {
  border-left: 1px solid var(--line);
  padding-left: 30px;
  align-self: start;
}
.svc-side dl { margin: 0; }
.svc-side dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #66666f;
  margin-top: 20px;
}
.svc-side dt:first-child { margin-top: 0; }
.svc-side dd { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }

/* ---------------- 关于页 ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.prose p { color: var(--text-2); font-size: 15.8px; margin: 0 0 18px; }
.prose p strong { color: #fff; font-weight: 600; }

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.fact { background: var(--bg-elev); padding: 26px 24px; }
.fact b {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.fact span { font-size: 12.6px; color: var(--muted); display: block; margin-top: 6px; }

.timeline { border-left: 1px solid var(--line); padding-left: 0; margin: 0; list-style: none; }
.tl-item {
  position: relative;
  padding: 0 0 38px 32px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 59, 47, .12);
}
.tl-item b {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--red);
  letter-spacing: .1em;
}
.tl-item h3 { font-size: 16.5px; margin: 6px 0 6px; }
.tl-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------------- 联系页 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.contact-item { background: var(--bg-elev); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.contact-item .ic {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
}
.contact-item dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #66666f;
  margin: 0 0 5px;
}
.contact-item dd { margin: 0; font-size: 15.5px; color: var(--text); font-weight: 600; }
.contact-item dd small { display: block; font-weight: 400; font-size: 12.8px; color: var(--muted); margin-top: 4px; }

.form-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: linear-gradient(180deg, #121217, #0c0c10);
  padding: 36px 34px;
}
.form-card h2 { font-size: 22px; margin: 0 0 6px; }
.form-card > p { color: var(--muted); font-size: 13.8px; margin: 0 0 26px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #75757f;
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: #0a0a0e;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.4px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
  background: #0d0d12;
}
.field textarea { resize: vertical; min-height: 108px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.4px; color: #6b6b75; margin: 14px 0 0; }
.form-msg { font-size: 13.5px; color: var(--ok); margin: 14px 0 0; display: none; }
.form-msg.show { display: block; }

/* ---------------- 列表/其他 ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note-box {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 13.6px;
  color: var(--muted);
  background: rgba(255, 255, 255, .015);
}
.note-box b { color: var(--text-2); }

/* ---------------- 动效 ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 72px 0 56px; }
  .svc-detail { grid-template-columns: 56px 1fr; }
  .svc-side { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; }
  .svc-side dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
  .svc-side dt:not(:first-child) { margin-top: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .header-inner { height: 64px; }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0c0c10;
    border-bottom: 1px solid var(--line);
    padding: 12px 18px 22px;
    gap: 2px;
    margin: 0;
  }
  .site-header.nav-open .nav a { padding: 13px 12px; font-size: 15.5px; }
  .site-header.nav-open .nav a[aria-current="page"]::after { left: 12px; right: auto; width: 18px; bottom: 6px; }
  .site-header.nav-open .header-cta {
    display: block;
    position: absolute;
    top: calc(100% + 240px);
    left: 18px; right: 18px;
  }
  .site-header.nav-open .header-cta .btn { width: 100%; }

  .section { padding: 68px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .flow-step::after { display: none; }
  .case-grid, .grid-3 { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.05); padding: 14px 18px; }
  .cmp-row > div:last-child { border-bottom: 0; }
  .cmp-row.head { display: none; }
  .cmp-row > div:first-child { background: rgba(255,255,255,.03); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .cta { padding: 44px 26px; border-radius: 18px; }
  .page-head { padding: 56px 0 40px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .svc-detail { grid-template-columns: 1fr; gap: 18px; padding: 38px 0; }
  .svc-detail .n { padding-top: 0; }
  .svc-side dl { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 38px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  h1.hero-title { font-size: 32px; letter-spacing: -.035em; }
  .hero-actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .terminal-body { font-size: 11.4px; }
  .cta h2 { font-size: 24px; }
}

/* =========================================================
   二级导航（服务下拉）
   ========================================================= */
.nav .has-sub { position: relative; }
.nav .has-sub > a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  margin-bottom: 2px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .55;
  transition: transform .2s;
}
.nav .has-sub:hover > a::before { transform: rotate(225deg) translateY(-3px); }

.sub {
  position: absolute;
  top: calc(100% + 8px);
  left: -10px;
  min-width: 258px;
  padding: 8px;
  background: #0f0f15;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 34px 64px -34px #000, 0 0 0 1px rgba(255, 255, 255, .02) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }

.sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.sub a:hover { background: rgba(255, 255, 255, .055); color: #fff; }
.sub a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: .55;
  flex: 0 0 auto;
}
.sub a:hover::before { opacity: 1; }
.sub a.on { color: #fff; background: rgba(255, 59, 47, .1); }
.sub a.on::before { opacity: 1; }

/* =========================================================
   服务详情页模块
   ========================================================= */
.lead-grid {
  display: grid;
  grid-template-columns: 1.32fr .68fr;
  gap: 60px;
  align-items: start;
}
.lead-grid .svc-side { border-left: 1px solid var(--line); padding-left: 32px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, .02);
}
.chip.hi { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.cap { background: var(--bg-elev); padding: 28px 26px; transition: background .3s; position: relative; }
.cap:hover { background: var(--panel-2); }
.cap .n {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--red);
  opacity: .8;
  margin-bottom: 14px;
}
.cap h3 { font-size: 16.5px; margin: 0 0 9px; letter-spacing: -.01em; }
.cap p { font-size: 13.7px; color: var(--muted); margin: 0; line-height: 1.72; }

.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scene {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .014);
  font-size: 14.3px;
  color: var(--text-2);
  line-height: 1.65;
}
.scene::before {
  content: "→";
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  flex: 0 0 auto;
  margin-top: 2px;
}

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related .case { min-height: 168px; padding: 24px 24px 22px; }
.related .case h3 { font-size: 16px; margin: 0 0 8px; }
.related .case p { font-size: 13.2px; }

/* 7 项服务网格：最后一项占满整行 */
.svc-grid .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc-grid .svc:last-child:nth-child(odd) .svc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 28px;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: gap .2s;
}
.svc-link:hover { gap: 12px; }

/* 服务总览页卡片 */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, #121217, #0d0d11);
  text-decoration: none;
  transition: border-color .3s, transform .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.hub-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.hub-card:hover { border-color: var(--red-line); transform: translateY(-3px); background: linear-gradient(180deg, #16161d, #0e0e13); }
.hub-card:hover::before { transform: scaleX(1); }
.hub-card .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--red);
  opacity: .8;
  margin-bottom: 16px;
}
.hub-card h2 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.015em; }
.hub-card p { font-size: 13.8px; color: var(--muted); margin: 0; }
.hub-card .go {
  margin-top: auto;
  padding-top: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 7px;
}
.hub-card.new h2::after {
  content: "NEW";
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 8px;
  vertical-align: middle;
}

/* =========================================================
   响应式补充
   ========================================================= */
@media (max-width: 1080px) {
  .lead-grid { grid-template-columns: 1fr; gap: 36px; }
  .lead-grid .svc-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .lead-grid .svc-side dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .sub { display: none !important; }
  .nav .has-sub > a::before { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .svc-grid .svc:last-child:nth-child(odd) .svc-list { grid-template-columns: 1fr; }
}

/* SLA 四列表格 */
.cmp-row.four { grid-template-columns: 1fr 2.1fr .9fr 1fr; }
.cmp-row.four > div:first-child { color: #fff; font-weight: 600; }

/* 下拉项不继承顶部导航的下划线 */
.sub a[aria-current="page"]::after { display: none; }
.sub a[aria-current="page"] { color: #fff; background: rgba(255, 59, 47, .1); }

@media (max-width: 860px) {
  .cmp-row.four { grid-template-columns: 1fr; }
  .cmp-row.four > div:nth-child(2) { color: var(--muted); }
}

/* 联系方式：可点击与可复制 */
.contact-item dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .26);
  transition: color .2s, border-color .2s;
}
.contact-item dd a:hover { color: var(--red); border-color: var(--red-line); }
.copy-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  padding: 2px 9px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 6px;
  transition: border-color .2s, color .2s;
}
.copy-btn:hover { border-color: var(--red-line); color: var(--red); }
.copy-btn.done { color: var(--ok); border-color: rgba(74, 222, 128, .42); }
