/* ============================================================
   Talkiva — css/pages/careers.css
   Become a Listener (Partner Program page)
   Dark-mode glassmorphism; #benefits is the light lane.
   ============================================================ */

/* ---- Section rhythm & content width ---- */
.section-light { color: var(--text-on-light); }
.section-light .lead { color: rgba(42, 1, 5, 0.72); }
.section-light .eyebrow { color: #c21f45; }
.section .container { max-width: 1080px; }

/* ---- Hero spacing (push content below the fixed navbar) ---- */
#careers-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  text-align: center;
}
#careers-hero .h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 720px;
  margin: 0 auto;
}
#careers-hero .lead {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 1.12rem;
}

/* ---- Hero CTA ---- */
.career-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.career-cta .btn { font-size: 1.05rem; padding: 16px 40px; box-shadow: 0 16px 44px rgba(239, 27, 67, 0.35); }
.career-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.career-cta-note i { color: var(--gold); }

/* ---- Hero stats row ---- */
.career-stats {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.career-stat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.career-stat i { color: var(--gold); font-size: 1.05rem; }

/* ============================================================
   1. BENEFITS GRID (#benefits — light lane)
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}

/* Tablets: 2 columns */
@media (max-width: 991px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .benefit-grid { grid-template-columns: 1fr; }
}
.benefit-card {
  background: #ffffff;
  border: 1px solid rgba(26, 3, 7, 0.08);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 14px 40px rgba(26, 3, 7, 0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(239, 27, 67, 0.16);
  border-color: rgba(239, 27, 67, 0.3);
}
.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  box-shadow: 0 10px 24px rgba(239, 27, 67, 0.3);
  margin-bottom: 20px;
}
.benefit-card .h3 { color: var(--text-on-light); font-size: 1.12rem; }
.benefit-card p { color: rgba(42, 1, 5, 0.66); font-size: 0.94rem; margin-top: 10px; line-height: 1.6; }

/* ============================================================
   2. EMPATHY (#empathy — dark lane)
   ============================================================ */
.empathy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.empathy-item {
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s var(--ease-out);
}
.empathy-item:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 27, 67, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.empathy-item > i {
  font-size: 1.4rem;
  color: var(--cyan);
  margin-bottom: 16px;
  display: inline-block;
}
.empathy-item:nth-child(2) > i { color: var(--gold); }
.empathy-item:nth-child(3) > i { color: var(--primary-soft); }
.empathy-item .h3 { font-size: 1.05rem; }
.empathy-item p { color: rgba(255, 255, 255, 0.6); font-size: 0.94rem; margin-top: 10px; line-height: 1.6; }

.empathy-quote {
  position: relative;
  max-width: 760px;
  margin: 64px auto 0;
  padding: 40px 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(239, 27, 67, 0.14), rgba(239, 164, 27, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.empathy-quote > i {
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.8;
}
.empathy-quote p {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
/* ============================================================
   3. SUCCESS STORIES (#testimonials — dark lane)
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s var(--ease-out);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 27, 67, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--gold);
}
.testimonial-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.7;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.ta-1 { background: linear-gradient(135deg, var(--primary), #ff6b81); }
.ta-2 { background: linear-gradient(135deg, var(--gold), #ffd26b); }
.ta-3 { background: linear-gradient(135deg, var(--cyan), #7be6f0); }
.testimonial-author strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: #fff;
}
.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   4. HOW TO JOIN TIMELINE (#timeline — dark lane)
   Modern LEFT-ALIGNED vertical timeline:
   one straight line, number bubbles centred on the line,
   cards stacked neatly to the right. Identical at all widths.
   ============================================================ */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 8px auto 0;
  padding: 16px 0;
}
/* the straight vertical line — 54px dots, centre at left 27px */
.timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 27px;
  width: 2px;
  transform: translateX(-50%);
  background: var(--glass-border);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  width: 100%;
  padding: 20px 0 20px 96px;   /* cards sit to the right of the line */
}
.timeline-item + .timeline-item { margin-top: 8px; }
/* number bubbles — perfectly centred on the line */
.timeline-dot {
  position: absolute;
  left: 27px;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  box-shadow: 0 0 0 6px var(--bg-dark), 0 10px 24px rgba(0, 0, 0, 0.4);
}
/* subtle per-step accent variation on the bubbles */
.timeline-item:nth-child(2) .timeline-dot { background: linear-gradient(135deg, var(--gold), var(--cyan)); }
.timeline-item:nth-child(3) .timeline-dot { background: linear-gradient(135deg, var(--cyan), var(--primary-soft)); }
.timeline-item:nth-child(4) .timeline-dot { background: linear-gradient(135deg, var(--primary-soft), var(--gold)); }

.timeline-card {
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s var(--ease-out);
}
.timeline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 27, 67, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.timeline-card .h3 { font-size: 1.08rem; }
.timeline-card p { color: rgba(255, 255, 255, 0.62); font-size: 0.94rem; margin-top: 10px; line-height: 1.6; }
.timeline-card .link-arrow { margin-top: 14px; }

/* ---- Timeline on small screens: same left-aligned layout, tighter ---- */
@media (max-width: 600px) {
  .timeline::before { left: 21px; }
  .timeline-item { padding: 14px 0 14px 74px; }
  .timeline-dot {
    left: 21px;
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
  }
}

/* ---- Hero / grids on small screens ---- */
@media (max-width: 680px) {
  #careers-hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px; }
  .career-cta .btn { width: 100%; max-width: 340px; justify-content: center; }
  .career-stats { gap: 10px; }
  .career-stat { padding: 12px 18px; font-size: 0.85rem; }
  .benefit-grid,
  .testimonial-grid,
  .empathy-grid { grid-template-columns: 1fr; }
  .empathy-quote { padding: 32px 24px; margin-top: 48px; }
  .empathy-quote p { font-size: 1.02rem; }
}

