/* ============================================================
   FutureU — pathway.css
   My Journey comparison tool — rewritten
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.pathway-hero {
  padding: 56px 24px 40px;
  text-align: center;
  border-bottom: 0.5px solid var(--border-subtle);
}

.pathway-hero-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 16px 0 12px;
  letter-spacing: -0.5px;
}

.pathway-hero-title span { color: var(--brand); }

.pathway-hero-sub {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Locked state ───────────────────────────────────────────── */
.pathway-locked {
  max-width: 480px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.pathway-locked-icon { font-size: 48px; margin-bottom: 20px; }

.pathway-locked-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pathway-locked-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.pathway-locked-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pathway-locked-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
}

.pathway-lock-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.pathway-lock-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pathway-lock-dot-empty {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-mid);
}

.pathway-lock-dot-done {
  background: var(--brand-light);
  border: 1.5px solid var(--brand);
}

.pathway-lock-dot-done::after {
  content: '';
  display: block;
  width: 4px;
  height: 7px;
  border: 1.5px solid var(--brand-dark);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ── Main content ───────────────────────────────────────────── */
.journey-main {
  max-width: 900px;
  margin: 0 auto;
}

.journey-section { padding: 40px 24px 0; }
.journey-section-inner { max-width: 100%; }

.journey-divider {
  border: none;
  border-top: 0.5px solid var(--border-subtle);
  margin: 40px 24px;
}

/* ── Section eyebrow ────────────────────────────────────────── */
.journey-eyebrow { margin-bottom: 8px; }

.journey-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.journey-eyebrow-green { background: #E1F5EE; color: #0F6E56; }
.journey-eyebrow-blue  { background: #E6F1FB; color: #0C447C; }

.journey-eyebrow-sub {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── Picker ─────────────────────────────────────────────────── */
.journey-picker-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.journey-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.journey-pick-card {
  background: var(--bg-primary);
  border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 11px 13px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  transition: border-color 0.15s, background 0.15s;
}

.journey-pick-card:hover {
  border-color: var(--border-strong);
}

.journey-pick-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-pick-icon-green { background: #E1F5EE; }
.journey-pick-icon-blue  { background: #E6F1FB; }

.journey-pick-meta { flex: 1; min-width: 0; }

.journey-pick-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.journey-pick-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.journey-pick-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-mid);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  transition: background 0.15s, border-color 0.15s;
}

/* ── Compare button ─────────────────────────────────────────── */
.journey-compare-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  margin-bottom: 28px;
  transition: opacity 0.15s;
}

.journey-compare-btn:hover { opacity: 0.88; }
.journey-compare-btn-green { background: #1D9E75; color: white; }
.journey-compare-btn-blue  { background: #185FA5; color: white; }

/* ── Compare grid ───────────────────────────────────────────── */
.journey-compare-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

/* ── Path card ──────────────────────────────────────────────── */
.journey-path-card {
  background: var(--bg-primary);
  border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
}

/* ── Crown badge ────────────────────────────────────────────── */
.journey-crown {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #EF9F27;
  color: #412402;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ── Path header ────────────────────────────────────────────── */
.journey-path-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border-subtle);
}

.journey-path-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-path-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.journey-path-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.journey-path-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Earnings box ───────────────────────────────────────────── */
.journey-earnings-box {
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 13px;
}

.journey-earnings-label {
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 3px;
}

.journey-earnings-amount {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 2px;
}

.journey-earnings-sub { font-size: 10px; line-height: 1.4; }

/* ── Salary bars ────────────────────────────────────────────── */
.journey-salary-section { margin-bottom: 13px; }

.journey-salary-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.journey-salary-bars { display: flex; flex-direction: column; gap: 7px; }

.journey-salary-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.journey-salary-name {
  font-size: 10px;
  color: var(--text-secondary);
  width: 42px;
  flex-shrink: 0;
}

.journey-salary-track {
  flex: 1;
  height: 7px;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.journey-salary-fill {
  height: 7px;
  border-radius: var(--radius-pill);
  transition: width 0.8s cubic-bezier(.4,0,.2,1);
}

.journey-salary-val {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-primary);
  width: 38px;
  text-align: right;
  flex-shrink: 0;
}

/* ── Stats row ──────────────────────────────────────────────── */
.journey-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 14px;
}

.journey-stat-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 9px 11px;
}

.journey-stat-label {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.journey-stat-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── Timeline ───────────────────────────────────────────────── */
.journey-timeline { display: flex; flex-direction: column; }

.journey-tl-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.journey-tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  flex-shrink: 0;
}

.journey-tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-tl-line {
  width: 1.5px;
  flex: 1;
  min-height: 14px;
  background: var(--border-subtle);
  margin: 3px 0;
}

.journey-tl-content {
  padding-bottom: 12px;
  flex: 1;
}

.journey-tl-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.35;
}

.journey-tl-meta {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.journey-tl-chip {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  margin-top: 3px;
}

/* ── Bottom CTA ─────────────────────────────────────────────── */
.pathway-cta {
  padding: 48px 24px;
  text-align: center;
  border-top: 0.5px solid var(--border-subtle);
  margin-top: 40px;
}

.pathway-cta-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pathway-cta-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Gradient border badge ──────────────────────────────────── */
.journey-badge-wrap {
  display: inline-flex;
  padding: 1.5px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #1D9E75, #185FA5);
  margin-bottom: 20px;
}

.journey-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-primary);
}

.journey-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(90deg, #1D9E75, #185FA5);
  flex-shrink: 0;
}

.journey-badge-text {
  background: linear-gradient(90deg, #1D9E75, #185FA5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .pathway-hero-title { font-size: 24px; }
  .journey-compare-grid { grid-template-columns: 1fr !important; }
  .journey-section { padding: 28px 16px 0; }
  .journey-divider { margin: 28px 16px; }
  .journey-picker-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .journey-picker-grid { grid-template-columns: 1fr; }
  .journey-stats-row { grid-template-columns: 1fr 1fr; }
  .journey-tl-title { font-size: 13px; }
  .journey-tl-content { padding-bottom: 16px; }
  .journey-path-card { padding: 14px 16px; }
  .pathway-cta { padding: 32px 20px; }
  .pathway-hero-title { font-size: 22px; }
  .journey-compare-btn { width: 100%; justify-content: center; }

  /* ── Salary labels ─── */
  .journey-salary-name { width: 36px; font-size: 9px; }
  .journey-salary-val { width: 34px; font-size: 9px; }

  /* ── Pick cards ─── */
  .journey-pick-card { padding: 10px 12px; min-height: 44px; }

  /* ── Compare section ─── */
  .journey-compare-grid { gap: 10px; }
}
/* ── Pro theme (Gen Z) overrides for pathway cards ──────────── */
/* Fixes black text on dark background when Gen Z theme is active */
body.genz-active .journey-path-card,
body.genz-active .journey-pick-card {
  background: #1C1C2A !important;
  border-color: rgba(255,255,255,0.12) !important;
}

body.genz-active .journey-path-title,
body.genz-active .journey-pick-name,
body.genz-active .journey-tl-title,
body.genz-active .journey-stat-val,
body.genz-active .journey-earnings-amount,
body.genz-active .journey-salary-val,
body.genz-active .journey-stat-label,
body.genz-active .journey-salary-label,
body.genz-active .journey-salary-name {
  color: #F0EFF8 !important;
}

body.genz-active .journey-path-sub,
body.genz-active .journey-pick-sub,
body.genz-active .journey-tl-meta,
body.genz-active .journey-eyebrow-sub,
body.genz-active .journey-picker-label,
body.genz-active .journey-earnings-sub {
  color: rgba(240,239,248,0.6) !important;
}

body.genz-active .journey-stat-box {
  background: #222232 !important;
}

body.genz-active .journey-salary-track {
  background: rgba(255,255,255,0.08) !important;
}

body.genz-active .journey-tl-line {
  background: rgba(255,255,255,0.1) !important;
}

body.genz-active .journey-path-header {
  border-bottom-color: rgba(255,255,255,0.08) !important;
}

body.genz-active .journey-crown {
  background: #EF9F27 !important;
  color: #412402 !important;
}