.plans-main {
  padding-bottom: 56px;
}

.plans-stage {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  display: grid;
  align-content: start;
  gap: 24px;
  border-radius: 34px;
  border: 1px solid rgba(123, 158, 255, 0.2);
  background:
    radial-gradient(circle at top left, rgba(86, 132, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(119, 78, 255, 0.14), transparent 28%),
    linear-gradient(165deg, #0d1730 0%, #122245 58%, #0d1a37 100%);
  padding: 30px 28px 30px;
  box-shadow: 0 28px 60px rgba(4, 11, 28, 0.42);
}



.plans-stage > * {
  position: relative;
  z-index: 1;
}

.plans-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 420px);
  gap: 22px;
  align-items: start;
  min-height: 0;
}

.plans-copy,
.plans-highlight,
.plans-featured-context,
.plans-review-strip,
.plans-grid {
  align-self: start;
}

.plans-copy {
  display: grid;
  align-content: start;
}

.plans-highlight {
  height: fit-content;
}

.plans-kicker,
.plans-context-kicker,
.plans-highlight-kicker,
.plan-tone {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plans-kicker,
.plans-context-kicker,
.plan-tone {
  color: #8fb5ff;
}

.plans-copy h1 {
  margin-top: 12px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f4f7ff;
}

.plans-copy > p:last-of-type {
  margin-top: 16px;
  max-width: 640px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: #9eb5e1;
}

.plans-pills {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.plans-pills span {
  border-radius: 999px;
  border: 1px solid rgba(134, 170, 255, 0.2);
  background: rgba(16, 31, 64, 0.76);
  color: #dbe7ff;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

.plans-highlight {
  border-radius: 26px;
  border: 1px solid rgba(138, 173, 255, 0.16);
  background: linear-gradient(180deg, rgba(19, 37, 74, 0.92), rgba(14, 27, 57, 0.9));
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.plans-highlight-kicker {
  color: #a8c0ff;
}

.plans-highlight h2 {
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: #f4f7ff;
}

.plans-highlight p {
  margin-top: 12px;
  line-height: 1.68;
  color: #9db2dc;
}

.plans-highlight-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plans-highlight-metrics article {
  border-radius: 18px;
  border: 1px solid rgba(135, 170, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 12px;
}

.plans-highlight-metrics strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  color: #f4f7ff;
}

.plans-highlight-metrics span {
  display: block;
  margin-top: 6px;
  color: #91a7d0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.plans-featured-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 176, 103, 0.26);
  background:
    radial-gradient(circle at top right, rgba(255, 174, 99, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(35, 28, 32, 0.94), rgba(22, 30, 53, 0.95));
}

.plans-featured-context.hidden {
  display: none;
}

.plans-featured-copy h2 {
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  color: #fff6ee;
}

.plans-featured-copy p:last-child {
  margin-top: 12px;
  line-height: 1.7;
  color: #dbc8ba;
}

.plans-featured-summary {
  display: grid;
  gap: 10px;
}

.plans-summary-row {
  border-radius: 18px;
  border: 1px solid rgba(255, 206, 166, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
}

.plans-summary-row span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9bba1;
}

.plans-summary-row strong {
  display: block;
  margin-top: 6px;
  color: #fff6ee;
  font-size: 1rem;
  line-height: 1.45;
}

.plans-featured-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
}

.plans-featured-actions p {
  color: #c9d4ec;
  font-size: 0.95rem;
}

.plans-secondary-btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(163, 188, 243, 0.28);
  background: rgba(20, 33, 61, 0.9);
  color: #eff4ff;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.plans-secondary-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(194, 213, 255, 0.4);
  background: rgba(26, 42, 78, 0.95);
}

.billing-toggle {
  margin: 24px auto 0;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(128, 160, 247, 0.18);
  background: rgba(12, 25, 53, 0.88);
  position: relative;
  left: 10%;
  transform: translateX(-50%);
}

.billing-label {
  font-size: 0.96rem;
  font-weight: 600;
  color: #7f99c9;
  transition: color 0.22s ease;
}

.billing-label.active {
  color: #eff4ff;
}

.billing-switch {
  width: 50px;
  height: 28px;
  border: 1px solid rgba(103, 146, 245, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, #285ef0, #4e7dff);
  position: relative;
  cursor: pointer;
}

.billing-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 3px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.24);
  transition: transform 0.24s ease;
}

.billing-toggle.yearly .billing-knob {
  transform: translateX(22px);
}

.billing-save {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #dce7ff;
  background: rgba(97, 140, 255, 0.18);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  border-radius: 26px;
  border: 1px solid rgba(132, 166, 243, 0.14);
  background: linear-gradient(180deg, rgba(18, 34, 68, 0.96), rgba(14, 26, 53, 0.94));
  padding: 22px 20px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 14px;
}

.plan-card-tenant {
  background:
    radial-gradient(circle at top right, rgba(120, 125, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(22, 35, 75, 0.98), rgba(15, 28, 57, 0.96));
}

.plan-card-owner {
  border-color: rgba(255, 162, 95, 0.26);
  background:
    radial-gradient(circle at top right, rgba(255, 159, 78, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(40, 29, 35, 0.98), rgba(20, 25, 51, 0.96));
}

.plan-card-owner.is-priority {
  box-shadow:
    0 22px 42px rgba(255, 120, 84, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.plan-badge {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eef3ff;
  background: linear-gradient(135deg, #3d6eff, #6f60ff);
}

.plan-badge-owner {
  background: linear-gradient(135deg, #ff9b4b, #ff5f7d);
}

.plan-card h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.52rem;
  color: #f4f7ff;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border-top: 1px solid rgba(143, 175, 245, 0.12);
  padding-top: 14px;
  color: #f4f7ff;
}

.plan-currency {
  font-size: 1.24rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.plan-amount {
  font-family: "Sora", sans-serif;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-period {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #92aad6;
}

.plan-copy {
  color: #9bb1da;
  line-height: 1.65;
}

.plan-list {
  display: grid;
  gap: 10px;
}

.plan-list li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  color: #c9d8f4;
  line-height: 1.45;
}

.plan-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.38em;
  background: radial-gradient(circle at 35% 35%, #bfe6ff, #4c8eff);
  box-shadow: 0 0 0 2px rgba(110, 156, 240, 0.18);
}

.plan-cta {
  margin-top: auto;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(104, 149, 243, 0.32);
  background: linear-gradient(130deg, #255ee7, #4a7bff);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.plan-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(34, 88, 218, 0.24);
  filter: brightness(1.02);
}

.plan-cta-owner {
  background: linear-gradient(135deg, #ff9648, #ff5d72);
  border-color: rgba(255, 163, 97, 0.28);
}

.plan-cta-owner:hover {
  box-shadow: 0 16px 28px rgba(255, 111, 111, 0.2);
}

.plans-review-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plans-review-strip article {
  border-radius: 22px;
  border: 1px solid rgba(132, 166, 243, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.plans-review-strip span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #dce8ff;
  border: 1px solid rgba(140, 178, 255, 0.24);
  background: rgba(86, 122, 255, 0.14);
}

.plans-review-strip strong {
  display: block;
  margin-top: 12px;
  color: #f4f7ff;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.plans-review-strip p {
  margin-top: 10px;
  color: #97add7;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .plans-hero,
  .plans-featured-context,
  .plans-grid,
  .plans-review-strip {
    grid-template-columns: 1fr;
  }

  .plans-highlight-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .plans-stage {
    padding: 28px 16px 22px;
    border-radius: 24px;
  }

  .plans-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .plans-pills {
    gap: 8px;
  }

  .plans-pills span {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .plans-featured-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .billing-toggle {
    gap: 8px;
    padding: 8px 10px;
  }

  .billing-save {
    display: none;
  }

  .plan-card,
  .plans-review-strip article {
    border-radius: 18px;
  }
}
