@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.prmm-staircase {
  --pw-navy: #002635;
  --pw-slate: #152247;
  --pw-blue: #0a6cff;
  --pw-lightBlue: #199bf6;
  --pw-white: #ffffff;
  --pw-offWhite: #f5faff;
  --pw-lightGrey: #f7f7f7;
  --pw-tintBlue: #e6f4fe;
  --pw-purple: #8052ff;
  --pw-green: #6fbf73;
  --pw-teal: #2ed5cd;
  --pw-orange: #d87c4a;
  --pw-pink: #ec6c8f;
  --pw-red: #f35e61;
  --pw-gold: #f0b429;

  font-family: 'Plus Jakarta Sans', sans-serif;
}

.prmm-staircase__section {
  max-width: 900px;
  margin: 0 auto 40px;
}

.prmm-staircase__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--pw-navy);
  margin: 0 0 16px 0;
}

.prmm-staircase__bar {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--pw-blue), var(--pw-lightBlue));
  border-radius: 2px;
  margin-bottom: 20px;
}

.prmm-staircase__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.prmm-staircase__container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 380px;
}

.prmm-stair-col {
  flex: 1;
  border-radius: 14px 14px 6px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 12px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 1px solid;
}

.prmm-stair-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.prmm-stair-lbl {
  font-size: 11px;
  font-weight: 700;
  uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.prmm-stair-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}

.prmm-stair-tag {
  font-size: 12px;
  font-style: italic;
  color: #64748b;
  margin: 0;
}

/* Progress bar — hidden on desktop */
.prmm-stair-progress {
  display: none;
}

/* Responsive breakpoint */
@media (max-width: 700px) {
  .prmm-staircase__title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .prmm-staircase__subtitle {
    font-size: 14px;
  }

  /* Stack cards vertically instead of side-by-side columns */
  .prmm-staircase__container {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 10px;
  }

  .prmm-stair-col {
    height: auto !important;  /* Override inline JS heights */
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 18px;
    border-radius: 12px;
  }

  .prmm-stair-col:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .prmm-stair-lbl {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
  }

  .prmm-stair-name {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .prmm-stair-tag {
    font-size: 13px;
  }

  /* Show progress bar on mobile */
  .prmm-stair-progress {
    display: block;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
  }

  .prmm-stair-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
  }
}

.prmm-module-cta {
  text-align: center;
  margin-top: 32px;
}

.prmm-module-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background-color: #199bf6;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.prmm-module-cta__btn:hover {
  background-color: #0a6cff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 108, 255, 0.35);
}
