.plans-grid {
  display: grid;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.pricing-plans-grid {
  grid-template-columns: repeat(3, minmax(280px, 380px));
}

.account-plans-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.plan-price-skeleton {
  height: 52px;
  margin: 8px auto 4px;
  max-width: 180px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #eef1f4 25%,
    #f8f9fb 50%,
    #eef1f4 75%
  );
  background-size: 200% 100%;
  animation: plan-price-skeleton-pulse 1.2s ease-in-out infinite;
}

@keyframes plan-price-skeleton-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.plan-card {
  border: 2px solid #e8ecf0;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: all 0.22s;
  cursor: pointer;
  background: #fefefe;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.plan-card.active {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.plan-card.plan-card-yearly-diamond.active {
  border-color: #00bcd4;
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.14);
}

.plan-card.plan-card-yearly-black.active {
  border-color: #9c27b0;
  box-shadow: 0 0 0 4px rgba(156, 39, 176, 0.14);
}

.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-vue-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.plan-duration {
  font-size: 12px;
  color: #7a8a99;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.plan-promo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 3px 10px;
  margin: 0 auto 10px;
  background: #e8f5e9;
  color: #2e7d32;
}

.plan-promo-badge--hint {
  background: #f3f4f6;
  color: #64748b;
  font-weight: 600;
}

.plan-promo-badge--slots {
  background: #fff3e0;
  color: #e65100;
}

.plan-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-vue-teal);
}

.plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: #7a8a99;
}

.plan-price-first {
  font-size: 28px;
  font-weight: 700;
  color: #e53935;
}

.plan-price-first span {
  font-size: 14px;
  font-weight: 400;
  color: #7a8a99;
}

.plan-price-origin {
  font-size: 12px;
  color: #b0bec5;
  margin-top: 3px;
  text-decoration: line-through;
}

.plan-price-origin em {
  text-decoration: none;
  font-style: normal;
}

.plan-badge-discount {
  font-size: 11px;
  font-weight: 700;
  background: #fce4ec;
  color: #e53935;
  border-radius: 4px;
  padding: 1px 6px;
}

.plan-badge-fold {
  font-size: 11px;
  font-weight: 700;
  background: #e3f2fd;
  color: #1976d2;
  border-radius: 4px;
  padding: 1px 6px;
}

.plan-badge-save {
  font-size: 11px;
  font-weight: 700;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 4px;
  padding: 1px 6px;
}

.plan-perks {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  text-align: left;
  font-size: 12px;
  color: #546e7a;
  flex: 1;
}

.plan-perks li {
  padding: 4px 0;
  border-bottom: 1px dashed #eceff1;
}

.plan-quota-pct--50 { color: #1976d2; font-weight: 700; }
.plan-quota-pct--100 { color: var(--color-vue-teal); font-weight: 700; }
.plan-quota-pct--150 { color: #00bcd4; font-weight: 700; }
.plan-quota-pct--200 { color: #9c27b0; font-weight: 700; }

.plan-btn {
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  margin-top: auto;
}

.plan-btn-default {
  background: #f7f9fb;
  color: var(--color-vue-teal);
  border: 1px solid var(--color-vue-teal);
}

.plan-btn-active {
  background: var(--color-vue-teal);
  color: #fff;
}

.plan-unlock-hint {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 10px;
}

.plan-year-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 12px;
  font-size: 12px;
  color: #7a8a99;
}

.plan-year-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e8ecf0;
  background: #f7f9fb;
  cursor: pointer;
  font-family: inherit;
}

.plan-year-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.plan-year-qty-num {
  min-width: 28px;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .pricing-plans-grid,
  .account-plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

