/* =============================================
   BaanPro — Join Page Styles (join.html)
   ============================================= */

/* ---------- Header override for join page ---------- */
.join-page .header,
.header-solid {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(27,111,216,.1);
}
.logo-img-dark {
  mix-blend-mode: normal !important;
  filter: none !important;
}
.join-page .nav-link {
  color: var(--text-sub) !important;
}
.join-page .nav-link:hover {
  color: var(--primary) !important;
  background: rgba(27,111,216,.06) !important;
}
.join-page .nav-cta {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.join-page .hamburger span {
  background: var(--text) !important;
}
.nav-cta-active {
  opacity: .85;
}

/* ---------- Join Hero Banner ---------- */
.join-hero {
  position: relative;
  background: linear-gradient(135deg, #0D3B8E 0%, #1B6FD8 60%, #3A9AF5 100%);
  padding: 100px 0 56px;
  overflow: hidden;
}
.join-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 50%, rgba(255,255,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 5% 90%, rgba(255,255,255,.04) 0%, transparent 60%);
}
.join-hero-content {
  position: relative;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color .2s;
}
.back-link:hover { color: #fff; }

.join-hero-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.join-hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
}

/* Steps */
.join-hero-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
}
.step.active .step-num {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.step span {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  white-space: nowrap;
}
.step.active span { color: #fff; font-weight: 700; }
.step-line {
  flex: 1;
  min-width: 40px;
  max-width: 80px;
  height: 1px;
  background: rgba(255,255,255,.25);
  margin: 0 16px;
}

/* ---------- Main Layout ---------- */
.join-main {
  background: #F5F8FF;
  padding: 52px 0 80px;
  min-height: 60vh;
}
.join-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* ---------- Aside ---------- */
.join-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}
.aside-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.aside-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border);
}
.aside-tips { display: flex; flex-direction: column; gap: 16px; }
.aside-tips li { display: flex; align-items: flex-start; gap: 12px; }
.tip-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.aside-tips strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.aside-tips span { font-size: 12px; color: var(--text-sub); line-height: 1.6; }

.aside-guarantee { background: linear-gradient(135deg, #EFF6FF, #F0F7FF); }
.guarantee-items { display: flex; flex-direction: column; gap: 14px; }
.g-item { display: flex; align-items: center; gap: 12px; }
.g-item-icon { font-size: 22px; }
.g-item strong { display: block; font-size: 13px; color: var(--navy); font-weight: 700; }
.g-item span { font-size: 12px; color: var(--text-sub); }

/* ---------- Form Container ---------- */
.join-form-container {}
.join-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}
.form-section-title { margin-bottom: 28px; }
.form-step-badge {
  display: inline-block;
  background: rgba(27,111,216,.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
}

/* ---------- Modal override ---------- */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-ghost {
  background: none;
  color: var(--text-sub);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .join-layout { grid-template-columns: 1fr; }
  .join-aside { position: static; }
}
@media (max-width: 600px) {
  .join-form-wrap { padding: 28px 20px; }
  .join-hero-steps { flex-wrap: wrap; gap: 8px; }
  .step-line { min-width: 20px; }
}
