/* ═══════════════════════════════════
   ONBOARDING OVERLAY
   ═══════════════════════════════════ */

#onboarding-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FAF8F5;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Progress */
.ob-progress {
  padding: 32px 80px 0;
  flex-shrink: 0;
}
.ob-progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ob-step-label, .ob-pct {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #8A8580;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ob-pct { color: #C4653A; font-weight: 600; }
.ob-progress-track {
  height: 4px;
  background: #E8E4DF;
  border-radius: 2px;
  overflow: hidden;
}
.ob-progress-fill {
  height: 100%;
  background: #C4653A;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Tab navigation indicator (inside content area) */
.ob-tab-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 8px;
}
.ob-tab-nav-img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.ob-tab-nav-pointer {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #8A8580;
}
.ob-tab-nav-pointer strong {
  color: #C4653A;
  font-weight: 600;
}

/* Navbar hero image on welcome slide */
.ob-navbar-hero {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 2px solid #3D3833;
  margin: 8px 0;
}

/* Content area */
.ob-content {
  flex: 1;
  display: flex;
  padding: 32px 80px 0;
  gap: 60px;
  min-height: 0;
}

/* Center layout (welcome, tips, launch) */
.ob-layout-center, .ob-layout-launch {
  justify-content: center;
  align-items: center;
}
.ob-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  text-align: center;
}
.ob-badge {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #C4653A;
  padding: 8px 20px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.ob-title-large {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  font-weight: 400;
  color: #1C1917;
  line-height: 56px;
  margin: 0;
}
.ob-body-center {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #6B6560;
  line-height: 28px;
  margin: 0;
}
.ob-footer-note {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #A09A95;
  margin-top: 12px;
}
.ob-jj-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ob-jj-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Big JJ intro (Meet JJ slide, not circular) */
.ob-jj-intro {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin: auto;
}
.ob-jj-intro img {
  width: 100%;
  height: auto;
  display: block;
}

/* Callout text (highlighted lines) */
.ob-callout {
  color: #C4653A;
  font-weight: 500;
}

/* Two-column layouts */
.ob-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.ob-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.ob-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #C4653A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ob-title {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  font-weight: 400;
  color: #1C1917;
  line-height: 46px;
  margin: 0;
}
.ob-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #6B6560;
  line-height: 25px;
  margin: 0;
}
.ob-extra {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #C4653A;
  line-height: 22px;
  margin: 0;
  padding: 12px 16px;
  background: rgba(196, 101, 58, 0.06);
  border-radius: 8px;
  border-left: 3px solid #C4653A;
}
.ob-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.ob-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ob-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C4653A;
  flex-shrink: 0;
}
.ob-bullet span {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #3D3833;
}
.ob-preview-note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #A09A95;
  padding-top: 12px;
  border-top: 1px solid #E8E4DF;
  margin-top: 4px;
}

/* Image card */
.ob-image-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}
.ob-image-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  border: 2px solid #3D3833;
}
.ob-preview-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #A09A95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
}

/* Image-below layout (full-width image under text) */
.ob-layout-image-below {
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
.ob-layout-image-below .ob-left {
  flex: none;
}
.ob-layout-image-below .ob-image-full {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.ob-layout-image-below .ob-image-full img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  border: 2px solid #3D3833;
}

/* Cards layout (tips) */
.ob-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ob-card strong {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1C1917;
  display: block;
  margin-bottom: 8px;
}
.ob-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #6B6560;
  line-height: 21px;
  margin: 0;
}

/* Navigation */
.ob-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 80px 40px;
  flex-shrink: 0;
}
.ob-btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #E8E4DF;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6B6560;
  cursor: pointer;
  transition: background 0.15s;
}
.ob-btn-back:hover { background: #f0ede9; }
.ob-btn-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  background: #C4653A;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}
.ob-btn-next:hover { background: #a8522e; }
.ob-btn-launch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  background: #1C1917;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}
.ob-btn-launch:hover { background: #333; }

/* Dots */
.ob-dots {
  display: flex;
  gap: 6px;
}
.ob-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8E4DF;
}
.ob-dot.active {
  background: #C4653A;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .ob-progress { padding: 20px 24px 0; }
  .ob-tab-nav { padding: 8px 12px; }
  .ob-navbar-hero { max-width: 100%; }
  .ob-content {
    flex-direction: column;
    padding: 24px 24px 0;
    gap: 24px;
    overflow-y: auto;
  }
  .ob-nav {
    padding: 20px 16px 32px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .ob-btn-next, .ob-btn-launch {
    min-width: 120px;
    min-height: 48px;
    font-size: 16px;
    padding: 14px 24px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .ob-btn-back {
    min-height: 48px;
    font-size: 16px;
    padding: 14px 20px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .ob-title-large { font-size: 32px; line-height: 40px; }
  .ob-title { font-size: 28px; line-height: 36px; }
  .ob-dots { display: none; }
  .ob-jj-intro { max-width: 200px; }
}
