.page-shell.subpage.apps-page {
  width: min(100%, 1220px);
  align-content: start;
  padding-top: clamp(18px, 3vw, 28px);
  gap: clamp(20px, 2.8vw, 26px);
}

.apps-intro {
  width: min(100%, 820px);
  color: rgba(255, 255, 255, 0.76);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.98rem, 1.25vw, 1.05rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.apps-showcase {
  width: 100%;
  display: grid;
  gap: clamp(28px, 3.8vw, 40px);
  margin-top: clamp(8px, 1vw, 10px);
}

.app-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 3vw, 34px);
  align-items: start;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 191, 0, 0.09) 0%, rgba(255, 191, 0, 0) 34%),
    radial-gradient(circle at 82% 74%, rgba(0, 158, 134, 0.12) 0%, rgba(0, 158, 134, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%);
  border: 1px solid rgba(255, 191, 0, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 56px rgba(0, 0, 0, 0.24);
}

.app-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.06) 0%, rgba(24, 24, 24, 0.2) 28%, rgba(24, 24, 24, 0.36) 100%);
  pointer-events: none;
}

.app-panel--reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.app-panel > * {
  position: relative;
  z-index: 1;
}

.app-gallery {
  display: grid;
  gap: 14px;
}

.app-gallery-label {
  color: rgba(0, 158, 134, 0.86);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.76rem, 0.92vw, 0.82rem);
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-shot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.app-shot {
  grid-column: span 12;
  margin: 0;
  border-radius: 24px;
  padding: clamp(10px, 1.4vw, 14px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.014) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 42px rgba(0, 0, 0, 0.22);
}

.app-shot img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.app-copy {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
  align-content: start;
}

.app-kicker {
  margin: 0;
  color: rgba(0, 158, 134, 0.86);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.78rem, 0.96vw, 0.84rem);
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-title {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-status {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 191, 0, 0.18);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.02);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 0.84rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.app-description {
  display: grid;
  gap: 16px;
  width: min(100%, 540px);
}

.app-description p {
  margin: 0;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.04rem);
  line-height: 1.72;
  letter-spacing: 0.01em;
}

@media (max-width: 920px) {
  .app-panel,
  .app-panel--reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell.subpage.apps-page {
    gap: 18px;
  }

  .apps-showcase {
    gap: 24px;
  }

  .app-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .app-shot {
    border-radius: 20px;
    padding: 10px;
  }

  .app-shot img {
    border-radius: 14px;
  }

  .app-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }
}
