/* Features Details Section Styling */
.pm__feature--details {
  padding: 4rem 15px;
  background-color: #F6FAFD;
}

.pm__feature--details-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.pm__feature--details-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 50%;
  max-width: 52rem;
}

.pm__feature--details-tagline {
  color: #0066FF;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pm__feature--details-title {
  color: #0F172A;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.pm__feature--details-highlight {
  color: #0066FF;
}

.pm__feature--details-desc {
  color: #64748B;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 2.25rem;
  max-width: 44rem;
}

.pm__feature--details-features {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pm__feature--details-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.pm__feature--details-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  border-radius: 50%;
  background-color: #E8F1FF;
}

.pm__feature--details-info {
  display: flex;
  flex-direction: column;
}

.pm__feature--details-item-title {
  color: #0F172A;
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.pm__feature--details-item-sub {
  color: #64748B;
  font-size: 0.8125rem;
  margin: 0.2rem 0 0 0;
  line-height: 1.3;
}

.pm__feature--details-divider {
  width: 1px;
  height: 2.5rem;
  background-color: #E2E8F0;
  flex-shrink: 0;
}

.pm__feature--details-btn-wrap {
  display: flex;
  align-items: center;
}

.pm__feature--details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background-color: #0066FF;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 6.25rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.35);
  transition: all 0.3s ease;
}

.pm__feature--details-btn:hover {
  background-color: #0052CC;
  box-shadow: 0 12px 24px rgba(0, 102, 255, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.pm__feature--details-media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 50%;
}

.pm__feature--details-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.pm__feature--details-img:hover {
  filter: brightness(1.02);
}

/* Steps Section Styling */
.pm__feature--step {
  padding: 3rem 15px 5rem 15px;
  background-color: #F6FAFD;
}

.pm__feature--step-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pm__feature--step-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #EAEFF5;
  border-radius: 1.25rem;
  padding: 0.50rem;
  gap: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pm__feature--step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.pm__feature--step-num-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 11.25rem;
  min-width: 11.25rem;
  padding: 1.75rem 1.25rem;
  border-radius: 1rem;
  height: stretch;
}

.pm__feature--step-num-box--blue {
  background-color: #EBF3FF;
}

.pm__feature--step-num-box--blue .pm__feature--step-number {
  color: #0066FF;
}

.pm__feature--step-num-box--yellow {
  background-color: #FFF8E6;
}

.pm__feature--step-num-box--yellow .pm__feature--step-number {
  color: #F59E0B;
}

.pm__feature--step-num-box--green {
  background-color: #E6F9EE;
}

.pm__feature--step-num-box--green .pm__feature--step-number {
  color: #02C053;
}

.pm__feature--step-num-box--purple {
  background-color: #F3E8FF;
}

.pm__feature--step-num-box--purple .pm__feature--step-number {
  color: #8B5CF6;
}

.pm__feature--step-num-box--pink {
  background-color: #FFEBF0;
}

.pm__feature--step-num-box--pink .pm__feature--step-number {
  color: #FF2A55;
}

.pm__feature--step-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.pm__feature--step-num-label {
  color: #0F172A;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.pm__feature--step-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.pm__feature--step-title {
  color: #0F172A;
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.625rem;
}

.pm__feature--step-desc {
  color: #64748B;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 32rem;
}

.pm__feature--step-desc p {
  margin: 0 0 0.5rem 0;
}

.pm__feature--step-desc p:last-child {
  margin-bottom: 0;
}

.pm__feature--step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066FF;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.pm__feature--step-link:hover {
  gap: 0.75rem;
  color: #0052CC;
}

.pm__feature--step-media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24rem;
  max-width: 24rem;
  width: 100%;
}

.pm__feature--step-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0.75rem;
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.pm__feature--step-img:hover {
  filter: brightness(1.02);
  transform: translateY(-2px);
}

/* Card Preview Mockups Styling */
.pm__step-card-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 1.5rem;
  border-radius: 1.25rem;
}

.pm__step-card-preview--step1 {
  background-color: #F0F6FF;
}

.pm__step-card-preview--step2 {
  background-color: #FFF8E6;
}

.pm__step-card-preview--step3 {
  background-color: #EBF9F1;
}

.pm__step-card-preview--step4 {
  background-color: #F5EEFE;
}

.pm__step-card-preview--step5 {
  background-color: #FFEBF0;
}

.pm__step-card-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.05);
}

.pm__step-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pm__step-card-header--between {
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pm__step-card-box-title {
  color: #0F172A;
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0;
}

.pm__step-card-box-title--mb {
  margin-bottom: 1rem;
}

/* CTA Banner Styling */
.pm__feature--cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(90deg, #064BB5 0%, #0056FF 60%, #0066FF 100%);
  border-radius: 1.5rem;
  padding: 3rem 3.5rem;
  margin-top: 4rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 86, 255, 0.25);
}

.pm__feature--cta-bg-shape {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 26rem;
  height: 140%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%),
              linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.pm__feature--cta-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.pm__feature--cta-tagline {
  color: #93C5FD;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pm__feature--cta-title {
  color: #FFFFFF;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.pm__feature--cta-desc {
  color: #E2E8F0;
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 0;
}

.pm__feature--cta-action {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.pm__feature--cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background-color: #FFFFFF;
  color: #0052CC;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2.25rem;
  border-radius: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pm__feature--cta-btn:hover {
  background-color: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  color: #003DA5;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .pm__feature--details-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 991px) {
  .pm__feature--details-wrapper {
    flex-direction: column;
    gap: 2.5rem;
  }

  .pm__feature--details-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .pm__feature--details-media {
    flex: 1 1 100%;
    width: 100%;
  }

  .pm__feature--step-card {
    flex-wrap: wrap;
    gap: 1.5rem;
    flex: calc((100% / 2) - ((1.5rem * 1) / 2));
    padding: 1rem;
}
.pm__feature--step-list {
    flex-direction: row;
    flex-wrap: wrap;
}
.pm__feature--step-num-box {
    height: unset;
}

  .pm__feature--step-num-box {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .pm__feature--step-number {
    margin-bottom: 0;
    font-size: 2.25rem;
  }

  .pm__feature--step-info {
    flex: 1 1 100%;
  }

  .pm__feature--step-desc {
    max-width: 100%;
  }

  .pm__feature--step-media {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .pm__feature--cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.75rem;
  }

  .pm__feature--cta-title {
    font-size: 1.875rem;
  }

  .pm__feature--cta-action {
    width: 100%;
  }

  .pm__feature--cta-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pm__feature--details-title {
    font-size: 2.25rem;
  }

.pm__feature--details-features {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

  .pm__feature--details-divider {
    display: none;
  }

  .pm__step-card-box--setup {
    flex-direction: column;
    align-items: flex-start;
  }
    .pm__feature--step-card {
    flex: 100%;
}
}

/* ==========================================================================
   Feature Details Image Lightbox Modal with Zoom & Pan
   ========================================================================== */
.pm__feature--modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm__feature--modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pm__feature--modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pm__feature--modal-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 860px;
  max-height: 94vh;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm__feature--modal.active .pm__feature--modal-content {
  transform: scale(1);
}

/* Modal Floating Toolbar */
.pm__feature--modal-toolbar {
  position: absolute;
  top: -2.85rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.35rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.pm__feature--modal-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.pm__feature--modal-tool-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.pm__feature--modal-tool-close {
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
}

.pm__feature--modal-tool-close:hover {
  background: #dc2626;
  color: #ffffff;
}

.pm__feature--modal-zoom-level {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  padding: 0 0.35rem;
  min-width: 42px;
  text-align: center;
}

/* Modal Image Viewport & Pan Wrap */
.pm__feature--modal-viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  width: 100%;
  max-width: 860px;
  max-height: calc(88vh - 2.5rem);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.pm__feature--modal-viewport.is-zoomed {
  cursor: grab;
}

.pm__feature--modal-viewport.is-dragging {
  cursor: grabbing;
}

.pm__feature--modal-pan-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.pm__feature--modal-img {
  max-width: 100%;
  max-height: calc(85vh - 3.5rem);
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  pointer-events: none;
}

.pm__feature--modal-caption {
  margin-top: 0.65rem;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .pm__feature--modal {
    padding: 0.5rem;
  }

  .pm__feature--modal-toolbar {
    top: -2.5rem;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
  }

  .pm__feature--modal-tool-btn {
    width: 28px;
    height: 28px;
  }

  .pm__feature--modal-viewport {
    padding: 0.5rem;
    border-radius: 14px;
    max-height: calc(86vh - 2.5rem);
  }
}
