/* ==========================================================================
Platform Steps Section — structural / BEM styles
All themeable values are consumed via CSS custom properties that are
defined per-instance in module.html (#platform-steps-).
========================================================================== */


/* Checklist box */
.platform-steps__checklist {
  background-color: var(--qt-checklist-bg, #FFFFFF);
  border-radius: var(--qt-checklist-radius, 12px);
  padding: var(--qt-checklist-padding, 24px);
  max-width: 242px;
  min-width: 242px;
  position: relative;
  z-index: -1;
  box-shadow: 15px 20px 40px rgba(105, 102, 102, 0.24);
  overflow: hidden;
}
.platform-steps__checklist {
  margin: -30px 0 -44px auto;
}
/* RTL */
html[dir="rtl"] .platform-steps__checklist {

  margin: -30px auto -44px 0;
}

.platform-steps__checklist-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--qt-checklist-text, #161A3A);
  margin: 0 0 12px;
}

.platform-steps__checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--qt-checklist-gap, 16px);
}

.platform-steps__checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
li.platform-steps__checklist-item:not(:last-child):after {
  content: '';
  width: 2px;
  height: calc(100% + var(--qt-checklist-gap));
  position: absolute;
  inset-inline-start: 10px;
  background: var(--qt-checklist-devider-color);
  z-index: -1;
}

.platform-steps__checklist-icon {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  background: var(--qt-checklist-icon);
  color: var(--qt-checklist-icon, #161A3A);
  border-radius: 20px;      
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-steps__checklist-icon svg {
  display: block;
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.platform-steps__checklist-text {
  display: flex;
  flex-direction: column;
  grid-gap: 4px;
}

.platform-steps__checklist-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--qt-checklist-text, #161A3A);
}

.platform-steps__checklist-date {
  font-size: 10px;
  color: var(--qt-checklist-date, #7A7E96);
}
.platform-steps__checklist:after {
  content: '';
  background: var(--qt-checklist-after-shade-color, #413B36);
  opacity: 0.04;
  position: absolute;
  bottom: 4px;
  right: -56px;
  z-index: 1;
  height: 37px;
  width: 155px;
  transform: rotate(150deg);
}


.platform-steps__card_style::after {
  content: '';
  background: linear-gradient(114.23deg, #F8F6F5 35.1%, rgba(248, 246, 245, 0.1) 97.71%);
  position: absolute;
  inset: 0;
  z-index: -1;
}

[dir="rtl"] .platform-steps__card_style::after {
  background: linear-gradient(-114.23deg, #F8F6F5 35.1%, rgba(248, 246, 245, 0.1) 97.71%);
}
.icon-replay path {
  fill: none;
}
{# 
.platform-steps__video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /*   background: rgba(0, 0, 0, 0.35); */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.platform-steps__card:hover .platform-steps__video-overlay {
  opacity: 1;
  pointer-events: all;
}

.platform-steps__play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #14172C;
  border:0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}


.platform-steps__play-btn:hover,.platform-steps__play-btn:active,.platform-steps__play-btn:focus {
  background: #14172C;  
  transform: scale(1.1);
}
#}
.platform-steps {
  background-color: var(--ps-bg, #FFFFFF);
}

.platform-steps__wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--ps-row-gap, 24px);
}

/* Header */
.platform-steps__header {
  text-align: center;
}

.platform-steps__heading {
  font-family: var(--ps-heading-font-family, inherit);
  font-size: var(--ps-heading-font-size, 32px);
  font-weight: var(--ps-heading-font-weight, 700);
  color: var(--ps-heading-color, #1B1F3B);
  margin: 0;
  line-height: 1.3;
}

/* Bento grid */
.platform-steps__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--ps-row-gap, 24px) var(--ps-col-gap, 24px);
}

.platform-steps__card {
  grid-column: span 12;
  background-color: var(--ps-card-bg, #F7F5F2);
  border-radius: var(--ps-card-radius, 16px); 
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .platform-steps__card--wide {
    grid-column: span 8;
  }

  .platform-steps__card--narrow {
    grid-column: span 4;
  }
}

/* Card header (badge + heading) */
.platform-steps__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.platform-steps__card--narrow .platform-steps__card-wrpaer {
  max-width: 452px;
}
.platform-steps__card--wide .platform-steps__card-wrpaer {
  padding-inline-end: 44%;
}
.platform-steps__card-description p {
  font-size: 14px;
}

.platform-steps__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--ps-badge-radius, 8px);
  background-color: var(--ps-badge-bg, #FFFFFF);
  color: var(--ps-badge-text, #1B1F3B);
  font-family: var(--ps-heading-font-family, inherit);
  font-size: 13px;
  font-weight: 700;
}

.platform-steps__card-heading {
  font-family: var(--ps-heading-font-family, inherit);
  font-size: 18px;
  font-weight: 700;
  color: var(--ps-card-heading-color, #1B1F3B);
  margin: 0;
  line-height: 1.4;
}

/* Description */
.platform-steps__card-description {
  font-family: var(--ps-body-font-family, inherit);
  font-size: var(--ps-body-font-size, 15px);
  font-weight: var(--ps-body-font-weight, 400);
  color: var(--ps-card-description-color, #6B7280);
  line-height: 1.6;
}

.platform-steps__card-description p,
.platform-steps__card-description li {
  margin: 0;
}

.platform-steps__card-description > *:last-child {
  margin-bottom: 0;
}

/* Media */
.platform-steps__card-media {
  border-radius: var(--ps-image-radius, 12px);
  overflow: hidden;
  margin-top: auto;
}
.platform-steps__card-image {     
  display: block;
  object-fit: contain;
     height: auto;
    max-width: 100%;
}


/* Scroll-in animation (progressive enhancement, JS-driven) */
@media (prefers-reduced-motion: no-preference) {
  .platform-steps__card[data-ps-animate="true"] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .platform-steps__card[data-ps-animate="true"].platform-steps__card--visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {

  .platform-steps__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .platform-steps__checklist, html[dir=rtl] .platform-steps__checklist {
    margin: 30px 0 ;
  }
  .platform-steps__card--wide .platform-steps__card-wrpaer {
    padding-inline-end: 0;
  }
}