/* =====================================================
   加入回响页面 · 专属样式
   沿用首页主舞台(.stage / .slogan)样式,仅改字体
   ===================================================== */

/* ---------- 通用容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 760px;
}

/* ---------- Section 通用(沿用首页 .section 风格) ---------- */
.join-section {
  position: relative;
  padding: 100px 0;
}
.join-why {
  background: #050a12;
}
.join-process {
  background: #050a12;
}
.join-apply {
  background: linear-gradient(180deg, #08111c 0%, #050a12 100%);
  padding-bottom: 120px;
}
.join-faq {
  background: #050a12;
  padding-bottom: 120px;
}

/* ---------- 价值卡片 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.value-card {
  position: relative;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: transform 0.4s, border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 160, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.value-icon {
  font-size: 36px;
  color: rgba(120, 180, 255, 0.9);
  margin-bottom: 18px;
  font-family: "SF Mono", "Consolas", monospace;
}
.value-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: #fff;
}
.value-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

/* ---------- 申请流程 ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  counter-reset: process;
  list-style: none;
  padding: 0;
}
.process-item {
  position: relative;
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, border-color 0.3s;
}
.process-item:hover {
  background: linear-gradient(180deg, rgba(79, 124, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  border-left-color: rgba(120, 180, 255, 0.5);
}
.process-num {
  display: block;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(120, 180, 255, 0.7);
  margin-bottom: 16px;
}
.process-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 1px;
  color: #fff;
}
.process-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
}

/* ---------- 申请表进度条 ---------- */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 60px auto 50px;
  max-width: 600px;
}
.fp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.fp-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
}
.fp-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  transition: color 0.3s;
}
.fp-step.is-active .fp-num {
  background: linear-gradient(120deg, #4f7cff, #6e5cff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.2);
}
.fp-step.is-active .fp-label { color: #fff; }
.fp-step.is-done .fp-num {
  background: rgba(120, 220, 160, 0.2);
  border-color: rgba(120, 220, 160, 0.4);
  color: #b0f0c8;
}
.fp-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 12px 24px;
  transition: background 0.4s;
  position: relative;
}
.fp-line.is-done::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #4f7cff, #6e5cff);
}

/* ---------- 表单 ---------- */
.apply-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 50px 50px 40px;
  position: relative;
}
.form-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
  animation: stepIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.form-step.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 2px;
  color: #fff;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}
.field-label em {
  color: #ff6b6b;
  font-style: normal;
  margin-left: 2px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(120, 180, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.field-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.char-count.is-warn { color: #ffb84a; }
.char-count.is-max  { color: #ff6b6b; }

/* Chip 选择器 */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.chip {
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  transition: all 0.25s;
}
.chip:hover span {
  border-color: rgba(120, 180, 255, 0.3);
  color: #fff;
}
.chip input:checked + span {
  background: linear-gradient(120deg, #4f7cff, #6e5cff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 124, 255, 0.3);
}

/* Checkbox 行 */
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 24px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}
.check-line input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #4f7cff;
  cursor: pointer;
}
.check-line a { color: rgba(120, 180, 255, 0.9); }

/* 按钮组 */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-primary,
.btn-ghost {
  padding: 12px 28px;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(120deg, #4f7cff 0%, #6e5cff 100%);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 124, 255, 0.35);
}
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-submit { min-width: 160px; justify-content: center; }

/* 成功页 */
.form-success {
  text-align: center;
  padding: 40px 20px;
  animation: stepIn 0.5s;
}
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(120deg, #4f7cff, #6e5cff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 300;
  box-shadow: 0 0 0 8px rgba(79, 124, 255, 0.15);
}
.form-success h3 {
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: 2px;
  color: #fff;
}
.form-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.success-name { color: #fff; font-weight: 500; }
.success-ticket {
  margin: 16px 0 32px;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.success-ticket code {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 2px;
  font-size: 13px;
}
.success-timeline {
  display: flex;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}
.success-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.st-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}
.st-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}
.st-item.is-done .st-dot {
  background: linear-gradient(120deg, #4f7cff, #6e5cff);
  border-color: transparent;
}
.st-item.is-current .st-dot {
  background: rgba(79, 124, 255, 0.3);
  border-color: #4f7cff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 124, 255, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(79, 124, 255, 0); }
}
.st-item.is-current { color: #fff; }
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
  font-family: inherit;
  background: none;
  border: none;
}
.faq-q:hover { color: rgba(120, 180, 255, 0.9); }
.faq-toggle {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  transition: transform 0.3s, color 0.3s;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
  color: #4f7cff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.is-open .faq-a {
  max-height: 300px;
}
.faq-a p {
  padding: 0 4px 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

/* ---------- 复制按钮(在 help 弹窗中) ---------- */
.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  border: none;
  cursor: pointer;
}
.btn-copy:hover {
  background: rgba(120, 180, 255, 0.2);
  color: #fff;
}
.btn-copy.is-copied {
  background: rgba(120, 220, 160, 0.2);
  color: #b0f0c8;
}
.help-list li { flex-wrap: wrap; }
.help-list .help-value {
  display: inline-flex;
  align-items: center;
}

/* ---------- 邮箱申请方式（替换原 3 步表单） ---------- */
.apply-info { padding: 50px 50px 40px; }

.email-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 28px;
  margin-bottom: 36px;
  background: linear-gradient(120deg, rgba(79, 124, 255, 0.08) 0%, rgba(110, 92, 255, 0.08) 100%);
  border: 1px solid rgba(120, 180, 255, 0.18);
  border-radius: 12px;
}
.email-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.email-value {
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.25s;
  word-break: break-all;
}
.email-value:hover { color: rgba(120, 180, 255, 0.95); }
.email-block .btn-copy {
  width: 32px;
  height: 32px;
  font-size: 15px;
  margin-left: 0;
}

.material-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.material-list li {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s;
}
.material-list li:hover {
  border-color: rgba(120, 180, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.m-num {
  flex-shrink: 0;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(120, 180, 255, 0.7);
  padding-top: 2px;
}
.m-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 1px;
}
.m-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin: 0;
}

.form-actions-center { justify-content: center; }

.apply-foot {
  text-align: center;
  margin: 0 0 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}
.foot-email {
  font-family: "SF Mono", "Consolas", monospace;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed rgba(120, 180, 255, 0.4);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.foot-email:hover {
  color: rgba(120, 180, 255, 0.95);
  border-bottom-color: rgba(120, 180, 255, 0.9);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }

  .apply-form { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .form-progress { gap: 0; }
  .fp-label { font-size: 11px; }
  .fp-line { margin: 0 4px 24px; }

  .join-section { padding: 70px 0; }
  .form-actions { flex-direction: column-reverse; gap: 12px; }
  .form-actions .btn-ghost,
  .form-actions .btn-primary { width: 100%; justify-content: center; }
}
