.pricing-section {
  padding-top: 126px;
  padding-bottom: 126px;
}

.pricing-heading {
  align-items: start;
}

.pricing-heading p {
  max-width: 395px;
  margin-top: 27px;
}

.pricing-heading p strong {
  color: var(--blue);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 58px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 326px;
  flex-direction: column;
  overflow: hidden;
  padding: 21px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 13px 30px rgba(30, 65, 120, .07);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}

.plan-card::after {
  position: absolute;
  right: -38px;
  bottom: -45px;
  width: 150px;
  height: 150px;
  content: "";
  border-radius: 50%;
  background: var(--plan-glow);
  filter: blur(8px);
  pointer-events: none;
}

.plan-card:hover {
  border-color: #bad2f0;
  box-shadow: 0 22px 45px rgba(30, 65, 120, .14);
  transform: translateY(-6px);
}

.plan-card--blue, .plan-card--violet, .plan-card--orange, .plan-card--green { --plan-accent: #1475e8; --plan-glow: rgba(40, 125, 240, .12); }
.plan-card--navy { --plan-accent: #8ec8ff; --plan-glow: rgba(93, 173, 255, .2); color: #fff; border-color: #1a4f9b; background: linear-gradient(150deg, #0d3d8a, #071d51); box-shadow: 0 17px 34px rgba(4, 24, 68, .18); }

.plan-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 23px;
}

.plan-index { color: #92a7c1; font-size: 10px; font-weight: 800; }
.plan-card--navy .plan-index { color: #8db5ec; }
.plan-discount { padding: 4px 7px; border-radius: 99px; color: var(--plan-accent); background: color-mix(in srgb, var(--plan-accent) 12%, transparent); font-size: 8px; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.plan-card--navy .plan-discount { color: #a6d1ff; background: rgba(101, 177, 255, .14); }
.plan-card h3 { position: relative; z-index: 1; margin: 28px 0 8px; font-size: 24px; font-weight: 680; line-height: 1; }
.plan-description { position: relative; z-index: 1; min-height: 60px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.plan-card--navy .plan-description { color: #b5ceed; }
.plan-price { position: relative; z-index: 1; display: flex; flex-direction: column; margin-top: 25px; }
.plan-original { color: #8c9cb1; font-size: 10px; text-decoration: line-through; }
.plan-card--navy .plan-original { color: #8eb3e6; }
.plan-price strong { display: flex; align-items: baseline; gap: 4px; margin-top: 3px; color: #1475e8; font-size: 27px; font-weight: 720; letter-spacing: -.07em; line-height: 1; white-space: nowrap; }
.plan-card--navy .plan-price strong { color: #8ec8ff; }
.plan-price strong small { color: inherit; font-size: 10px; font-weight: 650; letter-spacing: -.01em; }
.plan-billing { position: relative; z-index: 1; display: block; min-height: 30px; margin-top: 9px; color: #8293aa; font-size: 9px; line-height: 1.35; }
.plan-card--navy .plan-billing { color: #8eb3e6; }
.plan-link { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; margin-top: auto; padding: 10px 12px; border: 0; border-radius: 9px; color: #fff; background: #1475e8; box-shadow: 0 9px 18px rgba(20, 117, 232, .18); font-size: 10px; font-weight: 800; text-align: center; transition: background .25s ease, box-shadow .25s ease, transform .25s var(--ease); }
.plan-link:hover { color: #fff; background: #0b64d4; box-shadow: 0 13px 24px rgba(20, 117, 232, .26); transform: translateY(-2px); }
.plan-card--navy .plan-link { color: #06265b; background: #8ec8ff; box-shadow: 0 10px 20px rgba(0, 0, 0, .14); }
.plan-card--navy .plan-link:hover { color: #06265b; background: #b1dcff; }
.plan-link span:last-child { font-size: 16px; font-weight: 400; transition: transform .25s var(--ease); }.plan-link:hover span:last-child { transform: translate(2px, -2px); }
.pricing-note { display: flex; align-items: flex-start; gap: 8px; max-width: 850px; margin-top: 27px; color: #7a8ba1; font-size: 10px; line-height: 1.55; }.pricing-note .check-icon { flex: 0 0 auto; }

@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pricing-section { padding-top: 96px; padding-bottom: 96px; }
  .pricing-heading p { margin-top: 0; }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
}

@media (max-width: 620px) {
  .pricing-section { padding-top: 84px; padding-bottom: 84px; }
  .plans-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 35px; }
  .plan-card { min-height: 282px; padding: 20px; }
  .plan-card h3 { margin-top: 24px; }
  .plan-description { min-height: 48px; }
  .plan-price { margin-top: 20px; }
  .pricing-note { font-size: 9px; }
}
