/* 寻野官网样式：黑白灰为骨架，动效克制，移动优先适配 */

:root {
  --c-ink: #171717;
  --c-body: #3d3d3b;
  --c-gray: #777773;
  --c-gray-2: #a0a09b;
  --c-line: #ececea;
  --c-bg: #ffffff;
  --c-dark: #080808;
  --c-panel: #f6f6f4;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* 中文段落新行规则：避免孤字与逐字断行，标题在各自规则中改回 balance */
  line-break: strict;
  word-break: normal;
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.technology a:focus-visible,
.contact a:focus-visible,
.contact button:focus-visible,
.site-footer a:focus-visible,
.wild-screen :focus-visible {
  outline-color: #ffffff;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 14px 34px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-solid { background: var(--c-ink); color: #ffffff; }
.btn-solid:hover { opacity: 0.82; }

.btn-outline { border-color: #d6d6d2; color: var(--c-ink); background: transparent; }
.btn-outline:hover { border-color: var(--c-ink); }

.btn-invert { background: #ffffff; color: var(--c-ink); }
.btn-invert:hover { opacity: 0.86; }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }
.btn-outline-light:hover { border-color: #ffffff; }

.btn-sm { padding: 11px 26px; min-height: 42px; font-size: 14px; }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  color: var(--c-ink);
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}

.text-link:hover { opacity: 0.7; }
.text-link-light { color: #e8e8e6; }

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

/* 详情正文里的链接行渲染成按钮组 */
.detail-body .action-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid #d6d6d2;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.detail-body .action-row a:first-child { background: var(--c-ink); color: #ffffff; border-color: var(--c-ink); }
.detail-body .action-row a:hover { opacity: 0.82; }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.header-inner {
  max-width: 1720px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 174px; height: 58px; object-fit: contain; }
.brand-fallback { font-size: 20px; letter-spacing: 0.04em; color: var(--c-ink); }

.site-nav { display: flex; gap: 36px; }
.site-nav a {
  font-size: 15px;
  color: var(--c-body);
  padding: 8px 2px;
  transition: color 0.3s var(--ease);
}
.site-nav a:hover { color: var(--c-ink); }
.site-nav a[aria-current="page"] { color: var(--c-ink); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--c-line);
  padding: 16px 24px 28px;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
}

.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 13px 8px;
  font-size: 17px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu nav a.btn { border-bottom-left-radius: 0; margin-top: 16px; color: #ffffff; border-bottom: none; }

/* ---------- 通用版面 ---------- */

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-head { max-width: 880px; margin-bottom: 72px; }

.section-title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 28px;
  font-size: 17px;
  color: var(--c-gray);
  max-width: 640px;
}

.section-link { margin-top: 28px; }

/* ---------- 首屏 ---------- */

.hero {
  min-height: max(90vh, 760px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 40px 96px;
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-size: clamp(32px, 6.4vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.hero-line { display: block; }

.t-em { color: var(--c-ink); }

.hero-desc {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.9;
  color: var(--c-gray);
  max-width: 840px;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-tags {
  margin-top: 56px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-gray-2);
}

/* 首屏入场：模糊渐清晰与位移，按顺序出现 */
.hero-line,
.hero-desc,
.hero-actions,
.hero-tags {
  opacity: 0;
  animation: hero-rise 1.05s var(--ease) forwards;
}

.hero-line-1 { animation-delay: 0.5s; }
.hero-line-2 { animation-delay: 0.62s; }
.hero-desc { animation-delay: 1.0s; }
.hero-actions { animation-delay: 1.18s; }
.hero-tags { animation-delay: 1.38s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* 首屏标题灰阶循环：依次强调不同词组，总周期 10.8 秒 */
.t-em {
  animation: em-cycle 10.8s ease-in-out 1.1s infinite backwards;
}

.t-em-2 { animation-delay: 4.7s; }
.t-em-3 { animation-delay: 8.3s; }

@keyframes em-cycle {
  0% { color: #171717; }
  26% { color: #171717; }
  36% { color: #a0a09b; }
  90% { color: #a0a09b; }
  100% { color: #171717; }
}

/* ---------- Wild OS 功能展示 ---------- */

.wild { padding: 140px 0 150px; background: var(--c-bg); }

/* 与下方宽幅屏对齐：容器撑到 1320，标题大屏保持单行 */
.wild-head { text-align: left; margin: 0 auto 64px; padding: 0 24px; max-width: 1320px; }

.wild-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.wild-scale {
  width: min(1320px, 100%);
  border-radius: 12px;
  will-change: transform;
}

.wild-screen {
  position: relative;
  height: 700px;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(158deg, #101412 0%, #0a0d0c 58%, #090c0b 100%);
  color: #ececea;
  display: grid;
  grid-template-columns: 92px 1fr 300px;
  gap: 28px;
  padding: 40px;
}

.wild-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.wild-logo {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #ececea;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wild-side-item {
  font-size: 13px;
  color: #7d807b;
  padding-left: 12px;
  border-left: 2px solid transparent;
}

.wild-side-item.is-active {
  color: #c9d4c6;
  border-left-color: #c9d4c6;
}

.wild-center {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.wild-task {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  padding: 34px 38px;
  animation: wild-breathe 7s ease-in-out infinite;
}

@keyframes wild-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 40px -18px rgba(201, 212, 198, 0.25); }
}

.wild-task-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wild-task-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #7d807b;
}

.wild-task-status {
  font-size: 12px;
  color: #c9d4c6;
  padding: 5px 14px;
  border: 1px solid rgba(201, 212, 198, 0.35);
  border-radius: 999px;
}

.wild-task-title {
  margin-top: 22px;
  font-size: 26px;
  font-weight: 400;
  color: #f4f4f2;
}

.wild-task-text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: #9fa19b;
  max-width: 520px;
  transition: opacity 0.45s var(--ease);
}

.wild-task-text.is-switching { opacity: 0; }

.wild-files {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wild-files li {
  font-size: 13px;
  color: #b9bcb5;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.wild-flow {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 22px 28px 16px;
}

.wild-flow-line { width: 100%; height: 24px; display: block; }

.flow-track { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; }

.flow-progress {
  stroke: #c9d4c6;
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  animation: flow-move 1.8s linear infinite;
  transition: x2 0.6s var(--ease);
}

@keyframes flow-move { to { stroke-dashoffset: -12; } }

.flow-nodes {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 56px;
}

.node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.node-name {
  font-size: 13px;
  color: #7d807b;
  transition: color 0.4s var(--ease);
}

.flow-node.is-done .node-dot {
  background: #c9d4c6;
  border-color: #c9d4c6;
  box-shadow: 0 0 14px -2px rgba(201, 212, 198, 0.5);
}

.flow-node.is-done .node-name { color: #e9ece7; }

.flow-node.is-active .node-dot {
  border-color: #c9d4c6;
  animation: node-pulse 2.4s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 212, 198, 0); }
  50% { box-shadow: 0 0 0 6px rgba(201, 212, 198, 0.12); }
}

.wild-know {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.wild-know-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #7d807b;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wild-know-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }

.wild-know-list li {
  font-size: 14px;
  color: #b9bcb5;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wild-know-note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: #7d807b;
  transition: opacity 0.45s var(--ease);
}

.wild-know-note.is-switching { opacity: 0; }

.wild-caption {
  position: absolute;
  left: 40px;
  bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #62655f;
}

.wild-steps {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.wild-step {
  padding: 12px 26px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #d6d6d2;
  background: #ffffff;
  color: var(--c-body);
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.wild-step:hover { border-color: var(--c-ink); }

.wild-step.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #ffffff; }

/* ---------- 产品 ---------- */

.products { padding: 150px 0 40px; }

.products-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
}

.product-show { display: flex; flex-direction: column; }

.product-card {
  position: relative;
  height: 560px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #1c1c1a;
}

.product-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 44px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  background-color: #1c1c1a;
  background-position: center;
  background-size: cover;
}

.product-face.is-on { opacity: 1; visibility: visible; }

/* 产品三图各用独立素材，覆盖层一致，不再做位移与滤镜变化 */
.bg-a { background-image: linear-gradient(180deg, rgba(12, 14, 13, 0.05) 40%, rgba(10, 12, 11, 0.72) 100%), url('/assets/product-museflow.jpg'); }
.bg-b { background-image: linear-gradient(180deg, rgba(12, 14, 13, 0.05) 40%, rgba(10, 12, 11, 0.72) 100%), url('/assets/product-livehub.jpg'); }
.bg-c { background-image: linear-gradient(180deg, rgba(12, 14, 13, 0.05) 40%, rgba(10, 12, 11, 0.72) 100%), url('/assets/abstract.jpg'); }

.product-face-bottom { color: #ffffff; }

.product-face-tag {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.product-face-title {
  margin-top: 10px;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.round-link {
  position: absolute;
  right: 44px;
  bottom: 44px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.round-link:hover { background: rgba(255, 255, 255, 0.16); transform: translateX(2px); }

.product-tabs {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 11px 26px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e3e3e0;
  font-size: 14px;
  color: var(--c-gray);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-tab:hover { border-color: var(--c-ink); color: var(--c-ink); }

.product-tab.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #ffffff; }

.product-info { display: grid; padding-top: 8px; }

.product-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s;
}

.product-panel.is-on { opacity: 1; visibility: visible; transform: none; }

.product-kicker {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-gray-2);
}

.product-name {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 400;
}

.product-desc {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--c-gray);
}

.product-points {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}

.product-points li {
  padding: 13px 0;
  border-top: 1px solid var(--c-line);
  font-size: 15px;
  color: var(--c-ink);
}

.product-points li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--c-ink);
  vertical-align: middle;
  margin-right: 14px;
}

.product-panel .action-row { margin-top: 32px; }

/* ---------- 服务 ---------- */

.services { padding: 150px 0 40px; }

.service-list { border-bottom: 1px solid var(--c-line); }

.service-item { border-top: 1px solid var(--c-line); }

.service-item summary {
  display: grid;
  grid-template-columns: 84px 1fr 56px;
  align-items: start;
  gap: 20px;
  padding: 44px 0;
  cursor: pointer;
  list-style: none;
}

.service-item summary::-webkit-details-marker { display: none; }

.service-no {
  font-size: 15px;
  color: var(--c-gray-2);
  padding-top: 10px;
}

.service-name {
  display: block;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.3;
}

.service-brief {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-gray);
  max-width: 760px;
}

.service-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #d6d6d2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-item summary:hover .service-toggle { border-color: var(--c-ink); }

.service-item[open] .service-toggle {
  transform: rotate(45deg);
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #ffffff;
}

.service-body {
  padding: 0 0 48px 104px;
  max-width: 780px;
  animation: svc-open 0.5s var(--ease);
}

.service-body p { font-size: 16px; line-height: 1.95; color: var(--c-body); }
.service-body .text-link { margin-top: 22px; }

@keyframes svc-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 技术 ---------- */

.technology {
  background: var(--c-dark);
  color: #ffffff;
  padding: 150px 0 140px;
  margin-top: 120px;
}

.section-title-light { color: #ffffff; }

.section-desc-light { color: #a0a09b; }

.tech-head { margin-bottom: 100px; }

.tech-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-feature-reverse .tech-feature-text { order: 2; }
.tech-feature-reverse .tech-figure { order: 1; }

.tech-feature-name { font-size: 28px; font-weight: 400; }
.tech-feature-name a { border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 4px; transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease); }
.tech-feature-name a:hover { border-color: #ffffff; }

.tech-feature-lead { margin-top: 22px; font-size: 20px; color: #e8e8e6; }

.tech-feature-desc { margin-top: 16px; font-size: 15px; line-height: 1.95; color: #a0a09b; }

.tech-feature .text-link { margin-top: 28px; }

.tech-figure { min-width: 0; }

.tech-svg { width: 100%; height: auto; }

.tf-line { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.2; }

.tf-line-run {
  stroke: rgba(232, 232, 230, 0.75);
  stroke-dasharray: 4 8;
  animation: tf-run 2.6s linear infinite;
}

@keyframes tf-run { to { stroke-dashoffset: -48; } }

.tf-dash { stroke-dasharray: 3 5; }

.tf-node { fill: #d8d8d4; }

.tf-node-soft { fill: rgba(216, 216, 212, 0.55); }

.tf-node-main { fill: #f0f0ee; animation: node-glow 3.2s ease-in-out infinite; }

@keyframes node-glow {
  0%, 100% { stroke: rgba(240, 240, 238, 0); stroke-width: 0; }
  50% { stroke: rgba(240, 240, 238, 0.28); stroke-width: 10; }
}

.tf-box { fill: rgba(255, 255, 255, 0.045); stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.2; }
.tf-box-main { fill: rgba(255, 255, 255, 0.09); }

.tf-label { fill: #9a9a96; font-size: 13px; font-family: var(--font); }
.tf-label-main { fill: #e8e8e6; font-size: 13.5px; }
.tf-label-dim { fill: #6f6f6b; font-size: 12px; }

.tech-list { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 72px; }

.tech-row {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-row-name { font-size: 20px; color: #ffffff; }

.tech-row-desc { font-size: 15px; line-height: 1.8; color: #a0a09b; }

/* ---------- 行业方案 ---------- */

.industries { padding: 150px 0 40px; }

.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--c-line);
}

.industry-tab {
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #e3e3e0;
  background: #ffffff;
  color: var(--c-gray);
  font-family: var(--font);
  font-size: 14.5px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.industry-tab:hover { border-color: var(--c-ink); color: var(--c-ink); }

.industry-tab.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #ffffff; }

/* 无脚本时四个行业全部平铺，保证内容不隐藏 */
.industries-body:not(.js-on) .industry-tabs { display: none; }
.industries-body:not(.js-on) .industry-panel { display: block; padding: 48px 0; }
.industries-body.js-on .industry-panel { display: none; }
.industries-body.js-on .industry-panel.is-active { display: block; animation: ind-in 0.55s var(--ease); }

@keyframes ind-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.industry-panel { padding-top: 56px; }

.industry-name { font-size: 34px; font-weight: 400; }

.industry-lead { margin-top: 16px; font-size: 20px; color: var(--c-ink); }

.industry-desc { margin-top: 14px; font-size: 16px; line-height: 1.95; color: var(--c-gray); max-width: 760px; }

.industry-scenes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.scene-name { font-size: 17px; color: var(--c-ink); }
.scene-name::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-ink);
  margin-bottom: 16px;
}

.scene-desc { margin-top: 12px; font-size: 14.5px; line-height: 1.9; color: var(--c-gray); }

.industry-note {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
  font-size: 13.5px;
  color: var(--c-gray-2);
}

.industry-panel .action-row { margin-top: 28px; }

/* ---------- 关于 ---------- */

.about { padding: 160px 0 170px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.about-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-gray-2);
}

.about-title {
  margin-top: 22px;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.3;
}

.about-motto { margin-top: 26px; font-size: 22px; color: var(--c-ink); }

.about-text { padding-top: 14px; }
.about-text p { font-size: 16px; line-height: 2.05; color: var(--c-body); }

/* ---------- 联系 ---------- */

.contact { background: #101010; color: #ffffff; padding: 150px 0 140px; }

.contact-inner { max-width: 900px; }

.contact-title {
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 400;
  line-height: 1.26;
  color: #ffffff;
}

/* 统一收尾标题：按语义分组换行，桌面一行，较窄时在语义处断开 */
.cta-phrase { display: inline-block; }

.contact-desc { margin-top: 26px; font-size: 17px; color: #a0a09b; }

.contact-card { margin-top: 64px; }

.contact-person { font-size: 15px; color: #d8d8d4; }

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-extra { margin-top: 40px; font-size: 14px; }

/* ---------- 页脚 ---------- */

.site-footer { background: #0a0a0a; color: #a0a09b; }

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 40px 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-mark { color: #ffffff; font-size: 18px; letter-spacing: 0.04em; }
.footer-copy { font-size: 13px; color: #777773; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-nav a { font-size: 14px; color: #a0a09b; transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: #ffffff; }

.footer-line { width: 100%; margin-top: 20px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: #777773; }

/* ---------- 二维码对话框 ---------- */

.qr-dialog { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.qr-dialog[hidden] { display: none; }

.qr-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.62); animation: qr-fade 0.3s var(--ease); }

@keyframes qr-fade { from { opacity: 0; } }

.qr-panel {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 32px 36px;
  max-width: 376px;
  width: 100%;
  text-align: center;
  animation: qr-pop 0.4s var(--ease);
}

@keyframes qr-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.qr-head { display: flex; align-items: center; justify-content: space-between; }

.qr-title { font-size: 17px; color: var(--c-ink); }

.qr-close {
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 50%;
  border: 1px solid #e3e3e0;
  background: transparent;
  color: var(--c-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.qr-close:hover { border-color: var(--c-ink); }

.qr-image {
  margin: 20px auto 0;
  width: 260px;
  height: 260px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--c-line);
}

.qr-note { margin: 18px 0 22px; font-size: 13.5px; line-height: 1.8; color: var(--c-gray); }

/* ---------- 详情页 ---------- */

.detail-main { padding-top: var(--header-h); }

.detail-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--c-gray-2);
}

.breadcrumb a { color: var(--c-gray); padding: 4px 0; }
.breadcrumb a:hover { color: var(--c-ink); }

.detail-head { margin-top: 56px; }

.detail-title {
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.detail-lead {
  margin-top: 28px;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.6;
  color: var(--c-ink);
}

.detail-body { margin-top: 64px; border-top: 1px solid var(--c-line); padding-top: 24px; }

.detail-body h2 {
  margin-top: 72px;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.4;
}

.detail-body h3 {
  margin-top: 52px;
  font-size: 19.5px;
  font-weight: 400;
  color: var(--c-ink);
}

.detail-body p { margin-top: 18px; font-size: 16.5px; line-height: 2.0; color: var(--c-body); }

/* 整段只有加粗的段落：作为小节标题 */
.detail-body p > strong:only-child {
  display: block;
  margin-top: 42px;
  font-size: 18px;
  font-weight: 400;
  color: var(--c-ink);
}

.detail-body p > strong:only-child::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-ink);
  margin-bottom: 14px;
}

.detail-body ul { margin-top: 18px; }

.detail-body ul li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-body);
}

.detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 1px;
  background: var(--c-gray-2);
}

.detail-body table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 15px;
}

.detail-body th, .detail-body td {
  border: 1px solid var(--c-line);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.detail-body th { background: var(--c-panel); color: var(--c-ink); font-weight: 400; }
.detail-body td { color: var(--c-body); }

.detail-body a:not(.action-row a) { color: var(--c-ink); border-bottom: 1px solid rgba(23, 23, 23, 0.3); padding-bottom: 2px; }
.detail-body a:not(.action-row a):hover { border-bottom-color: var(--c-ink); }

.detail-cta { background: var(--c-panel); }

.detail-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 88px 24px 96px;
}

.detail-cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 400; line-height: 1.35; }
.detail-cta p { margin-top: 18px; font-size: 16px; color: var(--c-gray); }

/* ---------- 滚动渐显 ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .wild-screen { grid-template-columns: 84px 1fr 260px; height: 640px; padding: 32px; }
  .tech-row { grid-template-columns: 240px 1fr auto; }
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-card { height: 480px; }
  .tech-feature { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .tech-feature-reverse .tech-feature-text { order: 1; }
  .tech-feature-reverse .tech-figure { order: 2; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .header-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .site-nav { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .wild-screen {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    height: auto;
    padding: 22px;
    gap: 18px;
  }
  .wild-side {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 12px 18px;
    overflow-x: auto;
  }
  .wild-logo { padding-bottom: 0; padding-right: 14px; border-bottom: none; border-right: 1px solid rgba(255, 255, 255, 0.08); white-space: nowrap; }
  .wild-side-item { border-left: none; border-bottom: 2px solid transparent; padding: 4px 2px; white-space: nowrap; }
  .wild-side-item.is-active { border-bottom-color: #c9d4c6; }
  .wild-task { padding: 24px 22px; }
  .wild-task-title { font-size: 21px; }
  .wild-know { padding: 20px 20px 22px; }
  .wild-know-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .wild-know-list li { font-size: 13px; }
  .wild-know-note { padding-top: 14px; }
  .wild-caption { left: 22px; bottom: 10px; }
  .wild-scale { border-radius: 14px; }
  .wild-steps { width: 100%; }
  .service-item summary { grid-template-columns: 1fr 52px; gap: 16px; }
  .service-no { grid-column: 1; padding-top: 0; margin-bottom: 10px; }
  .service-heading { grid-column: 1; grid-row: 2; }
  .service-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .service-name { font-size: 26px; }
  .service-body { padding-left: 0; }
  .tech-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .tech-row .text-link { justify-self: start; }
  .industry-scenes { grid-template-columns: 1fr; gap: 32px; }
  .industry-name { font-size: 27px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .hero { min-height: 88vh; }
  .hero-title { font-size: clamp(32px, 8.6vw, 42px); }
  .hero-desc { font-size: 16px; margin-top: 30px; }
  .hero-actions { margin-top: 36px; }
  .hero-tags { margin-top: 40px; }
  .section-title { font-size: clamp(28px, 7vw, 38px); }
  .section-head { margin-bottom: 48px; }
  .wild, .products, .services, .industries { padding-top: 96px; }
  .technology, .contact, .about { padding-top: 96px; padding-bottom: 96px; }
  .about { padding-bottom: 100px; }
  .product-card { height: 400px; padding: 28px; }
  .product-face { padding: 28px; }
  .product-face-title { font-size: 30px; }
  .round-link { right: 28px; bottom: 28px; width: 50px; height: 50px; }
  .product-name { font-size: 28px; }
  .detail-body h2 { font-size: 24px; }
  .detail-lead { font-size: 19px; }
}

@media (max-width: 480px) {
  .brand img { width: 138px; height: 46px; }
  .hero { min-height: 82vh; padding-top: calc(var(--header-h) + 24px); }
  .hero-title { font-size: 34px; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 14px 28px; }
  .wild-flow { padding: 16px 16px 12px; }
  .flow-nodes { gap: 8px; }
  .node-name { font-size: 12px; }
  .wild-step { padding: 11px 18px; font-size: 13.5px; }
  .product-tabs { gap: 8px; }
  .product-tab { padding: 10px 18px; font-size: 13.5px; }
  .industry-tab { padding: 11px 18px; font-size: 13.5px; }
  .cta-row .btn { width: 100%; }
  .qr-panel { padding: 20px 20px 28px; }
  .qr-image { width: 220px; height: 220px; }
  .detail-wrap { padding-top: 40px; }
}

/* ---------- 减少动画偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .hero-line,
  .hero-desc,
  .hero-actions,
  .hero-tags { opacity: 1; animation: none; }

  .t-em { animation: none; color: var(--c-ink); }

  .flow-progress,
  .tf-line-run { animation: none; }

  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }

  .wild-scale { transform: none !important; }
}

/* 实景验收修正：分工示意与真实产品展示 */
.hero { padding-top: calc(var(--header-h) + 100px); }
.hero-title, .section-title, .contact-title, .detail-title, .detail-cta h2 { text-wrap: balance; }
.wild-work-map { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 64px; padding-top: 28px; border-top: 1px solid #ffffff14; }
.wild-work-map div { position: relative; padding: 12px 0; }
.wild-work-map span { display: block; color: #a6b1a6; font-size: 11px; letter-spacing: .08em; }
.wild-work-map strong { display: block; font-size: 15px; font-weight: 400; margin-top: 16px; }
.wild-work-map small { display: block; color: #8f9891; font-size: 12px; margin-top: 8px; }
.product-screenshot { margin: 16px 0 64px; }
.product-screenshot img { width: 100%; height: auto; border-radius: 16px; border: 1px solid #ececea; }
.product-screenshot figcaption { text-align: center; font-size: 12px; color: #777773; margin-top: 14px; }
.qr-image { width: 260px; height: auto; max-height: 54vh; border: 0; border-radius: 0; }
@media(max-width: 600px) {
 .hero { padding-top: 156px; padding-bottom: 80px; min-height: 90svh; }
 .hero-desc { font-size: 15px; line-height: 1.85; }
 .hero-title { font-size: 34px; }
 .wild-work-map { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
 .wild-work-map div { display: grid; grid-template-columns: 76px 1fr; align-items:center; gap: 4px 10px; }
 .wild-work-map strong { margin: 0; font-size: 14px; }
 .wild-work-map small { grid-column: 2; margin: 0; }
}

/* 中文短标题按完整分句换行，适配较窄的应用内预览面板。 */
.title-phrase { display: inline-block; }
.wild-head .section-title { font-size: clamp(28px, 4.3vw, 64px); line-height: 1.16; }
.long-run-section { padding: 72px 0; border-top: 1px solid #ffffff18; }
.long-run-section > .tech-feature-desc { max-width: 780px; }
.long-run-section > .text-link { margin-top: 28px; }


/* 首屏按可视高度重新平衡，角色在标题上方，给文字保留稳定基线。 */
.hero { min-height:100svh; padding:calc(var(--header-h) + clamp(44px,12svh,180px)) 40px clamp(40px,5svh,80px); }
.hero-companion { display:block; width:96px; height:96px; margin:0 auto 24px; }
.hero-companion img { width:100%; height:100%; object-fit:contain; }
.hero + .products { padding-top:96px; }
@media(max-width:700px) {
 .hero { min-height:92svh; padding:112px 20px 48px; }
 .hero-companion { width:72px; height:72px; margin-bottom:20px; }
 .hero + .products { padding-top:56px; }
 .industry-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .industry-tab { width:100%; min-width:0; min-height:46px; padding:12px 8px; text-align:center; white-space:nowrap; }
}
