/* ==========================================================================
   KOBIL — Technology / Application Security — Section: Steps
   Figma 6087:53990 ("Trust Is Earned at Runtime, Not Granted at Login").

   Replaces the old 3-card stack: the new design is a title block (801px) over
   a two-column row — three compact, divider-separated rows on the left (578px)
   beside a single 527x428 visual on the right, gap 115px.

   Section padding: 80px top / 40px bottom / 40px sides (Figma pt-80 pb-40
   px-40), inside the 1360 white card.
   ========================================================================== */

.sec-application-security-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 80px 40px 40px;
}

/* ---- Title + lead ---- */

.as-steps__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 801px;
}

.as-steps__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
}

/* Second line carries the 4-stop brand gradient (Figma 89.86deg) */
.as-steps__title-accent {
  background-image: linear-gradient(
    90deg,
    #1046cf 11.229%,
    #696ef5 16.038%,
    #ca80f4 41.701%,
    #ffc4a0 67.364%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.as-steps__lead {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: var(--navy-70);
}

/* ---- Two columns: rows left, visual right ---- */

.as-steps__body {
  display: flex;
  align-items: center;
  gap: 115px;
  width: 100%;
  max-width: 1220px;
}

.as-steps__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 578px;
  min-width: 0;
  max-width: 578px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.as-steps__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--navy-40);
}

.as-steps__row-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}

.as-steps__row-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  color: var(--navy);
}

/* First row is the highlighted one in Figma (Primary/Dark Blue) */
.as-steps__row--active .as-steps__row-title {
  color: #1046cf;
}

.as-steps__row-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--navy-70);
}

.as-steps__row-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.as-steps__visual {
  flex: 0 0 527px;
  width: 527px;
  height: 428px;
  margin: 0;
}

.as-steps__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .as-steps__body {
    gap: 48px;
  }

  .as-steps__list {
    flex: 1 1 auto;
    max-width: none;
  }

  .as-steps__visual {
    flex: 0 1 420px;
    width: auto;
    max-width: 420px;
    height: auto;
  }

  .as-steps__title {
    font-size: 44px;
  }
}

@media (max-width: 900px) {
  .as-steps__body {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .as-steps__visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sec-application-security-steps {
    padding: 48px 24px 24px;
  }

  .as-steps__title {
    font-size: 34px;
    line-height: 1.2;
  }

  .as-steps__lead {
    font-size: 16px;
    line-height: 23px;
  }
}

@media (max-width: 480px) {
  .sec-application-security-steps {
    padding: 40px 20px 20px;
  }

  .as-steps__title {
    font-size: 30px;
    line-height: 1.2;
  }
}
