/* Subscription detail page
   Uses the current approved project style: shared body background, blue/cyan primary accents,
   warm orange only as a small decorative accent. */

.app.subscription-detail-page {
  overflow: visible;
  padding-bottom: 112px;
}

.subscription-detail {
  display: grid;
  gap: 18px;
}

.subscription-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  border: 1px solid rgba(93, 231, 255, 0.2);
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(15, 26, 47, 0.72);
  color: #e9f7ff;
  font-size: 14px;
  font-weight: 900;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.subscription-hero-card {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  border: 1px solid rgba(93, 231, 255, 0.26);
  border-radius: 30px;
  padding: 26px 22px;
  background:
    linear-gradient(135deg, rgba(93, 231, 255, 0.11), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(255, 209, 102, 0.16), transparent 27%),
    radial-gradient(circle at 12% 88%, rgba(78, 128, 255, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(24, 48, 82, 0.98), rgba(16, 24, 43, 0.98) 58%, rgba(28, 24, 45, 0.98));
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(93, 231, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.subscription-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 20px);
  opacity: 0.36;
  pointer-events: none;
}

.subscription-hero-card::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -62px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(93, 231, 255, 0.14);
  pointer-events: none;
}

.subscription-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 162px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.subscription-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: linear-gradient(90deg, #5de7ff, #4e80ff 56%, #ffd166);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(93, 231, 255, 0.22);
}

.subscription-hero-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 10vw, 56px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -1.4px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.subscription-hero-subtitle {
  max-width: 290px;
  margin: 10px 0 0;
  color: #d7e5ff;
  font-size: 15px;
  line-height: 1.38;
}

.subscription-hero-symbol {
  position: absolute;
  right: 15px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(93, 231, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(145deg, rgba(93, 231, 255, 0.18), rgba(78, 128, 255, 0.11));
  color: #5de7ff;
  font-size: 38px;
  font-weight: 900;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.subscription-detail-head {
  display: grid;
  gap: 6px;
}

.subscription-detail-title {
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.9px;
}

.subscription-detail-subtitle {
  margin: 0;
  color: #c8d6f2;
  font-size: 16px;
  line-height: 1.38;
}

.subscription-term-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border: 1px solid rgba(93, 231, 255, 0.22);
  border-radius: 22px;
  padding: 6px;
  background: rgba(7, 14, 28, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* App Store: подпись над рядами выбора (Регион / Номинал) */
.appstore-region-label {
  margin: 14px 4px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8f9ab9;
}
.appstore-region-label:first-of-type {
  margin-top: 4px;
}

.appstore-region-hint {
  margin: 14px 2px 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(38, 52, 92, 0.35);
  border: 1px solid rgba(120, 150, 220, 0.18);
}
.appstore-region-hint p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #b9c6e3;
}
.appstore-region-hint p + p {
  margin-top: 8px;
}
.appstore-region-hint strong {
  color: #eef3ff;
  font-weight: 700;
}
.appstore-support-link {
  color: #6ea8ff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.appstore-support-link:hover {
  text-decoration: underline;
}

.subscription-term-tab {
  min-height: 45px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #b9c6e3;
  font-size: 15px;
  font-weight: 900;
}

.subscription-term-tab.is-active {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(93, 231, 255, 0.94), rgba(78, 128, 255, 0.96));
  box-shadow:
    0 12px 28px rgba(78, 128, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.subscription-price-card {
  border: 1px solid rgba(93, 231, 255, 0.22);
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 88% 16%, rgba(93, 231, 255, 0.1), transparent 28%),
    rgba(15, 26, 47, 0.82);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.subscription-price-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.subscription-price-value {
  color: #ffffff;
  font-size: 42px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -1.2px;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.subscription-price-term {
  margin-top: 8px;
  color: #aebcda;
  font-size: 14px;
  font-weight: 800;
}

.subscription-platform-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(93, 231, 255, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(11, 20, 38, 0.78);
  color: #cbdcff;
  font-size: 13px;
  font-weight: 900;
}

.subscription-cart-button {
  width: 100%;
}

.subscription-features-card {
  border: 1px solid rgba(93, 231, 255, 0.18);
  border-radius: 28px;
  padding: 19px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0)),
    rgba(15, 26, 47, 0.76);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.subscription-section-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.subscription-feature-list {
  display: grid;
  gap: 0;
}

.subscription-feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.subscription-feature:first-child {
  border-top: 0;
  padding-top: 0;
}

.subscription-feature:last-child {
  padding-bottom: 0;
}

.subscription-feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(93, 231, 255, 0.16);
  border-radius: 15px;
  background: rgba(93, 231, 255, 0.08);
  color: #5de7ff;
  font-size: 20px;
}

.subscription-feature-title {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.18;
  font-weight: 900;
}

.subscription-feature-text {
  margin-top: 3px;
  color: #aebcda;
  font-size: 13px;
  line-height: 1.28;
}

@media (max-width: 420px) {
  .app.subscription-detail-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .subscription-hero-card {
    min-height: 196px;
    padding: 22px 19px;
    border-radius: 27px;
  }

  .subscription-hero-inner {
    min-height: 150px;
  }

  .subscription-hero-symbol {
    width: 62px;
    height: 62px;
    border-radius: 21px;
    font-size: 33px;
  }

  .subscription-detail-title {
    font-size: 31px;
  }

  .subscription-price-value {
    font-size: 39px;
  }
}
