@charset "UTF-8";

.page-slices {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  line-height: 0;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-slices__item + .page-slices__item {
  margin-top: 0;
}

.page-slices img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* 人才招聘正文为 Figma 导出位图：避免 GPU 缩放发虚（常见于超长单图拆段后影响减弱） */
body[data-page="jobs"] .page-slices__stage img {
  backface-visibility: hidden;
}

/* 页脚装饰曲线需叠在「愿景与使命」切片之上 */
body[data-page="jobs"] .page-slices {
  position: relative;
  z-index: 1;
}

/* Figma 社会招聘01：愿景区块底至页脚顶约 181px 全宽白底（延长愿景与使命框） */
.page-slices__item--has-tail {
  background: var(--color-bg);
}

.page-slices__tail {
  display: block;
  width: 100%;
  height: var(--slice-tail-h, 0);
  background: var(--color-bg);
  line-height: 0;
  pointer-events: none;
}

.page-slices__item {
  width: 100%;
  position: relative;
}

.page-slices__stage {
  position: relative;
  width: 100%;
  line-height: 0;
}

.page-slices__item--narrow {
  background: var(--color-bg);
  padding-block: 0;
}

.page-slices__item--narrow .page-slices__stage {
  max-width: var(--content-max);
  margin-inline: auto;
  outline: none;
}

.page-slices__item--narrow .page-slices__stage:focus-visible {
  outline: none;
}

/* 切片为整图展示，禁用 JSON 热区脚本生成的 overlay（案例页汇众卡片见 .slice-card-link--huizhong） */
.slice-hit,
.slice-overlay {
  display: none !important;
}

.page-slices__item--tab-viewport {
  overflow: hidden;
}

.page-slices__item--tab-viewport .page-slices__stage img {
  transition: transform 0.4s ease;
  will-change: transform;
}

.page-slices__item--fit .page-slices__stage {
  max-width: var(--content-max);
  margin-inline: auto;
}

.slice-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slice-hit {
  position: absolute;
  pointer-events: auto;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.slice-hit:hover,
.slice-hit:focus-visible {
  background: rgba(8, 139, 215, 0.08);
  box-shadow: inset 0 0 0 2px rgba(8, 139, 215, 0.35);
  outline: none;
}

.slice-hit--tab.is-active {
  background: rgba(8, 139, 215, 0.12);
  box-shadow: inset 0 0 0 2px var(--color-accent);
}

/* 案例卡片热区：图片不拦截鼠标，链接层叠在上方 */
.page-slices__item--has-card-links .page-slices__stage > img {
  position: relative;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.page-slices__item--has-card-links .slice-card-links {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.page-slices__item--has-card-links .page-slices__stage {
  isolation: isolate;
}

.slice-card-link {
  position: absolute;
  z-index: 11;
  display: block;
  margin: 0;
  padding: 0;
  min-width: 24px;
  min-height: 24px;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 8px;
  transition:
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.slice-card-link__fill {
  position: absolute;
  inset: 0;
  display: block;
}

/* 客户案例页热区坐标（外部 CSS，避免 CSP 拦截内联 style） */
.slice-card-link--cases-cards-apple { left: 0; top: 4%; width: 23.75%; height: 82.8%; }
.slice-card-link--cases-cards-baogang { left: 25.42%; top: 4%; width: 23.75%; height: 82.8%; }
.slice-card-link--cases-cards-jiuli { left: 50.2%; top: 4%; width: 23.75%; height: 82.8%; }
.slice-card-link--cases-cards-yunyou { left: 74.8%; top: 4%; width: 23.75%; height: 82.8%; }

.slice-card-link--cases-main-apple { left: 17.78%; top: 12.89%; width: 20.74%; height: 39.34%; }
.slice-card-link--cases-main-baogang { left: 39.55%; top: 12.89%; width: 20.74%; height: 39.34%; }
.slice-card-link--cases-main-yunyou { left: 61%; top: 12.89%; width: 20.74%; height: 39.34%; }
.slice-card-link--cases-main-jiuli { left: 17.8%; top: 56.45%; width: 20.74%; height: 39.34%; }
.slice-card-link--cases-main-huizhong { left: 39.55%; top: 56.45%; width: 20.74%; height: 39.34%; }
.slice-card-link--cases-main-olympus { left: 61.32%; top: 56.45%; width: 20.74%; height: 39.34%; }

.slice-card-link--cases-trust-apple { left: 16.67%; top: 27.2%; width: 66.67%; height: 66.4%; }

/* 首页 home-main：产品中心四卡、案例中心三卡（Figma 23:2846 相对坐标） */
.slice-card-link--home-main-prod-erp { left: 16.67%; top: 2%; width: 15.83%; height: 7.72%; }
.slice-card-link--home-main-prod-mes { left: 33.61%; top: 2%; width: 15.83%; height: 7.72%; }
.slice-card-link--home-main-prod-tms { left: 50.56%; top: 2%; width: 15.83%; height: 7.72%; }
.slice-card-link--home-main-prod-ai { left: 67.5%; top: 2%; width: 15.83%; height: 7.72%; }
.slice-card-link--home-main-case-apple { left: 16.67%; top: 13.42%; width: 21.48%; height: 5.88%; }
.slice-card-link--home-main-case-baogang { left: 39.26%; top: 13.42%; width: 21.48%; height: 5.96%; }
.slice-card-link--home-main-case-jiuli { left: 61.85%; top: 13.42%; width: 21.48%; height: 5.97%; }

/* 人才招聘「最新发布」三职位卡片（Figma 18:2005 / Frame 366 @2147px）；宽 98% 右侧留白 2% */
.slice-card-link--jobs-pos-erp { left: 0.5%; top: 6.1%; width: 98%; height: 27.62%; }
.slice-card-link--jobs-pos-ops { left: 0.5%; top: 35.21%; width: 98%; height: 29.44%; }
.slice-card-link--jobs-pos-qa { left: 0.5%; top: 66.14%; width: 98%; height: 30.88%; }

/* 首页等产品切片上的「免费试用」→ 打开留资弹窗（图二） */
.slice-lead-hotspots {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.slice-lead-hotspot {
  position: absolute;
  pointer-events: auto;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.slice-lead-hotspot:hover,
.slice-lead-hotspot:focus-visible {
  background: rgba(47, 91, 234, 0.12);
  box-shadow: inset 0 0 0 2px rgba(47, 91, 234, 0.45);
  outline: none;
}

/* 客户案例卡片热区：悬浮高亮 + 提示文案 */
.slice-card-link--story:hover,
.slice-card-link--story:focus-visible {
  background: rgba(8, 139, 215, 0.1);
  box-shadow: inset 0 0 0 2px var(--color-accent);
  outline: none;
}

.slice-card-link--story::after {
  content: attr(data-hover-tip);
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 3;
  padding: 8px 16px;
  font-family: var(--font-sans, "Noto Sans SC", sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
  white-space: nowrap;
  pointer-events: none;
  background: var(--color-accent);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(8, 139, 215, 0.35);
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.slice-card-link--story:hover::after,
.slice-card-link--story:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 人才招聘投递：轻量卡片描边 + 右上角「进行投递」标签（不铺整卡实色遮罩） */
.slice-card-link--job-apply {
  background: transparent;
  box-shadow: none;
  outline: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.slice-card-link--job-apply:hover,
.slice-card-link--job-apply:focus-visible {
  background: rgba(8, 139, 215, 0.08);
  box-shadow: inset 0 0 0 2px rgba(8, 139, 215, 0.55);
  outline: none;
}

.slice-card-link--job-apply::after {
  content: attr(data-hover-tip);
  position: absolute;
  left: auto;
  right: 16px;
  top: 14px;
  bottom: auto;
  width: auto;
  height: auto;
  z-index: 3;
  padding: 6px 14px;
  font-family: var(--font-sans, "Noto Sans SC", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--color-white);
  white-space: nowrap;
  pointer-events: none;
  background: var(--color-accent);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(8, 139, 215, 0.4);
  opacity: 0;
  transform: scale(0.92) translateY(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.slice-card-link--job-apply:hover::after,
.slice-card-link--job-apply:focus-visible::after {
  opacity: 1;
  transform: scale(1) translateY(0);
  box-shadow: 0 6px 18px rgba(8, 139, 215, 0.5);
}

.slice-hit--faq.is-active::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: translateY(-70%) rotate(45deg);
}

.slice-faq-panel {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px var(--side-padding) 32px;
  background: var(--color-bg-section);
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-primary);
}

.slice-faq-panel[hidden] {
  display: none;
}

.slice-faq-panel__body {
  font-size: 14px;
  line-height: 1.75;
}

.slice-anchor {
  display: block;
  height: 0;
  scroll-margin-top: calc(var(--header-height) + 72px);
}

/* 客户故事顶区 — Figma 1:1477 / 1:1479 */
.story-hero-band {
  position: relative;
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  background: linear-gradient(180deg, #f3f8fc 0%, var(--color-bg) 72%);
  overflow: hidden;
}

.story-hero-band__bg {
  position: absolute;
  inset: 0 0 auto;
  line-height: 0;
  pointer-events: none;
}

.story-hero-band__bg img {
  width: 100%;
  height: auto;
  display: block;
}

.story-hero-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-max);
  margin-inline: auto;
  padding: 24px clamp(24px, 5vw, 240px) 48px;
}

.story-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-text-secondary);
}

.story-breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.story-breadcrumb a:hover {
  color: var(--color-accent);
}

.story-breadcrumb__current {
  color: var(--color-text-primary);
  font-weight: 500;
}

.story-hero-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  max-width: var(--content-max);
  margin-inline: auto;
}

.story-hero-band__copy {
  min-width: 0;
  max-width: 100%;
}

.story-hero-band__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.33vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-primary);
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  writing-mode: horizontal-tb;
}

.story-hero-band__desc {
  margin: 0 0 32px;
  max-width: 28em;
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-primary);
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  writing-mode: horizontal-tb;
}

.story-hero-band__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
}

.story-hero-band__cta:hover {
  background: var(--color-accent-hover);
}

.story-hero-band__cta-icon {
  flex-shrink: 0;
}

.story-hero-band__media {
  line-height: 0;
}

.story-hero-band__media img {
  width: 100%;
  max-width: 519px;
  height: auto;
  display: block;
  border-radius: 0 16px 16px 0;
  object-fit: cover;
}

@media (min-width: 900px) {
  .story-hero-band__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 519px);
    gap: 24px 40px;
  }
}

@media (max-width: 899px) {
  .story-hero-band__media {
    justify-self: center;
  }

  .story-hero-band__media img {
    max-width: 100%;
    border-radius: 16px;
  }
}

.cases-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 16px var(--side-padding) 8px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--header-height);
  z-index: calc(var(--z-header) - 1);
}

.cases-filter__btn {
  padding: 8px 20px;
  font-size: 14px;
  color: var(--color-text-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  cursor: pointer;
}

.cases-filter__btn:hover,
.cases-filter__btn.is-active {
  color: var(--color-white);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

@media (max-width: 900px) {
  .cases-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}
