.plans-comparison {
  position: relative;
  overflow: hidden;
}

.plans-comparison::before {
  content: "";
  position: absolute;
  inset: 12% -10% auto;
  z-index: -1;
  height: 520px;
  background:
    radial-gradient(circle at 30% 35%, rgba(0, 122, 255, 0.18), transparent 32%),
    radial-gradient(circle at 72% 42%, rgba(34, 211, 238, 0.16), transparent 34%);
  filter: blur(28px);
  pointer-events: none;
}

.plans-comparison__header {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}

.plans-comparison__header p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.55;
}

.plans-comparison__table-wrap {
  overflow-x: auto;
  padding: 4px;
}

.plans-comparison__table {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 12px 0;
  color: rgba(255, 255, 255, 0.78);
}

.plans-comparison__table th,
.plans-comparison__table td {
  width: 25%;
  padding: 22px 24px;
  border-right: 0;
  border-bottom: 0;
  vertical-align: top;
  text-align: left;
}

.plans-comparison__table thead th:first-child {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px 20px 0 0;
}

.plans-comparison__table thead th:not(:first-child) {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(12, 17, 30, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.085);
  border-left: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 22px 22px 0 0;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.plans-comparison__table thead th:not(:first-child)::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.plans-comparison__table thead th span,
.plans-comparison__table thead th strong,
.plans-comparison__table thead th small {
  display: block;
}

.plans-comparison__table thead th span {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.1;
}

.plans-comparison__table thead th strong {
  margin-top: 14px;
  color: #41a5ff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  /*text-shadow: 0 0 18px rgba(0, 122, 255, 0.45);*/
}

.plans-comparison__table thead th small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 400;
}

.plans-comparison__table thead th.is-featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(65, 165, 255, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(0, 122, 255, 0.18), rgba(34, 211, 238, 0.065)),
    rgba(12, 17, 30, 0.92);
  border-color: rgba(65, 165, 255, 0.36);
  box-shadow:
    0 24px 90px rgba(0, 122, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.plans-comparison__table tbody th {
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.035);
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  border-left: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.plans-comparison__table tbody td {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.024)),
    rgba(12, 17, 30, 0.74);
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  border-left: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.52;
}

.plans-comparison__table tbody td:nth-child(3) {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(0, 122, 255, 0.095), rgba(34, 211, 238, 0.035)),
    rgba(12, 17, 30, 0.82);
  border-color: rgba(65, 165, 255, 0.2);
}

.plans-comparison__table tbody tr:last-child th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0 0 20px 20px;
}

.plans-comparison__table tbody tr:last-child td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0 0 22px 22px;
}

.plans-comparison__no {
  color: rgba(255, 255, 255, 0.38);
}

.plans-comparison__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 0 4px;
}

.plans-comparison__footer p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .plans-comparison {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .plans-comparison__header {
    text-align: left;
  }

  .plans-comparison__header p {
    font-size: 15px;
  }

  .plans-comparison__table-wrap {
    border-radius: 18px;
  }

  .plans-comparison__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .plans-comparison__footer .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
