.hq-pay-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 26px 24px;
  margin-bottom: 24px;
  color: #f3f4f6;
}
.hq-pay-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.hq-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(217, 104, 0, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 166, 35, 0.5);
}
.hq-step-pill-locked {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
}
.hq-pay-card h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}
.hq-pay-sub {
  margin: 0 0 18px;
  color: #9ca3af;
  font-size: 0.96rem;
}
.hq-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.hq-plan-btn {
  text-align: right;
  background: #162033;
  border: 1.5px solid #2b384e;
  border-radius: 14px;
  padding: 16px;
  color: #f3f4f6;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.hq-plan-btn:hover {
  border-color: #f5a623;
}
.hq-plan-btn.is-selected {
  border: 1.5px solid #f5a623;
  background: linear-gradient(180deg, rgba(217, 104, 0, 0.22) 0%, rgba(180, 75, 4, 0.12) 100%);
  box-shadow: 0 0 20px rgba(217, 104, 0, 0.28);
}
.hq-plan-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.hq-plan-badge {
  font-size: 0.76rem;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(217, 104, 0, 0.24);
  color: #fbbf24;
  border: 1px solid rgba(245, 166, 35, 0.45);
}
.hq-plan-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}
.hq-plan-meta {
  font-size: 0.86rem;
  color: #9ca3af;
}
.hq-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.hq-pay-primary {
  background: linear-gradient(180deg, #d96800 0%, #b44b00 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #f5a623 !important;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1.04rem;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 22px rgba(217, 104, 0, 0.36);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hq-pay-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(245, 166, 35, 0.48);
}
.hq-pay-primary:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}
.hq-pay-alt {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.92rem;
  font-weight: 700;
}
.hq-pay-feedback {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: #fca5a5;
  min-height: 1.2em;
}
.hq-pending-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(217, 104, 0, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.45);
  color: #ffedd5;
  font-size: 0.93rem;
}
.hq-code-box {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #1f2937;
}
.hq-code-box h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #e5e7eb;
}
.hq-code-hint {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: #9ca3af;
}
.hq-code-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hq-code-input {
  flex: 1 1 240px;
  background: #0b1120 !important;
  border: 1.5px solid #334155 !important;
  border-radius: 10px;
  color: #f3f4f6 !important;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}
.hq-code-input::placeholder {
  color: #64748b !important;
}
.hq-code-input:focus {
  outline: none;
  border-color: #f5a623 !important;
}
.hq-code-submit {
  background: #1f2937;
  color: #f9fafb;
  border: 1.5px solid #374151;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.hq-code-submit:hover:not(:disabled) {
  background: rgba(217, 104, 0, 0.2);
  border-color: #f5a623;
  color: #fbbf24;
}
.hq-code-where {
  margin: 14px 0 0;
  padding-right: 18px;
  color: #9ca3af;
  font-size: 0.86rem;
}
.hq-code-where li { margin-bottom: 4px; }
.hq-paid-banner {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 12px;
  padding: 16px 18px;
  color: #d1fae5;
  font-weight: 700;
}
.hq-btn-locked {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.4);
}
.hq-lock-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: #fcd34d;
  font-weight: 700;
}

.hq-soon-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.45);
  margin-right: 6px;
}
