.sub-card {
  border: 1px solid rgba(99, 102, 241, 0.16) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 255, 0.96)) !important;
}

.sub-lead {
  margin: 0 0 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.sub-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4338ca;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 999px;
  display: inline-flex;
  padding: 5px 10px;
  margin-bottom: 12px;
}

.sub-promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 6px;
}

.sub-promo-input {
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  background: #fff;
  color: #1f2937;
}

.sub-promo-btn {
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 10px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
}

.sub-promo-btn:hover {
  border-color: rgba(99, 102, 241, 0.45);
}

.sub-promo-hint {
  margin: 0 0 10px;
  font-size: 11px;
  color: #64748b;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sub-plan {
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.sub-plan--pro {
  background: linear-gradient(160deg, rgba(67, 56, 202, 0.95), rgba(99, 102, 241, 0.95));
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sub-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sub-plan h4 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 22px;
  line-height: 1;
}

.sub-price {
  font-size: 11px;
  font-weight: 700;
  color: #1e3a8a;
}

.sub-plan--pro .sub-price {
  color: #e0e7ff;
}

.sub-badge {
  font-size: 10px;
  font-weight: 700;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 4px 8px;
}

.sub-note {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.sub-plan--pro .sub-note,
.sub-plan--pro .sub-list li {
  color: rgba(255, 255, 255, 0.9);
}

.sub-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 4px;
}

.sub-list li {
  font-size: 11px;
  color: #334155;
}

.sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sub-btn {
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  color: #1f2937;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
}

.sub-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.sub-btn.is-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), 0 0 0 2px rgba(67, 56, 202, 0.45);
}

.sub-btn--pro,
.sub-btn--yearly {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.sub-btn--pro {
  background: rgba(255, 255, 255, 0.14);
}

.sub-btn--yearly {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.sub-check {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  color: #334155;
}

.sub-check input {
  margin-top: 2px;
}

.sub-plan.is-active {
  border-color: rgba(67, 56, 202, 0.6);
  box-shadow: 0 10px 24px rgba(67, 56, 202, 0.22);
}

#reg-subscription-card .sub-grid {
  grid-template-columns: 1fr;
}

#reg-subscription-card .sub-plan {
  cursor: pointer;
}

@media (max-width: 980px) {
  .sub-grid {
    grid-template-columns: 1fr;
  }
}
