/* High-legibility pricing treatment for desktop, tablet and mobile. */
.plans-section .price-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.4rem, 2.6vw, 2.25rem);
  background: linear-gradient(145deg, rgba(19, 21, 24, 0.98), rgba(6, 8, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

.plans-section .price-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #cf0024;
}

.plans-section .price-card.featured-plan {
  background: linear-gradient(145deg, rgba(39, 12, 17, 0.99), rgba(8, 9, 11, 0.99) 64%);
  border-color: rgba(220, 33, 60, 0.72);
}

.plans-section .price-card h3 {
  max-width: 100%;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.plans-section .price-card > p {
  max-width: 38rem;
  color: #e3e4e6;
  font-size: clamp(0.98rem, 1.25vw, 1.06rem);
  line-height: 1.6;
}

.plans-section .price-card > strong {
  display: inline-block;
  margin-top: 1.15rem;
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.plans-section .price-card ul {
  margin: 1.3rem 0 1.5rem;
}

.plans-section .price-card li {
  color: #f0f1f2;
  font-size: clamp(0.94rem, 1.1vw, 1rem);
  line-height: 1.55;
}

.plans-section .price-card li + li {
  margin-top: 0.58rem;
}

.plans-section .price-card a {
  display: flex;
  width: 100%;
  min-height: 3.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 0.95rem 1.15rem;
  background: #f4f1ea;
  border: 1px solid #f4f1ea;
  color: #0b0c0e;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  white-space: normal;
}

.plans-section .price-card.featured-plan a {
  background: #cf0024;
  border-color: #e22042;
  color: #ffffff;
}

.plans-section .price-card a:hover,
.plans-section .price-card a:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

@media (max-width: 860px) {
  .plans-section .price-card {
    padding: 1.6rem;
  }

  .plans-section .price-card h3 {
    font-size: clamp(1.85rem, 6vw, 2.35rem);
  }

  .plans-section .price-card > p,
  .plans-section .price-card li {
    font-size: 1rem;
  }

  .plans-section .price-card a {
    min-height: 3.65rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .plans-section .price-card {
    padding: 1.35rem 1.2rem 1.25rem;
  }

  .plans-section .price-card h3 {
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .plans-section .price-card > p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .plans-section .price-card li {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .plans-section .price-card a {
    min-height: 3.75rem;
    padding: 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.045em;
  }
}
