/* "Our apps" section — markup is generated by scripts/sync_apps.py */
.apps-section {
  padding: 60px 16px 80px;
  background: #f4f6fd;
}

.apps-title {
  text-align: center;
  font-weight: 700;
  margin: 0 0 40px;
}

.apps-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(40, 66, 199, 0.08);
  min-width: 0;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.app-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-name {
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.app-genre,
.app-rating {
  font-size: 0.875rem;
  color: #5b6275;
}

.app-rating {
  color: #2842c7;
  font-weight: 600;
}

.app-desc {
  margin: 16px 0;
  color: #333a4d;
}

.app-screens {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.app-screens img {
  flex: none;
  height: 300px;
  width: auto;
  border-radius: 14px;
  scroll-snap-align: start;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.app-store-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 999px;
  background: #2842c7;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
}

.app-store-link:hover {
  background: #1d33a3;
}

@media (max-width: 767px) {
  .apps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-screens img {
    height: 240px;
  }
}
