@import url("base.css");
@import url("header.css");
@import url("footer.css");
@import url("consultation.css");

/* ============================================================
   猩造AI 产品详情页 · 与主站一致的浅色视觉系统
   ------------------------------------------------------------
   目标：去掉一切"AI 生成感"的装饰（假系统窗口条、扫描光线、
   网格蓝图底纹、跑马灯光效、彩色发光投影、等宽字体标签），
   回到主站既有的朴素企业风格：白底 + 浅灰/浅蓝色块、单一品
   牌蓝 #1818f5、4~8px 圆角、克制的悬浮反馈。
   header / footer / 合作咨询直接沿用主站默认样式。
   ============================================================ */

:root {
  --ink: #061b1f; /* 标题深色（主站同色） */
  --ink-2: rgba(6, 27, 31, 0.7); /* 正文 */
  --ink-3: rgba(6, 27, 31, 0.5); /* 辅助说明 */
  --line: #e8ebf0; /* 细分割线 */
  --line-2: #dfe3ea;
  --band: #f5f7fa; /* 浅灰区块带 */
  --band-2: #f6fbff; /* 浅蓝区块带 */
  --acc: #1818f5; /* 主站品牌蓝 */
  --acc-hover: #007bff;
  --acc-soft: rgba(24, 24, 245, 0.06);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
}

/* 锚点定位避开固定头部 */
[id] {
  scroll-margin-top: 84px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 区块与标题 ---------- */
.xz-section {
  position: relative;
  padding: 80px 0;
}
.xz-section.band {
  background: var(--band);
}
.xz-section.band-blue {
  background: var(--band-2);
}

.sec-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.sec-head h2 {
  margin: 0 0 14px;
  color: var(--ink);
}
.sec-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* ---------- 按钮（沿用主站圆角与配色） ---------- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn-primary {
  background: var(--acc);
  border: 1px solid var(--acc);
  color: #fff;
}
.btn-primary:hover {
  background: var(--acc-hover);
  border-color: var(--acc-hover);
  color: #fff;
  text-decoration: none;
}
.btn-ghost {
  background: #fff;
  border: 1px solid rgba(24, 24, 245, 0.4);
  color: var(--acc);
}
.btn-ghost:hover {
  background: var(--acc-soft);
  border-color: var(--acc);
  color: var(--acc);
  text-decoration: none;
}
.btn-lg {
  height: 52px;
  padding: 0 36px;
  font-size: 16px;
}

/* ---------- Hero ---------- */
.xz-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--band-2);
}
.xz-hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.xz-hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
}
.xz-hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.xz-hero p {
  max-width: 640px;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.xz-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- 产品介绍 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 56px;
  align-items: center;
}
.intro-copy h2 {
  margin: 0 0 20px;
  color: var(--ink);
}
.intro-copy p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}
.intro-copy .btn-primary {
  margin-top: 12px;
}
.intro-visual {
  position: relative;
}
.intro-sound-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.intro-sound-toggle:hover {
  background: rgba(0, 0, 0, 0.9);
}
.intro-sound-toggle:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}
.intro-video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 16px 34px -24px rgba(6, 27, 31, 0.4);
}

/* ---------- 产品定位 ---------- */
.xz-pos .pos-body {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}
.pos-visual {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.pos-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 痛点 ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pain-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 24, 245, 0.2);
  box-shadow: 0 18px 34px -24px rgba(6, 27, 31, 0.4);
}
.pain-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--acc);
}
.pain-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.pain-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.pain-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 核心能力 ---------- */
.cap-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.cap-item + .cap-item {
  border-top: 1px solid var(--line-2);
}
.cap-item.reverse .cap-copy {
  order: 2;
}
.cap-num {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--acc);
}
.cap-num-image {
  display: block;
  width: auto;
  height: clamp(48px, 5vw, 64px);
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
}
.cap-copy h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.cap-sub {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}
.cap-points {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cap-points li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.cap-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
}
.cap-visual {
  position: relative;
}
.media-shot {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ---------- 截图轮播 ---------- */
.carousel {
  position: relative;
}
.carousel-track {
  display: grid;
}
.carousel-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 27, 31, 0.18);
  cursor: pointer;
  transition: background 0.25s ease;
}
.carousel-dot.is-active {
  background: var(--acc);
}

/* ---------- 差异化竞争力 ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.stat-card {
  position: relative;
  aspect-ratio: 911 / 781;
  min-width: 0;
}
.stat-card img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}
.stat-card img {
  display: block;
  object-fit: fill;
}
.stat-default {
  width: 90%;
}
.stat-hover {
  width: 100%;
  opacity: 0;
}
.stat-card:hover .stat-default,
.stat-card:focus-visible .stat-default {
  opacity: 0;
}
.stat-card:hover .stat-hover,
.stat-card:focus-visible .stat-hover {
  opacity: 1;
}
.stat-card:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 4px;
}
/* 浅色对比表 */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.compare th,
.compare td {
  padding: 16px 24px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  background: var(--band);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.compare tbody th {
  width: 20%;
  font-weight: 600;
  color: var(--ink);
}
.compare td {
  color: var(--ink-2);
}
/* 猩造AI 列：低透明度蓝底 + 左侧细导轨 */
.compare .xz {
  background: rgba(24, 24, 245, 0.05);
  color: var(--ink);
  box-shadow: inset 2px 0 0 rgba(24, 24, 245, 0.35);
}
.compare thead th.xz {
  background: rgba(24, 24, 245, 0.1);
  color: var(--acc);
}
.compare tbody tr:hover td {
  background: #fafbfd;
}
.compare tbody tr:hover td.xz {
  background: rgba(24, 24, 245, 0.08);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 目标客户 ---------- */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.aud-card {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.aud-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 24, 245, 0.2);
  box-shadow: 0 18px 34px -24px rgba(6, 27, 31, 0.4);
}
.aud-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--acc);
}
.aud-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.aud-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.aud-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 使用流程 ---------- */
.xz-workflow {
  padding: 64px 0 100px;
  background:
    linear-gradient(rgba(3, 10, 24, 0.3), rgba(3, 10, 24, 0.3)),
    #061126 url("../images/xz/官网更新素材/提高清晰度.webp") center / cover
      no-repeat;
}
.xz-workflow .sec-head {
  margin-bottom: 80px;
}
.xz-workflow .sec-head h2,
.xz-workflow .sec-head p {
  color: #fff;
}
.xz-workflow .sec-head p {
  margin-top: 24px;
}
.step-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  min-height: 216px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(220, 230, 246, 0.32);
}
.step-no {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.step-card h4 {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.step-card p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line-2);
}
.faq-item {
  border-bottom: 1px solid var(--line-2);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 4px;
  cursor: pointer;
}
.q-mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--acc-soft);
  color: var(--acc);
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.faq-q h4 {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.q-arrow {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  transition: transform 0.3s ease;
}
.q-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}
.faq-item.open .q-mark {
  background: var(--acc);
  color: #fff;
}
.faq-item.open .q-arrow {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 4px 26px 42px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ---------- 结尾 CTA ---------- */
.xz-cta {
  padding: 110px 0 84px;
  overflow: hidden;
  text-align: center;
  background: #06162e;
  isolation: isolate;
}
.xz-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.xz-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 28, 0.25);
  z-index: -1;
  pointer-events: none;
}
.xz-cta h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: #fff;
}
.xz-cta-subtitle {
  margin: 0;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.5;
  color: #fff;
}
.xz-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 88px;
  padding: 12px 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(220, 230, 246, 0.45);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  transition: background 0.25s ease;
}
.xz-cta-button:hover {
  background: rgba(220, 230, 246, 0.6);
  color: #fff;
  text-decoration: none;
}
.xz-cta-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* ---------- 滚动渐入（克制：仅轻微淡入） ---------- */
.reveal {
  opacity: 0;
}
.reveal.in-view {
  animation: xzFade 0.6s ease both;
}
@keyframes xzFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal.in-view {
    opacity: 1;
    animation: none;
  }
}

/* ---------- 断点收敛 ---------- */
@media (max-width: 1240px) {
  .container {
    width: 92%;
  }
}

@media (max-width: 1024px) {
  .xz-hero {
    height: auto;
    padding: 120px 0 64px;
  }
  .xz-hero h1 {
    font-size: 34px;
  }
  .intro-grid,
  .cap-item {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cap-item.reverse .cap-copy {
    order: 1;
  }
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aud-grid,
  .step-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .xz-section {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .pain-grid,
  .aud-grid,
  .step-row,
  .stat-row {
    grid-template-columns: 1fr;
  }
  .xz-hero h1 {
    font-size: 28px;
  }
  .compare th,
  .compare td {
    padding: 14px 16px;
  }
}
