/* assets/css/pages/careers.css - Scoped Redesign for Careers Page */

/* ==================== 1. Container & Global Spacing ==================== */
body.page-careers main .container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 32px;
  box-sizing: border-box;
  width: 100%;
}

.page-careers .section {
  padding-block: 88px;
  box-sizing: border-box;
  position: relative;
}

/* Alternating Section Backgrounds with 1px Accent Divider */
body.page-careers main > section.page-hero,
.page-careers .page-hero {
  display: block !important;
  background: #080912;
  padding-top: 156px !important;
  padding-bottom: 72px !important;
  position: relative;
  overflow: hidden;
  width: 100% !important;
}

.page-careers #highlights {
  background: #0E0F1F;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-careers #values {
  background: #080912;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-careers #roles {
  background: #0E0F1F;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-careers #pathway {
  background: #080912;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-careers #tech-stack {
  background: #0E0F1F;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-careers #journey {
  background: #080912;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-careers #cta {
  background: #0E0F1F;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
  margin-bottom: 0;
}

/* ==================== 2. Section Header Block Everywhere ==================== */
.page-careers .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.page-careers .section-header .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--lavender, #B3A8FF);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-careers .section-header h2 {
  margin: 0 0 16px 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  text-wrap: balance;
  color: #FFFFFF;
  font-weight: 700;
}

.page-careers .section-header .section-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #C5C7DE;
  max-width: 640px;
  margin-inline: auto;
  text-wrap: balance;
}

/* ==================== 3. Section 1 – Hero ==================== */
.page-careers .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-careers .ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(48px, 9vw, 110px);
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  font-family: var(--font-display, sans-serif);
  max-width: 90%;
  text-align: center;
}

.page-careers .hero-content {
  position: relative;
  z-index: 1;
}

.page-careers .hero-content .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--lavender, #B3A8FF);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-careers .hero-content h1 {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  text-wrap: balance;
  color: #FFFFFF;
}

.page-careers .hero-content h1 em {
  font-style: italic;
  font-weight: 700;
  color: #FFFFFF;
}

.page-careers .hero-lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: #C5C7DE;
  max-width: 520px;
  margin: 0 0 32px 0;
}

.page-careers .hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* Robot 3D Model: Masked & Floating */
.page-careers .hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.page-careers .hero-robot-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.page-careers .hero-robot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(101, 82, 217, 0.28) 0%, rgba(101, 82, 217, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.page-careers .hero-robot-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  animation: robotFloat 6s ease-in-out infinite;
  mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 52%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 52%, transparent 95%);
}

.page-careers .hero-robot-frame video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  cursor: default;
  pointer-events: none;
}

@keyframes robotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==================== 4. Section 2 – Four Highlight Cards ==================== */
.page-careers .highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.page-careers .highlight-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: #080915;
  border: 1px solid rgba(101, 82, 217, 0.2);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.page-careers .highlight-card:hover,
.page-careers .highlight-card:focus-within {
  background: linear-gradient(135deg, rgba(101, 82, 217, 0.25), rgba(20, 16, 42, 0.6));
  border-color: rgba(179, 168, 255, 0.4);
  box-shadow: 0 0 25px rgba(101, 82, 217, 0.2);
}

.page-careers .highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(101, 82, 217, 0.12);
  border: 1px solid rgba(179, 168, 255, 0.25);
  color: #B3A8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.page-careers .highlight-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.page-careers .highlight-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #C5C7DE;
  margin: 0;
}

/* ==================== 5. Section 3 – Guiding Values (3x2 Grid) ==================== */
.page-careers .values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-careers .value-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: #080915;
  border: 1px solid rgba(101, 82, 217, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-careers .value-card:hover {
  border-color: rgba(179, 168, 255, 0.45);
  box-shadow: 0 0 25px rgba(101, 82, 217, 0.25);
  background: #0C0D20;
}

.page-careers .card-pill {
  font-size: 11px;
  font-weight: 700;
  color: #B3A8FF;
  letter-spacing: 0.1em;
  background: rgba(101, 82, 217, 0.2);
  border: 1px solid rgba(179, 168, 255, 0.25);
  padding: 2px 9px;
  border-radius: 9999px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
}

.page-careers .value-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.page-careers .value-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #C5C7DE;
  margin: 0;
}

/* ==================== 6. Section 4 – Open Opportunities ==================== */
.page-careers .roles-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-careers .job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: #080915;
  border: 1px solid rgba(101, 82, 217, 0.2);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.page-careers .job-card:hover {
  border-color: rgba(179, 168, 255, 0.4);
  background: rgba(101, 82, 217, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-careers .job-main {
  flex: 1;
}

.page-careers .job-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.page-careers .job-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.page-careers .meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #B3A8FF;
  background: rgba(101, 82, 217, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

.page-careers .meta-chip svg {
  color: var(--lavender, #B3A8FF);
}

.page-careers .job-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #C5C7DE;
  max-width: 640px;
  margin: 0;
}

.page-careers .job-btn {
  margin-left: 28px;
  flex-shrink: 0;
  align-self: center;
}

.page-careers .spontaneous-card {
  text-align: center;
  padding: 44px 32px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(20, 21, 38, 0.8), rgba(11, 12, 26, 0.9));
  border: 1px solid rgba(101, 82, 217, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  margin-top: 12px;
}

.page-careers .spontaneous-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 12px 0;
}

.page-careers .spontaneous-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #C5C7DE;
  max-width: 520px;
  margin: 0 auto 24px auto;
}

.page-careers .btn--resume {
  display: inline-flex;
  width: auto;
  min-width: 180px;
  box-shadow: 0 0 25px rgba(101, 82, 217, 0.3);
}

/* ==================== 7. Section 5 – Grow With Us (Vertical Timeline) ==================== */
.page-careers .timeline-v-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 56px;
  box-sizing: border-box;
}

.page-careers .timeline-v-track {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 2px;
  background: rgba(101, 82, 217, 0.2);
  overflow: hidden;
  z-index: 1;
}

.page-careers .timeline-v-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #7B68EE, var(--lavender, #B3A8FF));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-careers .timeline-v-container.is-animated .timeline-v-progress {
  transform: scaleY(1);
}

.page-careers .timeline-v-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  margin-bottom: 24px;
}

.page-careers .timeline-v-step:last-child {
  margin-bottom: 0;
}

.page-careers .timeline-v-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: #0B0C1A;
  border: 2px solid rgba(101, 82, 217, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', var(--font-display, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #B3A8FF;
  z-index: 2;
  margin-left: -56px;
  box-shadow: 0 0 12px rgba(101, 82, 217, 0.2);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  flex-shrink: 0;
}

.page-careers .timeline-v-container.is-animated .timeline-v-step .timeline-v-circle {
  border-color: #B3A8FF;
  box-shadow: 0 0 20px rgba(123, 104, 238, 0.65);
  background: #161938;
}

.page-careers .timeline-v-card {
  flex: 1;
  padding: 24px 28px;
  border-radius: 16px;
  background: #080915;
  border: 1px solid rgba(101, 82, 217, 0.2);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-careers .timeline-v-card:hover {
  border-color: rgba(179, 168, 255, 0.4);
  background: rgba(101, 82, 217, 0.05);
}

.page-careers .timeline-v-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.page-careers .timeline-v-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #C5C7DE;
  margin: 0;
}

/* ==================== 8. Section 6 – Technology Ecosystem ==================== */
.page-careers .tech-chips-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-careers .tech-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(14, 15, 31, 0.8);
  border: 1px solid rgba(101, 82, 217, 0.3);
  color: #ECECF6;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: chipShimmer 4s ease-in-out infinite;
  animation-delay: calc(var(--chip-i) * 0.6s);
}

.page-careers .tech-chip:hover {
  background: rgba(101, 82, 217, 0.2);
  border-color: #B3A8FF;
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(101, 82, 217, 0.35);
}

@keyframes chipShimmer {
  0%, 100% { border-color: rgba(101, 82, 217, 0.25); }
  50% { border-color: rgba(179, 168, 255, 0.6); }
}

/* ==================== 9. Section 8 – Final CTA ==================== */
.page-careers .cta-card {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(30, 24, 60, 0.95) 0%, rgba(11, 12, 26, 0.98) 70%);
  border: 1px solid rgba(101, 82, 217, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(101, 82, 217, 0.15);
  box-sizing: border-box;
}

.page-careers .cta-card h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
  margin: 0 0 16px 0;
  color: #FFFFFF;
  text-wrap: balance;
  font-weight: 700;
}

.page-careers .cta-lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: #C5C7DE;
  max-width: 540px;
  margin: 0 auto 28px auto;
  text-wrap: balance;
}

.page-careers .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== 10. Motion & Entrance Effects ==================== */
html.js .page-careers .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

html.js .page-careers .reveal.is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== 11. Responsive Breakpoints ==================== */
@media (max-width: 1024px) {
  .page-careers .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-careers .hero-robot-wrapper {
    max-width: 360px;
  }

  .page-careers .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-careers .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body.page-careers main .container {
    padding: 0 20px;
  }

  .page-careers .section {
    padding-block: 56px;
  }

  body.page-careers main > section.page-hero,
  .page-careers .page-hero {
    padding-top: 156px !important;
    padding-bottom: 56px !important;
  }

  .page-careers .section-header {
    margin-bottom: 36px;
  }

  .page-careers .hero-robot-wrapper {
    max-width: 280px;
    width: 70%;
  }

  .page-careers .highlights-grid {
    grid-template-columns: 1fr;
  }

  .page-careers .values-grid {
    grid-template-columns: 1fr;
  }

  .page-careers .job-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .page-careers .job-btn {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  .page-careers .timeline-v-container {
    padding-left: 44px;
  }

  .page-careers .timeline-v-track {
    left: 21px;
  }

  .page-careers .timeline-v-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 14px;
    margin-left: -44px;
  }

  .page-careers .cta-card {
    padding: 40px 20px;
  }
}

/* ==================== 12. Accessibility: Reduced Motion ==================== */
@media (prefers-reduced-motion: reduce) {
  html.js .page-careers .reveal,
  .page-careers .hero-robot-frame,
  .page-careers .timeline-v-progress,
  .page-careers .tech-chip {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==================== 7. Stepper (Your Journey With AI Samrat) ==================== */
body.page-careers .stepper-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  width: 100%;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

body.page-careers .stepper-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  height: 100%;
}

body.page-careers .stepper-col-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

body.page-careers .stepper-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(101, 82, 217, 0.45);
  background: #0B0C1A;
  box-shadow: 0 0 16px rgba(101, 82, 217, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

body.page-careers .stepper-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid #7B68EE;
  pointer-events: none;
  opacity: 0;
  transform: scale(1);
}

body.page-careers .stepper-num {
  font-family: 'Space Grotesk', var(--font-display, sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--lavender, #B3A8FF);
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 0.3s ease;
}

body.page-careers .stepper-connector {
  position: absolute;
  top: 31px;
  left: calc(50% + 44px);
  width: calc(100% - 64px);
  height: 2px;
  z-index: 1;
  pointer-events: none;
}

body.page-careers .connector-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(101, 82, 217, 0.2);
  border-radius: 1px;
  overflow: hidden;
}

body.page-careers .connector-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #6552D9 0%, #7B68EE 50%, var(--lavender, #B3A8FF) 100%);
  transform: scaleX(0);
  transform-origin: left;
}

body.page-careers .connector-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #7B68EE 50%, var(--lavender, #B3A8FF) 75%, transparent 100%);
  box-shadow: 0 0 10px #7B68EE;
  opacity: 0;
  transform: translateX(-100%);
}

body.page-careers .stepper-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

body.page-careers .stepper-title {
  font-size: 19px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  text-align: center;
  transition: color 0.3s ease;
}

body.page-careers .stepper-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #C5C7DE !important;
  margin: 0;
  text-align: center;
  margin-inline: auto;
  max-width: 28ch;
}

/* Hover & Focus */
body.page-careers .stepper-step:hover .stepper-circle,
body.page-careers .stepper-step:focus-within .stepper-circle {
  border-color: #7B68EE;
  box-shadow: 0 0 22px rgba(123, 104, 238, 0.7);
  background: #12142B;
}

body.page-careers .stepper-step:hover .stepper-title,
body.page-careers .stepper-step:focus-within .stepper-title {
  color: var(--lavender, #B3A8FF);
}

/* Progressive enhancement start state */
html.js body.page-careers #journey-stepper .stepper-circle {
  opacity: 0;
  transform: scale(0.7);
}

html.js body.page-careers #journey-stepper .stepper-body {
  opacity: 0;
  transform: translateY(16px);
}

html.js body.page-careers #journey-stepper .connector-fill {
  transform: scaleX(0);
}

/* Animations: Phase 1 (Build) & Phase 2 (Idle Flow) */
@media (prefers-reduced-motion: no-preference) {
  html.js body.page-careers #journey-stepper.is-animated .stepper-circle {
    animation: stepperCirclePop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               circleGlowPulse 4.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.9s), calc(3.6s + var(--i) * 1.2s);
  }

  html.js body.page-careers #journey-stepper.is-animated .stepper-num {
    animation: stepperNumBrighten 0.4s ease forwards;
    animation-delay: calc(var(--i) * 0.9s);
  }

  html.js body.page-careers #journey-stepper.is-animated .stepper-ring {
    animation: stepperRingExpand 0.8s ease-out forwards;
    animation-delay: calc(var(--i) * 0.9s);
  }

  html.js body.page-careers #journey-stepper.is-animated .connector-fill {
    animation: stepperConnectorFill 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: calc(var(--i) * 0.9s + 0.3s);
  }

  html.js body.page-careers #journey-stepper.is-animated .stepper-body {
    animation: stepperBodyFadeUp 0.5s ease-out forwards;
    animation-delay: calc(var(--i) * 0.9s);
  }

  html.js body.page-careers #journey-stepper.is-animated .connector-pulse {
    animation: flowPulseX 4.8s linear infinite;
    animation-delay: calc(3.6s + var(--i) * 1.2s);
  }
}

@keyframes stepperCirclePop {
  0% {
    opacity: 0;
    transform: scale(0.7);
    box-shadow: 0 0 0 rgba(101, 82, 217, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.6);
  }
}

@keyframes stepperNumBrighten {
  0% { color: var(--lavender, #B3A8FF); }
  50% { color: #FFFFFF; text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }
  100% { color: #FFFFFF; }
}

@keyframes stepperRingExpand {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes stepperConnectorFill {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

@keyframes stepperBodyFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== Mobile Vertical Stepper (< 768px) ==================== */
@media (max-width: 768px) {
  body.page-careers .stepper-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 480px;
    margin: 40px auto 0;
    padding: 0 8px;
  }

  body.page-careers .stepper-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    position: relative;
    padding-bottom: 36px;
    height: auto;
  }

  body.page-careers .stepper-step.stepper-step--last {
    padding-bottom: 0;
  }

  body.page-careers .stepper-col-icon {
    width: 56px;
    margin-bottom: 0;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    height: 100%;
    min-height: 56px;
  }

  body.page-careers .stepper-circle {
    width: 56px;
    height: 56px;
    position: relative;
    z-index: 2;
  }

  body.page-careers .stepper-num {
    font-size: 16px;
  }

  body.page-careers .stepper-connector {
    top: 64px;
    left: 27px;
    width: 2px;
    height: calc(100% - 64px);
  }

  body.page-careers .connector-track {
    width: 2px;
    height: 100%;
  }

  body.page-careers .connector-fill {
    background: linear-gradient(180deg, #6552D9 0%, #7B68EE 50%, var(--lavender, #B3A8FF) 100%);
    transform: scaleY(0);
    transform-origin: top;
  }

  body.page-careers .connector-pulse {
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, transparent 0%, #7B68EE 50%, var(--lavender, #B3A8FF) 75%, transparent 100%);
    box-shadow: 0 0 10px #7B68EE;
    transform: translateY(-100%);
  }

  body.page-careers .stepper-body {
    flex: 1;
    align-items: flex-start;
    text-align: left;
    padding-top: 10px;
  }

  body.page-careers .stepper-title {
    text-align: left;
    font-size: 18px;
    margin-bottom: 6px;
  }

  body.page-careers .stepper-desc {
    text-align: left;
    margin-inline: 0;
    max-width: 100%;
    font-size: 14px;
  }

  @media (prefers-reduced-motion: no-preference) {
    html.js body.page-careers #journey-stepper.is-animated .connector-fill {
      animation: stepperConnectorFillY 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
      animation-delay: calc(var(--i) * 0.9s + 0.3s);
    }

    html.js body.page-careers #journey-stepper.is-animated .connector-pulse {
      animation: flowPulseY 4.8s linear infinite;
      animation-delay: calc(3.6s + var(--i) * 1.2s);
    }
  }
}

@keyframes stepperConnectorFillY {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

@keyframes flowPulseY {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  22% {
    transform: translateY(350%);
    opacity: 1;
  }
  25% {
    transform: translateY(350%);
    opacity: 0;
  }
  100% {
    transform: translateY(350%);
    opacity: 0;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  html.js body.page-careers #journey-stepper .stepper-circle,
  html.js body.page-careers #journey-stepper .stepper-body,
  html.js body.page-careers #journey-stepper .connector-fill {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  body.page-careers .connector-fill {
    transform: scaleX(1) !important;
  }
  @media (max-width: 768px) {
    body.page-careers .connector-fill {
      transform: scaleY(1) !important;
    }
  }
  body.page-careers .connector-pulse,
  body.page-careers .stepper-ring {
    display: none !important;
    animation: none !important;
  }
}
