

/* ============================================================
   join 专有：加盟入驻页
   ============================================================ */

:root {
    --white: #ffffff;
    --text: #2c2c2c;
    --text-light: #666;
    --border: #e5e5e5;
    --success: #10b981;
    --join-bg: #f5f8fc;
}

/* ============ 顶部 Hero（蓝渐变 banner） ============ */
.join-hero {
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  padding: 44px 0 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.join-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
}
.join-hero::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
}
.join-hero__tag {
  display: inline-block;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--portal-blue);
  background: #fff;
  border-radius: 20px;
  margin-bottom: 14px;
  position: relative;
  letter-spacing: 1px;
}
.join-hero__title {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 1.5px;
  position: relative;
}
.join-hero__subtitle {
  font-size: 14px;
  margin: 0 0 28px;
  opacity: .92;
  position: relative;
}
.join-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 40px;
  padding: 14px 32px;
  position: relative;
}
.join-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.join-hero__stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.join-hero__stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
  margin-top: 2px;
}
.join-hero__stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, .3);
}

/* ============ 主体两栏：优势 + 流程 ============ */
.join-main {
  background: var(--join-bg);
  padding: 36px 0 48px;
}

.join-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.join-section__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 6px;
  position: relative;
  padding-left: 12px;
}
.join-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
}
.join-section__subtitle {
  font-size: 13px;
  color: var(--portal-text-light);
  margin: 0 0 20px;
  padding-left: 12px;
}

/* ---------- 左侧：4 大优势 ---------- */
.join-advantages {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.join-advantages__list {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.join-advantage {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--join-bg);
  border-radius: 10px;
  transition: all .25s ease;
  border: 1px solid transparent;
  min-height: 0;
}
.join-advantage:hover {
  background: #fff;
  border-color: var(--portal-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(30, 109, 216, .12);
}
.join-advantage__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(30, 109, 216, .25);
}
.join-advantage__icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}
.join-advantage__body {
  flex: 1;
  min-width: 0;
}
.join-advantage__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 4px;
}
.join-advantage__desc {
  font-size: 12px;
  color: var(--portal-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ---------- 右侧：3 步流程 ---------- */
.join-process {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.join-process__list {
  flex: 1;
}
.join-process__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}
.join-process__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 109, 216, .3);
  position: relative;
  z-index: 1;
}
.join-process__body {
  flex: 1;
  padding-top: 2px;
}
.join-process__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 4px;
}
.join-process__desc {
  font-size: 12px;
  color: var(--portal-text-light);
  line-height: 1.6;
  margin: 0 0 4px;
}
.join-process__time {
  display: inline-block;
  font-size: 11px;
  color: var(--portal-blue);
  background: #e8f1fc;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.join-process__line {
  width: 2px;
  height: 22px;
  background: var(--portal-border);
  margin: 6px 0 6px 21px;
}
.join-process__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  border-radius: 10px;
  color: #fff;
}
.join-process__cta svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  flex-shrink: 0;
}
.join-process__cta-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.join-process__cta-label {
  font-size: 11px;
  opacity: .9;
}
.join-process__cta-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .5px;
}

/* ============ 入驻表单 ============ */
.join-form-section {
  margin-top: 32px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30, 109, 216, .04);
}
.form-card__head {
  padding: 22px 28px 18px;
  background: linear-gradient(to right, rgba(30, 109, 216, .04), transparent);
  border-bottom: 1px solid var(--portal-border);
}
.form-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 4px;
  position: relative;
  padding-left: 12px;
}
.form-card__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
}
.form-card__tip {
  font-size: 13px;
  color: var(--portal-text-light);
  margin: 0;
  padding-left: 12px;
}
.form-card__tip .required {
  color: #ef4444;
  margin-right: 2px;
}

.join-form {
  padding: 24px 28px 32px;
}

/* 区块标题 */
.join-form__block {
  margin-bottom: 28px;
}
.join-form__block:last-of-type {
  margin-bottom: 0;
}
.join-form__block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--portal-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--portal-border);
}
.join-form__block-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- 表单元素 ---------- */
.form-group {
  margin-bottom: 16px;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--portal-text);
}
.form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--portal-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--portal-text);
  background: #fff;
  outline: none;
  transition: all .2s ease;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}
.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus),
.form-group textarea:hover:not(:focus) {
  border-color: var(--portal-blue-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--portal-blue);
  box-shadow: 0 0 0 3px rgba(30, 109, 216, .12);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row.upload-row {
  gap: 14px;
}

/* ---------- 单选按钮 ---------- */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--portal-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}
.radio-item:hover {
  border-color: var(--portal-blue);
  background: #f0f6fd;
}
.radio-item.checked {
  border-color: var(--portal-blue);
  background: #f0f6fd;
  box-shadow: 0 0 0 3px rgba(30, 109, 216, .1);
}
.radio-item input {
  display: none;
}
.radio-custom {
  width: 16px;
  height: 16px;
  border: 2px solid var(--portal-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
  background: #fff;
}
.radio-item.checked .radio-custom {
  border-color: var(--portal-blue);
  background: var(--portal-blue);
}
.radio-custom::after {
  content: '';
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s ease;
}
.radio-item.checked .radio-custom::after {
  opacity: 1;
}
.radio-label {
  font-size: 13px;
  color: var(--portal-text);
  font-weight: 500;
}

/* ---------- 上传区域 ---------- */
.upload-box {
  border: 2px dashed var(--portal-border);
  padding: 22px 16px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  background: #fafafa;
  transition: all .2s ease;
  position: relative;
}
.upload-box:hover {
  border-color: var(--portal-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 109, 216, .08);
}
.upload-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  background: rgba(30, 109, 216, .08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--portal-blue);
}
.upload-text {
  font-size: 13px;
  color: var(--portal-text);
  margin: 0;
  font-weight: 500;
}
.upload-text span {
  color: var(--portal-blue);
  font-weight: 600;
}
.upload-hint {
  font-size: 11px;
  color: #94a3b8;
  margin: 4px 0 0;
}

/* ---------- 提交区 ---------- */
.submit-area {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px dashed var(--portal-border);
  text-align: center;
}
.agree-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--portal-text-light);
  margin-bottom: 18px;
  user-select: none;
}
.agree-check input {
  display: none;
}
.agree-check__box {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--portal-border);
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: all .2s ease;
  flex-shrink: 0;
}
.agree-check.checked .agree-check__box {
  background: var(--portal-blue);
  border-color: var(--portal-blue);
}
.agree-check.checked .agree-check__box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.agree-check__text a {
  color: var(--portal-blue);
  text-decoration: none;
  font-weight: 500;
}
.agree-check__text a:hover {
  text-decoration: underline;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 56px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 109, 216, .32);
  transition: all .25s ease;
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 109, 216, .42);
}
.btn-submit:active {
  transform: translateY(0);
}
.btn-submit svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}
.submit-tips {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--portal-text-light);
  margin: 12px 0 0;
}
.submit-tips svg {
  width: 13px;
  height: 13px;
  stroke: var(--portal-text-light);
}

/* ========== 成功提示 ========== */
.success-msg {
  display: none;
  padding: 60px 0;
  background: var(--join-bg);
}
.success-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(30, 109, 216, .08);
}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(16, 185, 129, .3);
}
.success-icon svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 2.5;
}
.success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 10px;
}
.success-text {
  font-size: 14px;
  color: var(--portal-text-light);
  line-height: 1.7;
  margin: 0 0 24px;
}
.success-back {
  display: inline-block;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  border-radius: 24px;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 3px 10px rgba(30, 109, 216, .25);
}
.success-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(30, 109, 216, .35);
}

/* ========== 动画 ========== */
.join-advantages,
.join-process,
.form-card {
  animation: fadeInUp .4s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
  .join-hero__stat { padding: 0 20px; }
}

@media (max-width: 900px) {
  .join-intro__grid {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
  .upload-row { grid-template-columns: 1fr; }
  .join-advantages__list { grid-template-columns: 1fr; }
  .join-hero__title { font-size: 28px; }
  .join-hero__stats { padding: 12px 20px; }
  .join-hero__stat { padding: 0 16px; }
  .join-hero__stat-num { font-size: 20px; }
}

@media (max-width: 768px) {
  .join-main { padding: 24px 0 36px; }
  .join-advantages, .join-process { padding: 18px; }
  .join-form-section { margin-top: 24px; }
  .form-card__head { padding: 18px 20px 14px; }
  .join-form { padding: 18px 20px 24px; }
  .join-hero { padding: 32px 0 40px; }
  .join-hero__title { font-size: 24px; letter-spacing: 1px; }
  .join-hero__subtitle { font-size: 13px; margin-bottom: 20px; }
  .join-hero__stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
    border-radius: 14px;
    padding: 10px 16px;
  }
  .join-hero__stat { padding: 6px 14px; }
  .join-hero__stat-num { font-size: 18px; }
  .join-hero__stat-label { font-size: 11px; }
  .join-hero__stat-divider { display: none; }
  .btn-submit { width: 100%; padding: 12px 24px; }
  .radio-group { gap: 8px; }
  .radio-item { padding: 7px 12px; }
  .radio-label { font-size: 12px; }
  .join-section__title { font-size: 18px; }
}

@media (max-width: 480px) {
  .join-advantages, .join-process { padding: 14px; }
  .form-card__head { padding: 14px 16px 12px; }
  .join-form { padding: 14px 16px 20px; }
  .join-form__block { margin-bottom: 22px; }
  .join-form__block-title { font-size: 14px; }
  .join-hero { padding: 24px 0 32px; }
  .join-hero__title { font-size: 22px; }
  .join-process__num { width: 38px; height: 38px; font-size: 16px; }
  .join-process__line { margin: 4px 0 4px 18px; height: 18px; }
  .success-card { padding: 36px 24px; }
  .success-title { font-size: 20px; }
}

.join-form__submit { display:flex; justify-content:center; padding:18px 0 4px; }
.join-form__submit a { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 28px; border-radius:3px; background:var(--portal-blue); color:#fff; font-size:15px; font-weight:700; text-decoration:none; }
.join-form__submit a:hover { background:var(--portal-blue-dark); color:#fff; }
