.pricing-main {
  padding-top: 42px;
  padding-bottom: 58px;
}

.pricing-hero {
  margin-bottom: 22px;
}

.pricing-hero h1 {
  margin: 0 0 10px;
}

.currency-note {
  margin-top: 8px;
  font-weight: 700;
  color: #2f4f89;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.plan-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dce6f4;
  border-radius: 14px;
  box-shadow: 0 12px 20px rgba(21, 47, 99, 0.08);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.plan-card.is-popular {
  border-color: #2f79d8;
  box-shadow: 0 16px 26px rgba(21, 71, 151, 0.18);
  transform: translateY(-2px);
}

.plan-card.is-selected {
  border-color: #1f68c8;
  box-shadow: 0 0 0 2px rgba(31, 104, 200, 0.2), 0 16px 26px rgba(21, 71, 151, 0.16);
}

.popular-badge {
  position: absolute;
  top: -11px;
  right: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: linear-gradient(180deg, #f8a23a, #ea8120);
  padding: 6px 10px;
  border-radius: 999px;
}

.plan-card h2 {
  margin: 0;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 1.5rem;
  color: #163a75;
}

.price {
  margin: 8px 0 8px;
  font-size: 2rem;
  font-weight: 800;
  color: #1e5fb9;
}

.price span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #496690;
  margin-left: 4px;
}

.plan-target {
  margin: 0;
  color: #506b93;
  font-weight: 600;
  font-size: 0.95rem;
}

.plan-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #36527e;
  line-height: 1.45;
  flex: 1;
}

.plan-card li + li {
  margin-top: 8px;
}

.plan-cta {
  margin-top: 16px;
  width: 100%;
}

.permission-card {
  margin-top: 8px;
}

.permission-card h2 {
  margin: 0 0 14px;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 1.4rem;
}

.matrix-wrap {
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.matrix-table th,
.matrix-table td {
  border: 1px solid #dce6f4;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.95rem;
}

.matrix-table th {
  background: #f1f6ff;
  color: #1d3f76;
  font-weight: 800;
}

.matrix-table td {
  color: #3f5d88;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: unset;
  }
}
