/* ==========================================================================
   COMPANY PERSPECTIVE —— 深色科技沉浸展示长廊（/about 专属）
   --------------------------------------------------------------------------
   设计取向：抛弃原站「235px 标签 + 945 图 + 160×96 缩略图」那套机械分栏，
             按深色科技沉浸风格自由重构。外层容器定位由脚本保留
             （#smv_con_107_14 的内联绝对定位不动），内部视觉与交互全部重做。

   布局（外壳 #smv_con_107_14 = 1180 × 500，内联绝对定位不动）：
     ├ .cpx-nav     300px  —— GALLERY 标题 + 分组导航（序号/名称/说明 + 红色指示条）
     └ .cpx-stage   880px  —— 满幅大图（Ken Burns）+ 底部浮层（序号/标题/说明 + 缩略图带 + 左右箭头）

   配色：近黑底 #08080b→#101015，站点主色红 #e64266 作点缀，
        正文白 / 次级 rgba(255,255,255,.45)。
   数据：全部来自 CMS（Strapi 单例 company-perspective），本文件不含业务数据。
   ========================================================================== */

#smv_con_107_14 .cpx {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #101015 0%, #0a0a0e 55%, #08080b 100%);
  font-family: Arial, "Microsoft YaHei", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  --cpx-accent: #e64266;
  --cpx-dur: 5200ms;
}

/* ========================== 左侧导航 ========================== */
#smv_con_107_14 .cpx-nav {
  position: relative;
  z-index: 6;
  flex: 0 0 300px;
  width: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 32px 0 26px;
  background: linear-gradient(180deg, #16161c 0%, #0e0e13 60%, #0b0b0f 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
/* 导航底部细网格 —— 填补分组较少时的空白，纯装饰 */
#smv_con_107_14 .cpx-nav::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 56px;
  height: 150px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 78%);
  mask-image: linear-gradient(180deg, transparent, #000 78%);
}

#smv_con_107_14 .cpx-nav-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 30px;
  margin-bottom: 26px;
}
#smv_con_107_14 .cpx-nav-kicker {
  flex: 0 0 auto;
  max-width: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.5);
}
#smv_con_107_14 .cpx-nav-rule {
  flex: 1 1 auto;
  min-width: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(230, 66, 102, 0.85), rgba(230, 66, 102, 0));
}

#smv_con_107_14 .cpx-tabs {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

#smv_con_107_14 .cpx-tab {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 16px 28px 16px 34px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.4s ease, background 0.4s ease;
}
#smv_con_107_14 .cpx-tab + .cpx-tab {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}
/* 左侧红色指示条：激活时自中心向上生长 + 光晕 */
#smv_con_107_14 .cpx-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--cpx-accent);
  box-shadow: 0 0 18px rgba(230, 66, 102, 0.95);
  transform: translateY(-50%);
  transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#smv_con_107_14 .cpx-tab:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.025);
}
#smv_con_107_14 .cpx-tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(230, 66, 102, 0.16) 0%, rgba(230, 66, 102, 0) 78%);
}
#smv_con_107_14 .cpx-tab.is-active::before {
  height: 62%;
}

#smv_con_107_14 .cpx-tab-idx {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: rgba(230, 66, 102, 0.8);
}
#smv_con_107_14 .cpx-tab.is-active .cpx-tab-idx {
  color: #ff5d7e;
}
#smv_con_107_14 .cpx-tab-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
#smv_con_107_14 .cpx-tab-caption {
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.4s ease;
}
#smv_con_107_14 .cpx-tab.is-active .cpx-tab-caption {
  color: rgba(255, 255, 255, 0.56);
}

#smv_con_107_14 .cpx-nav-foot {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 30px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.26);
}

/* ========================== 右侧舞台 ========================== */
#smv_con_107_14 .cpx-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #060609;
}

/* 暗角 + 底部压暗 + 红色氛围光，保证叠字可读（不拦截鼠标） */
#smv_con_107_14 .cpx-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 84% 6%, rgba(230, 66, 102, 0.12), transparent 56%),
    linear-gradient(180deg, rgba(4, 4, 7, 0.52) 0%, rgba(4, 4, 7, 0) 22%,
      rgba(4, 4, 7, 0) 38%, rgba(4, 4, 7, 0.92) 100%);
}

#smv_con_107_14 .cpx-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#smv_con_107_14 .cpx-panel.is-active {
  opacity: 1;
  visibility: visible;
}

#smv_con_107_14 .cpx-slides {
  position: absolute;
  inset: 0;
}

#smv_con_107_14 .cpx-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#smv_con_107_14 .cpx-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
#smv_con_107_14 .cpx-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  will-change: transform;
}
/* Ken Burns：激活图缓慢推近，每次切换重新起播 */
#smv_con_107_14 .cpx-slide.is-active img {
  animation: cpxKenburns 16s ease-out forwards;
}
@keyframes cpxKenburns {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1.2%, 0);
  }
}

/* ---------- 底部浮层：信息 + 缩略图带 ---------- */
#smv_con_107_14 .cpx-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  padding: 0 30px 24px;
}

#smv_con_107_14 .cpx-info {
  min-width: 0;
  max-width: 380px;
}
#smv_con_107_14 .cpx-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
}
#smv_con_107_14 .cpx-counter em {
  font-style: normal;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
#smv_con_107_14 .cpx-counter i {
  font-style: normal;
  font-size: 12px;
  color: var(--cpx-accent);
}
#smv_con_107_14 .cpx-counter span {
  font-size: 12px;
}
#smv_con_107_14 .cpx-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}
#smv_con_107_14 .cpx-desc {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
#smv_con_107_14 .cpx-title:empty,
#smv_con_107_14 .cpx-desc:empty {
  display: none;
}

/* 缩略图带 */
#smv_con_107_14 .cpx-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
#smv_con_107_14 .cpx-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  height: 60px;
  padding: 0;
  border: 0;
  background: #131318;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.42;
  filter: grayscale(0.6) brightness(0.78);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease,
    box-shadow 0.35s ease;
}
#smv_con_107_14 .cpx-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#smv_con_107_14 .cpx-thumb:hover {
  opacity: 0.92;
  filter: none;
}
#smv_con_107_14 .cpx-thumb.is-active {
  opacity: 1;
  filter: none;
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--cpx-accent), 0 8px 24px rgba(230, 66, 102, 0.42);
}
/* 自动播放进度 */
#smv_con_107_14 .cpx-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--cpx-accent);
  box-shadow: 0 0 10px rgba(230, 66, 102, 0.9);
}
#smv_con_107_14 .cpx-thumb.is-active::after {
  animation: cpxProgress var(--cpx-dur) linear forwards;
}
@keyframes cpxProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ---------- 左右切换箭头 ---------- */
#smv_con_107_14 .cpx-arrow {
  position: absolute;
  top: 50%;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 8, 12, 0.45);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.35s ease, background 0.3s ease, border-color 0.3s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
#smv_con_107_14 .cpx-stage:hover .cpx-arrow {
  opacity: 1;
}
#smv_con_107_14 .cpx-arrow:hover {
  background: var(--cpx-accent);
  border-color: var(--cpx-accent);
}
#smv_con_107_14 .cpx-arrow.is-prev {
  left: 22px;
}
#smv_con_107_14 .cpx-arrow.is-next {
  right: 22px;
}
#smv_con_107_14 .cpx-arrow i {
  font-style: normal;
  transform: translateY(-1px);
}

/* 仅一个分组时隐藏导航底部的操作提示（无可切换目标） */
#smv_con_107_14 .cpx[data-cpx-count="1"] .cpx-nav-hint {
  visibility: hidden;
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  #smv_con_107_14 .cpx-slide.is-active img {
    animation: none;
    transform: scale(1.03);
  }
  #smv_con_107_14 .cpx-thumb.is-active::after {
    animation: none;
    width: 100%;
  }
  #smv_con_107_14 .cpx-arrow {
    opacity: 1;
  }
}
