.pricing-section {
  padding-block: var(--spacing-section-block);
  background:
    radial-gradient(ellipse at 52% 0%, rgba(243, 187, 85, .09), transparent 53%),
    linear-gradient(180deg, rgba(8, 20, 32, .12), rgba(16, 27, 43, .48));
}

.pricing-inner {
  display: grid;
  gap: 34px;
}

.pricing-heading {
  text-align: left;
}

.pricing-heading h2 {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
}

.pricing-heading > p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  max-width: 920px;
  width: 100%;
  margin-inline: auto;
}

.plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(220, 232, 245, .15);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 39, 58, .94), rgba(8, 21, 34, .94));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .05);
}

.plan-card-premium {
  border-color: rgba(243, 187, 85, .55);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(243, 187, 85, .16), transparent 45%),
    linear-gradient(145deg, rgba(28, 40, 52, .98), rgba(9, 22, 34, .97));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24), 0 0 34px rgba(243, 187, 85, .065), inset 0 1px rgba(255, 255, 255, .08);
}

.plan-topline {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-kicker {
  color: #c1ccd8;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(243, 187, 85, .27);
  border-radius: 999px;
  background: rgba(243, 187, 85, .13);
  color: #ffd88f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-card h3 {
  margin: 5px 0 7px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 30px);
  font-weight: 750;
  line-height: 1.2;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 3px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226, 237, 249, .11);
}

.plan-card-free .plan-price {
  padding-bottom: 0;
  border-bottom: 0;
}

.plan-price > span {
  color: #fff;
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: 1;
}

.plan-price small {
  color: #b5c0cc;
  font-size: 12px;
}

.plan-features {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid rgba(226, 237, 249, .1);
  list-style: none;
}

.plan-card-free .plan-features {
  padding-top: 0;
  border-top: 0;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e1e7ed;
  font-size: 12px;
  line-height: 1.45;
}

.feature-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(151, 206, 171, .13);
  color: #a8daba;
  font-size: 11px;
  font-weight: 800;
}

.feature-warning-icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 187, 85, .13);
  color: var(--color-accent-gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.premium-offer {
  display: grid;
  gap: 10px;
  margin: 5px 0 7px;
  padding: 0;
}

.premium-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.premium-price {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(35px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
}

.premium-term {
  color: #e8edf2;
  font-size: 13px;
  font-weight: 650;
}

.premium-monthly {
  margin: 0;
  color: #bac5d0;
  font-size: 11px;
  line-height: 1.45;
}

.plan-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.plan-button:hover {
  transform: translateY(-1px);
}

.plan-button-primary {
  background: linear-gradient(135deg, #ffd985, #eaaa3e);
  box-shadow: 0 8px 24px rgba(234, 170, 62, .2), inset 0 1px rgba(255, 255, 255, .45);
  color: #19212a;
}

.plan-button-primary:hover {
  box-shadow: 0 10px 29px rgba(234, 170, 62, .3), inset 0 1px rgba(255, 255, 255, .5);
}

.plan-footnote {
  margin: 9px 0 0;
  color: #9eacba;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.pricing-reassurance {
  margin: -14px 0 0;
  color: #aebbc8;
  font-size: 13px;
  text-align: center;
}

.pricing-reassurance span {
  margin-inline: 5px;
  color: var(--color-accent-gold);
}

@media (max-width: 740px) {
  .pricing-section {
    padding-block: 48px;
  }

  .pricing-inner {
    gap: 25px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 14px;
  }

  .plan-card {
    padding: 23px;
    border-radius: 20px;
  }

  .pricing-reassurance {
    margin-top: -5px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .plan-card {
    padding: 19px;
  }

  .plan-button {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-button {
    transition: none;
  }
}
