html,
body {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fff;
}

body.ax-recruitingbot-nami {
  margin: 0;
  color: #111;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.nami-work-detail {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
  padding-top: 72px;
}

.nami-work-detail section[id] {
  scroll-margin-top: 92px;
}

.nami-work-detail img,
.nami-work-detail video {
  max-width: 100%;
}

.aixunren-nav-shell {
  box-shadow: none !important;
}

/*
 * This page opens on a white hero, so use the same light header treatment as
 * the reports page. Keep dropdown and signed-in user-menu states controlled by
 * the shared header styles.
 */
html.aixunren-nav-ready.aixunren-page-detail
  .aixunren-nav-shell:not(.is-drop-open):not(.is-user-menu-open) {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

html.aixunren-nav-ready.aixunren-page-detail
  .aixunren-nav-shell:not(.is-drop-open):not(.is-user-menu-open)
  :is(.aixunren-nav-item, .aixunren-nav-link, .aixunren-user-trigger) {
  color: #334155 !important;
  text-shadow: none !important;
}

html.aixunren-nav-ready.aixunren-page-detail
  .aixunren-nav-shell:not(.is-drop-open):not(.is-user-menu-open)
  .aixunren-user-trigger-copy small {
  color: #078c9b !important;
}

html.aixunren-nav-ready.aixunren-page-detail
  .aixunren-nav-shell:not(.is-drop-open):not(.is-user-menu-open)
  .aixunren-user-trigger:hover {
  border-color: #dce6f5 !important;
  background: #f3f7fc !important;
  box-shadow: none !important;
}

html.aixunren-nav-ready.aixunren-page-detail
  .aixunren-nav-shell:not(.is-drop-open):not(.is-user-menu-open)
  .ax-brand-name {
  color: #1b2945 !important;
}

.nami-work-detail button:focus-visible,
.nami-work-detail a:focus-visible {
  outline: 3px solid #1765ff;
  outline-offset: 3px;
}

/* Recruitment flow carousel: inspired by the reference's curved card stage. */
.recruit-flow-showcase {
  position: relative;
  overflow: hidden;
  padding: 28px 0 12px;
  background:
    radial-gradient(circle at 50% 30%, rgba(62, 126, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfcff 72%, #fff 100%);
}

.recruit-flow-showcase::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e9f1 14%, #e5e9f1 86%, transparent);
  content: "";
}

.recruit-flow-stage {
  position: relative;
  width: min(1440px, 100%);
  height: 540px;
  margin: 0 auto;
}

.recruit-flow-track {
  position: relative;
  height: 470px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.recruit-flow-card {
  position: absolute;
  top: 34px;
  left: 50%;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 270px;
  height: 326px;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  background: #f5f6f8;
  box-shadow: 0 16px 42px rgba(30, 41, 59, 0.09);
  color: #202634;
  font: inherit;
  cursor: pointer;
  filter: grayscale(1);
  opacity: 0;
  transform: translate(-50%, 140px) scale(0.72);
  transform-origin: 50% 100%;
  transition:
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 520ms ease,
    filter 520ms ease,
    border-color 520ms ease,
    background 520ms ease,
    box-shadow 520ms ease;
  will-change: transform;
}

.recruit-flow-card[data-position="-2"] {
  z-index: 1;
  opacity: 0.76;
  transform: translate(calc(-50% - 520px), 142px) rotate(-25deg) scale(0.82);
}

.recruit-flow-card[data-position="-1"] {
  z-index: 2;
  opacity: 0.88;
  transform: translate(calc(-50% - 282px), 54px) rotate(-12deg) scale(0.93);
}

.recruit-flow-card[data-position="0"] {
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #1765ff 0%, #2f9bff 56%, #55c7ff 100%);
  box-shadow:
    0 24px 58px rgba(23, 101, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.7);
  filter: none;
  opacity: 1;
  transform: translate(-50%, -2px) rotate(0) scale(1.08);
}

.recruit-flow-card[data-position="1"] {
  z-index: 2;
  opacity: 0.88;
  transform: translate(calc(-50% + 282px), 54px) rotate(12deg) scale(0.93);
}

.recruit-flow-card[data-position="2"] {
  z-index: 1;
  opacity: 0.76;
  transform: translate(calc(-50% + 520px), 142px) rotate(25deg) scale(0.82);
}

.recruit-flow-card:hover {
  box-shadow: 0 22px 54px rgba(30, 41, 59, 0.16);
}

.recruit-flow-card__media {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 17px;
  background: #e8ebf0;
}

.recruit-flow-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.recruit-flow-card[data-flow-index="2"] .recruit-flow-card__media img {
  object-position: 50% 12%;
}

.recruit-flow-card[data-position="0"] .recruit-flow-card__media img {
  transform: scale(1.035);
}

.recruit-flow-card__label {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 2px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.recruit-flow-card[data-position="0"] .recruit-flow-card__label {
  color: #fff;
}

.recruit-flow-controls {
  position: absolute;
  bottom: 42px;
  left: 50%;
  z-index: 8;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.recruit-flow-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid #dfe4ec;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(30, 41, 59, 0.07);
  color: #151b26;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.recruit-flow-arrow:hover {
  border-color: #1765ff;
  background: #1765ff;
  color: #fff;
  transform: translateY(-2px);
}

.recruit-flow-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.recruit-flow-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nami-work-detail {
    padding-top: 64px;
  }

  .recruit-flow-stage {
    height: 480px;
  }

  .recruit-flow-track {
    height: 414px;
  }

  .recruit-flow-card {
    top: 28px;
    width: 238px;
    height: 292px;
    border-width: 8px;
    border-radius: 24px;
  }

  .recruit-flow-card[data-position="-2"] {
    opacity: 0;
    transform: translate(calc(-50% - 390px), 126px) rotate(-25deg) scale(0.76);
  }

  .recruit-flow-card[data-position="-1"] {
    transform: translate(calc(-50% - 222px), 62px) rotate(-12deg) scale(0.9);
  }

  .recruit-flow-card[data-position="1"] {
    transform: translate(calc(-50% + 222px), 62px) rotate(12deg) scale(0.9);
  }

  .recruit-flow-card[data-position="2"] {
    opacity: 0;
    transform: translate(calc(-50% + 390px), 126px) rotate(25deg) scale(0.76);
  }

  .recruit-flow-card__label {
    min-height: 52px;
    font-size: 16px;
  }

  .recruit-flow-controls {
    bottom: 34px;
  }
}

/*
 * The source site intentionally hides every section except the hero below
 * 768px. The migrated detail page must retain its full content on tablets and
 * phones, so restore those sections while keeping the source responsive rules.
 */
@media (max-width: 768px) {
  .nami-work-detail > :is(
    #advantages,
    #recruit-flow-showcase,
    #automation,
    #custom-expert,
    #expert-team,
    #memory,
    #security,
    #pricing
  ) {
    display: block !important;
  }

  .recruit-flow-showcase {
    padding-top: 8px;
  }
}

@media (max-width: 520px) {
  .recruit-flow-stage {
    height: 430px;
  }

  .recruit-flow-track {
    height: 362px;
  }

  .recruit-flow-card {
    top: 22px;
    width: 214px;
    height: 264px;
    padding: 9px;
    border-width: 7px;
    border-radius: 22px;
  }

  .recruit-flow-card[data-position="-1"] {
    opacity: 0.6;
    transform: translate(calc(-50% - 176px), 60px) rotate(-10deg) scale(0.84);
  }

  .recruit-flow-card[data-position="0"] {
    transform: translate(-50%, 0) scale(1);
  }

  .recruit-flow-card[data-position="1"] {
    opacity: 0.6;
    transform: translate(calc(-50% + 176px), 60px) rotate(10deg) scale(0.84);
  }

  .recruit-flow-card__label {
    min-height: 46px;
    padding-top: 8px;
    font-size: 16px;
  }

  .recruit-flow-controls {
    bottom: 26px;
  }

  .recruit-flow-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nami-work-detail *,
  .nami-work-detail *::before,
  .nami-work-detail *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep the expert team as one restrained horizontal showcase. */
.et-image-wrap {
  width: 100%;
  margin: 0 auto;
}

.et-image-wrap::after {
  display: none !important;
  content: none !important;
}

.et-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .et-image-wrap {
    height: auto !important;
    overflow: visible !important;
  }

  .et-image-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    transform: none !important;
  }
}

/* Keep the pricing section in a restrained black and gray palette. */
#pricing {
  --c-accent: #111827;
  --c-accent-grad: linear-gradient(135deg, #1f2937 0%, #05070b 100%);
  background: #f5f5f7;
}

#pricing .pricing-toggle {
  border-color: #d1d5db;
}

#pricing .pricing-head .s-title {
  color: #111827;
}

#pricing .pricing-toggle button {
  color: #4b5563;
}

#pricing[data-billing="monthly"] .pt-monthly,
#pricing[data-billing="annual"] .pt-annual {
  background: #111827;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.24);
}

#pricing .pt-save {
  color: #111827;
  background: #eef0f3;
}

#pricing .price-card {
  border-color: #d8dbe1;
}

#pricing .price-card--featured {
  border-color: #111827;
  background: linear-gradient(#f0f2f5 0%, #fff 150px);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.14);
}

#pricing .price-tier__name,
#pricing .price-amount__now {
  color: #111827;
}

#pricing .price-tier__flag {
  color: #111827;
  border-color: #111827;
}

#pricing .price-cta {
  color: #111827;
  border-color: #c7cbd2;
}

#pricing .price-card--featured .price-cta {
  color: #fff;
  background: #111827;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.28);
}

#pricing .price-feats {
  border-color: #d8dbe1;
}

#pricing .price-feats li::before {
  color: #111827;
}

/* The skill-hall screenshot already contains the product's black frame. */
.skill-hall-frame {
  width: 100%;
  aspect-ratio: 1039 / 650;
  overflow: hidden;
  background: #fff;
}

.skill-hall-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .skill-hall-frame {
    aspect-ratio: 1039 / 650;
  }
}
