.applications-section {
  background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("../../assets/im.png"),
    var(--bg);
  background-repeat: no-repeat, repeat, no-repeat;
  background-size: auto, auto, auto;
  padding: 56px 0 68px;
}

.app-wrap {
  width: min(1220px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.app-title {
  margin: 0;
  color: #161b2b;
  font-family: "Vert Grotesk Display", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 120%;
  letter-spacing: 0;
  max-width: 640px;
}

.app-subtitle {
  margin: 12px 0 0;
  max-width: 760px;
  color: #687081;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 0;
}

.app-arrows {
  display: flex;
  gap: 10px;
  padding-top: 6px;
}

.app-arrow {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid #d3d8e2;
  background: transparent;
  color: #8a92a2;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.app-grid::-webkit-scrollbar {
  display: none;
}

.app-card {
  width: 300px;
  min-width: 300px;
  height: 300px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #0e1322;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  scroll-snap-align: start;
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.62) 100%
  );
  backdrop-filter: blur(3px);
  transition: backdrop-filter 220ms ease, background 220ms ease;
  pointer-events: none;
}

.app-card:hover::after,
.app-card.is-active::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.24) 50%,
    rgba(0, 0, 0, 0.42) 100%
  );
  backdrop-filter: blur(0px);
}

.app-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 18px 16px;
  color: #f4f7ff;
}

.app-copy h3 {
  margin: 0 0 8px;
  font-family: "Urbanist", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 120%;
  letter-spacing: 0;
}

.app-copy p {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.006em;
  color: #dce2f0;
}

@media (max-width: 1080px) {
  .app-title {
    font-size: clamp(30px, 4vw, 44px);
  }

  .app-subtitle {
    font-size: 15px;
  }

  .app-copy h3 {
    font-size: 28px;
  }

  .app-copy p {
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .applications-section {
    padding: 36px 0 42px;
  }

  .app-head {
    flex-direction: column;
    gap: 12px;
  }

  .app-arrows {
    align-self: flex-end;
  }

  .app-arrow {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .app-grid {
    gap: 10px;
    scroll-padding-inline: 14px;
  }

  .app-card {
    width: min(82vw, 320px);
    min-width: min(82vw, 320px);
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .app-copy {
    padding: 0 14px 12px;
  }

  .app-copy h3 {
    font-size: 22px;
  }

  .app-copy p {
    font-size: 13px;
  }
}
