#view-plans {
  --plan-blue: #60a5fa;
  --plan-gold: #f7c873;
}
.plans-principle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  margin-bottom: 18px;
}
.plans-principle > div:first-child {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
}
.principle-mark {
  display: grid;
  place-items: center;
  min-width: 76px;
  height: 76px;
  border: 1px solid rgba(110, 242, 165, 0.35);
  border-radius: 50%;
  color: #6ef2a5;
  font-size: 1.35rem;
  font-weight: 800;
}
.plans-principle h2 {
  margin: 3px 0 6px;
}
.plans-principle p {
  margin: 0;
  color: var(--muted);
}
.billing-switch,
.org-tabs {
  display: flex;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.billing-switch button,
.org-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 9px;
  font: inherit;
  cursor: pointer;
}
.billing-switch button.active,
.org-tabs button.active {
  background: #18382b;
  color: #fff;
}
.billing-switch small {
  display: block;
  font-size: 0.65rem;
  color: #6ef2a5;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  min-height: 440px;
}
.plan-card.featured {
  border-color: rgba(110, 242, 165, 0.55);
  box-shadow:
    0 0 0 1px rgba(110, 242, 165, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.18);
}
.plan-card.featured:before {
  content: "ΠΛΗΡΕΣ RESEARCH";
  position: absolute;
  right: 16px;
  top: 16px;
  color: #6ef2a5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.plan-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6ef2a5;
}
.plan-card h2 {
  font-size: 1.45rem;
  margin: 8px 0;
}
.plan-card > p {
  color: var(--muted);
  min-height: 48px;
}
.plan-price {
  display: flex;
  align-items: end;
  gap: 6px;
  margin: 16px 0;
}
.plan-price strong {
  font-size: 2.15rem;
  line-height: 1;
}
.plan-price span {
  color: var(--muted);
}
.plan-card ul {
  padding: 0;
  margin: 4px 0 20px;
  list-style: none;
  flex: 1;
}
.plan-card li {
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.plan-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6ef2a5;
}
.plan-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}
.organization-pricing {
  padding: 22px;
  margin-bottom: 18px;
}
.org-packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.org-package {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.org-package span {
  font-size: 0.72rem;
  color: #6ef2a5;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.org-package strong {
  display: block;
  font-size: 1.25rem;
  margin: 7px 0;
}
.org-package p,
.org-package small {
  color: var(--muted);
  margin: 0;
}
.credits-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 16px;
}
.credits-policy,
.credit-wallet {
  padding: 22px;
}
.credit-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.credit-uses span {
  padding: 8px 11px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  background: rgba(96, 165, 250, 0.08);
  border-radius: 999px;
  color: #cfe2ff;
}
.credits-policy > p,
.credit-wallet > small {
  color: var(--muted);
}
.credit-wallet button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  cursor: pointer;
}
.credit-wallet button:hover {
  border-color: #6ef2a5;
}
.credit-wallet small {
  display: block;
  margin-top: 12px;
  line-height: 1.45;
}
@media (max-width: 1250px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1050px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    min-height: 0;
  }
  .org-packages {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .plans-principle,
  .plans-principle > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }
  .billing-switch {
    width: 100%;
  }
  .billing-switch button {
    flex: 1;
  }
  .org-packages,
  .credits-layout {
    grid-template-columns: 1fr;
  }
  .organization-pricing .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .org-tabs {
    width: 100%;
  }
  .org-tabs button {
    flex: 1;
  }
}
