.app-store {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 0 5rem;
  color: var(--theme-text);
  font-family: "Montserrat", sans-serif;
}

.app-store__eyebrow,
.app-section__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--theme-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-store__heading {
  max-width: 840px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.app-store__intro {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: var(--theme-muted);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.app-section {
  margin-top: clamp(4rem, 9vw, 7rem);
}

.app-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.app-section__title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.app-section__count {
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.78rem;
}

.featured-app {
  position: relative;
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  overflow: hidden;
  border-radius: 34px;
  background: var(--theme-accent);
  color: #ffffff;
}

.featured-app__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.featured-app__tag {
  margin: 0 0 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.75;
  text-transform: uppercase;
}

.featured-app h2 {
  max-width: 530px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.featured-app__description {
  max-width: 520px;
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  opacity: 0.86;
}

.app-get {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border: 0;
  border-radius: 14px;
  background: var(--theme-accent);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.app-get:hover,
.app-get:focus {
  color: #ffffff;
  opacity: 0.85;
  text-decoration: none;
}

.featured-app .app-get {
  background: #ffffff;
  color: #161616;
}

.featured-app .app-get:hover,
.featured-app .app-get:focus {
  color: #161616;
}

.featured-app__preview {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4rem 3rem 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
}

.book-phone {
  width: min(390px, 100%);
  min-height: 470px;
  padding: 1.1rem;
  border: 8px solid rgba(255, 255, 255, 0.32);
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  background: #f8f6ef;
  color: #22221f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.book-phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.35rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.book-phone__progress {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: #e8e1cf;
}

.book-phone__progress strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.book-stack {
  display: grid;
  gap: 0.65rem;
}

.book-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem;
  border-radius: 14px;
  background: #ffffff;
}

.book-cover {
  width: 42px;
  height: 58px;
  border-radius: 5px;
  background: #323c64;
}

.book-row:nth-child(2) .book-cover {
  background: #788b6a;
}

.book-row:nth-child(3) .book-cover {
  background: #bb6c55;
}

.book-row strong,
.book-row span {
  display: block;
}

.book-row strong {
  font-size: 0.72rem;
}

.book-row span {
  margin-top: 0.2rem;
  color: #77746c;
  font-size: 0.62rem;
}

.book-row em {
  color: #77746c;
  font-size: 0.64rem;
  font-style: normal;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.app-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  border-radius: 28px;
  background: var(--theme-surface);
}

.app-card__top {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.app-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.app-icon--book {
  background: linear-gradient(145deg, #285de0, #8b55e9);
}

.app-icon--poorna {
  background: linear-gradient(145deg, #4b267e, #d85f9d);
}

.app-icon--toast {
  background: linear-gradient(145deg, #d74b32, #f7a637);
}

.app-icon--tabletop {
  background: linear-gradient(145deg, #087f8c, #56c6a9);
}

.app-card__title {
  margin: 0;
  color: var(--theme-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-card__category,
.app-card__status {
  display: block;
  margin-top: 0.3rem;
  color: var(--theme-muted);
  font-size: 0.72rem;
}

.app-card__status {
  color: var(--theme-accent);
  font-weight: 600;
}

.app-card__preview {
  min-height: 330px;
  margin: 0 1rem 1rem;
  padding: 2rem;
  overflow: hidden;
  border-radius: 22px;
}

.app-card__preview--poorna {
  background: #211b2c;
  color: #f8f4ff;
}

.finance-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.finance-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.finance-card span {
  display: block;
  color: #bcb3c9;
  font-size: 0.62rem;
}

.finance-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1rem;
}

.finance-chart {
  position: relative;
  height: 140px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(to top, transparent 24%, rgba(255, 255, 255, 0.08) 25%, transparent 26%, transparent 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%, transparent 74%, rgba(255, 255, 255, 0.08) 75%, transparent 76%),
    rgba(255, 255, 255, 0.04);
}

.finance-chart::after {
  position: absolute;
  right: -5%;
  bottom: -34px;
  left: -5%;
  height: 125px;
  border-top: 5px solid #dc77ac;
  border-radius: 50% 60% 0 0;
  content: "";
  transform: rotate(-7deg);
}

.app-card__preview--toast {
  display: grid;
  align-content: center;
  gap: 1rem;
  background: #fff4e9;
  color: #3b251e;
}

.timer-display {
  text-align: center;
}

.timer-display span {
  display: block;
  color: #9c6e60;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timer-display strong {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(3rem, 7vw, 5rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.07em;
}

.role-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.role-pills span {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
}

.app-card__preview--tabletop {
  display: grid;
  place-items: center;
  background: #e9f7f4;
  color: #163e3c;
}

.topic-card {
  width: min(100%, 390px);
  padding: 1.5rem;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 74, 69, 0.14);
  text-align: center;
}

.topic-card span {
  color: #4c8983;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-card strong {
  display: block;
  margin-top: 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.speaker-list {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.speaker-list i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #d9efea;
  color: #276b65;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
}

.app-card__description {
  margin: 0;
  padding: 0 1.5rem 1.75rem;
  color: var(--theme-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.app-store-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--theme-line);
  color: var(--theme-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.74rem;
  text-align: center;
}

@media (max-width: 900px) {
  .featured-app {
    grid-template-columns: 1fr;
  }

  .featured-app__preview {
    min-height: 470px;
  }

  .app-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .app-store {
    width: min(100% - 1.5rem, 1180px);
    padding-top: 2.5rem;
  }

  .app-store__heading {
    font-size: clamp(2.7rem, 15vw, 4.25rem);
  }

  .featured-app {
    min-height: 0;
    border-radius: 24px;
  }

  .featured-app__content {
    padding: 2rem 1.5rem;
  }

  .featured-app__preview {
    min-height: 360px;
    padding: 2rem 1rem 0;
  }

  .book-phone {
    min-height: 390px;
  }

  .app-card {
    border-radius: 22px;
  }

  .app-card__top {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 1rem;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    font-size: 0.9rem;
  }

  .app-card__preview {
    min-height: 280px;
    padding: 1.25rem;
  }

  .app-card__description {
    padding: 0 1rem 1.35rem;
  }
}
