@charset "UTF-8";

/* 立即入驻页 (Figma 605:1079 样式1) 专属样式。还原基准 Figma 1920 画板。 */

.apply-page {
  position: relative;
  z-index: 1;
  padding-top: 1px;
}

/* —— 顶部粒子场背景(Figma image 192 / 605:1080,1920×1071,置于英雄区内容之下)—— */
.apply-page::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  width: 100vw;                 /* 设计稿满帧宽度(1920) */
  height: 55.78vw;             /* 设计稿比例 1071/1920,随宽度等比缩放 */
  max-height: 1071px;
  transform: translateX(-50%);
  background: url("../assets/apply/hero-bg.webp") top center / 100% 100% no-repeat;
  pointer-events: none;
}

/* —— 英雄区 —— */
.apply-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px; /* 容纳底部延伸到 ~630px 的散落图片，避免被裁切 */
}

/* —— 顶部背景光晕(Figma Ellipse 37 / 605:1082,复用首页同款导出资源,带透明通道)—— */
.apply-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;                  /* 居于粒子场之上、散落图片与标题之下 */
  width: 100vw;                /* 设计稿满帧宽度(1920) */
  height: 42.4vw;             /* 设计稿比例 814/1920,随宽度等比缩放 */
  max-height: 814px;
  transform: translateX(-50%);
  background: url("../assets/home/hero-glow.webp") top center / 100% 100% no-repeat;
  pointer-events: none;
}

.apply-hero__stage {
  position: relative;
  z-index: 1;
  width: min(1920px, 100%);
  height: 540px;
  margin: 0 auto;
  perspective: 1100px;
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
}

.apply-deco {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  /* 出场动效：默认从远处 + 透明，JS 落位后过渡到最终位置 */
  transform: translate3d(0, 60px, -900px) rotate(var(--rot, 0deg));
  opacity: 0;
  transition: transform 1.2s cubic-bezier(.16, .84, .28, 1), opacity 1s ease;
}

/* 落位后由脚本逐帧驱动视差，去掉 transform 过渡避免拖影 */
.apply-deco.is-in {
  transition: opacity 1s ease;
}

@media (prefers-reduced-motion: reduce) {
  .apply-deco {
    transition: opacity .6s ease;
    transform: rotate(var(--rot, 0deg));
  }
}

.apply-hero__copy {
  position: absolute;
  left: 50%;
  top: 198px;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 2 * var(--page-gutter)));
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
  z-index: 2;
}

.apply-eyebrow {
  margin: 0;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.333;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.apply-h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 3.35vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.0375em;
}

/* —— 区块通用 —— */
.apply-section {
  position: relative;
  z-index: 2;
  width: min(1247px, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
}

/* “入驻条件”上移并提层，压在英雄区底部散落图片之上，形成交错层次 */
.apply-section--lift {
  z-index: 400;
  margin-top: -130px;
}

.apply-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: #fff;
}

.apply-heading img {
  width: 20px;
  height: auto;
}

.apply-heading span,
.apply-heading h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: -0.5px;
}

/* 入驻条件 */
.apply-conditions {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1000px;          /* 为卡片 3D 倾斜提供透视消失点 */
}

.apply-condition {
  position: relative;
  height: 200px;
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transform-style: preserve-3d;
  will-change: transform;
  /* 倾斜跟随用较短过渡平滑跟手;离开时缓动复位。 */
  transition:
    transform 0.18s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* 光标跟随光斑:--mx / --my 由 scripts/apply-conditions.js 写入,默认居中、悬停时显现 */
.apply-condition::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(120, 170, 255, 0.22),
    rgba(120, 170, 255, 0) 60%
  );
}

.apply-condition.is-live,
.apply-condition:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4);
}

.apply-condition.is-live::after,
.apply-condition:hover::after {
  opacity: 1;
}

.apply-condition p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 230px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
}

.apply-condition img {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 24px;
  height: 90px;
  width: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 悬停时图标轻微放大上浮,作为点缀(translateZ 借容器 perspective 产生纵深) */
.apply-condition.is-live img,
.apply-condition:hover img {
  opacity: 1;
  transform: translateY(-4px) scale(1.06);
}

/* 申请流程 */
.apply-steps {
  position: relative;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

/* 连接线：穿过各步骤圆点的水平中心（圆点居中于每列，列中心在 10%/30%/…/90%） */
.apply-steps::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 15px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.apply-step {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.apply-step__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #3424c0;
  color: #fff;
  font-family: var(--font-latin);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.333;
}

.apply-step__name {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.556;
  letter-spacing: -0.9px;
}

.apply-step__desc {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.5;
}

/* —— 表单区 —— */
.apply-form-head {
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(930px, calc(100% - 2 * var(--page-gutter)));
  margin: clamp(72px, 11vw, 130px) auto 0;
  text-align: center;
}

.apply-form {
  width: min(930px, calc(100% - 2 * var(--page-gutter)));
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.highcity-application-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apply-notice {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.apply-notice--success {
  border: 1px solid rgba(100, 255, 181, 0.35);
  background: rgba(28, 163, 97, 0.16);
  color: #d7ffe8;
}

.apply-notice--error {
  border: 1px solid rgba(255, 122, 122, 0.38);
  background: rgba(205, 44, 44, 0.16);
  color: #ffe0e0;
}

.apply-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.apply-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-field > label {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.apply-field input,
.apply-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.apply-field input {
  height: 50px;
  padding: 10px 24px;
}

.apply-field textarea {
  min-height: 110px;
  padding: 16px 24px;
  resize: vertical;
  line-height: 1.5;
}

.apply-field input::placeholder,
.apply-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.apply-field input:focus,
.apply-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

/* 人才类别 */
.apply-talents-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.apply-talents-intro strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.apply-talents-intro span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.apply-talents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.apply-talent {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
}

.apply-talent[open] {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.apply-talent > summary {
  list-style: none;
  cursor: pointer;
  height: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.apply-talent > summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.apply-talent > summary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: -2px;
}

.apply-talent > summary::-webkit-details-marker {
  display: none;
}

.apply-talent__label {
  font-weight: 500;
  text-transform: uppercase;
}

.apply-talent__hint {
  margin-left: auto;
  margin-right: 16px;
  opacity: 0.6;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.apply-talent__chevron {
  width: 10px;
  height: auto;
  transition: transform 0.2s ease;
}

.apply-talent[open] .apply-talent__chevron {
  transform: rotate(180deg);
}

.apply-talent__options {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 24px 30px;
}

.apply-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.apply-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.apply-radio__box {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: url(../assets/apply/radio-off.svg) center / contain no-repeat;
}

.apply-radio input:checked + .apply-radio__box {
  background-image: url(../assets/apply/radio-on.svg);
}

.apply-radio input:focus-visible + .apply-radio__box {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  border-radius: 50%;
}

/* 文件上传 */
.apply-uploads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.apply-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 163px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.apply-upload:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.apply-upload img {
  width: 20px;
  height: 20px;
}

.apply-upload__main {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.071;
}

.apply-upload__hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.apply-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@property --opc-angle {
  syntax: "<angle>";
  initial-value: 180deg;
  inherits: false;
}

.apply-submit {
  height: 56px;
  min-width: 200px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#000, #000) padding-box,
    conic-gradient(from var(--opc-angle, 180deg) at 50% 50%,
      #00e5ff, #0048ff, #7a2bff, #c44bff, #ff4dd2, #00e5ff) border-box;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.apply-submit:hover {
  animation: opc-flow 2.4s linear infinite;
}

@keyframes opc-flow {
  to { --opc-angle: 540deg; }
}

.apply-submit:active {
  transform: translateY(1px);
}

.apply-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
  .apply-submit:hover { animation: none; }
}

@media (max-width: 1000px) {
  .apply-conditions { grid-template-columns: 1fr; }
  .apply-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .apply-steps::before { display: none; }
  .apply-grid-4 { grid-template-columns: 1fr 1fr; }
}

/* —— 平板/手机:压缩英雄区高度,收紧上移层叠,避免顶部出现大片空白 —— */
@media (max-width: 768px) {
  .apply-hero { min-height: 480px; }
  .apply-hero__stage { height: 380px; }
  .apply-hero__copy { top: clamp(120px, 22vw, 180px); }
  .apply-section--lift { margin-top: -56px; }
}

@media (max-width: 680px) {
  .apply-grid-4, .apply-grid-2, .apply-talents, .apply-uploads { grid-template-columns: 1fr; }
  /* 人才两列改单列后,去掉内层列的固定间距交给外层 grid 统一 */
  .apply-talent-col { gap: 22px; }
}

/* —— 小屏:条件卡片改为自适应高度,字号略减,步骤换行更紧凑 —— */
@media (max-width: 560px) {
  .apply-condition {
    height: auto;
    min-height: 148px;
    padding: 22px;
  }
  .apply-condition p { font-size: 1.25rem; }
  .apply-condition img { height: 62px; right: 22px; bottom: 18px; }

  .apply-steps { gap: 24px 16px; }
  .apply-step { gap: 14px; }
  .apply-step__desc { font-size: 0.875rem; }

  .apply-field input { padding: 10px 18px; }
  .apply-field textarea { padding: 14px 18px; }
  .apply-talent > summary { padding: 0 18px; }
  .apply-talent__options { padding: 14px 18px 26
