body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pay-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  min-height: calc(100vh - 74px);
  margin-top: 74px;
}

.pay-info {
  padding: 68px 52px;
  border-right: 1px solid rgba(150, 109, 255, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(139, 92, 246, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(14, 8, 26, 0.92), rgba(10, 6, 19, 0.96));
}

.pay-form-area {
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}

.pay-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #080310;
  background: linear-gradient(135deg, #facc15, #5ea7ff);
}

.pay-brand strong {
  font-size: 18px;
}

.pay-brand small {
  display: block;
  margin-top: 2px;
  color: var(--c-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pay-info h1 {
  font-size: 2.35rem;
  margin-bottom: 14px;
}

.pay-info > p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.72;
  margin-bottom: 34px;
}

.plan-selected {
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(150, 109, 255, 0.2);
  background: rgba(20, 12, 39, 0.76);
  margin-bottom: 30px;
  box-shadow: var(--shadow-soft);
}

.plan-selected label {
  display: block;
  margin-bottom: 8px;
  color: #d3beff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.plan-price {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #cdb7ff;
}

.plan-price small {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted);
}

.trust-items {
  display: grid;
  gap: 12px;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--c-muted);
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(150, 109, 255, 0.18);
}

.payment-headline {
  margin-bottom: 26px;
}

.payment-headline h2 {
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.payment-headline p,
.field-help,
.submit-note {
  color: var(--c-muted);
  font-size: 13px;
}

.pay-form {
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
}

.field input,
.field select,
.field textarea,
.static-box {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(150, 109, 255, 0.18);
  background: rgba(18, 10, 38, 0.7);
  color: var(--c-text);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(94, 167, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(94, 167, 255, 0.12);
  transform: translateY(-1px);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #706a97;
}

.static-box {
  font-weight: 800;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.method-option {
  position: relative;
}

.method-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(150, 109, 255, 0.18);
  background: rgba(18, 10, 38, 0.7);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.method-label:hover {
  transform: translateY(-1px);
  border-color: rgba(94, 167, 255, 0.3);
}

.method-option input[type="radio"]:checked + .method-label {
  border-color: rgba(94, 167, 255, 0.44);
  background: rgba(94, 167, 255, 0.08);
}

.method-emoji {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.bank-box {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(150, 109, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--c-text);
}

.bank-box p {
  margin-bottom: 4px;
  font-size: 13px;
}

.bank-title {
  margin-bottom: 10px;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bank-note {
  margin-top: 8px;
  color: #fde68a;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 16px;
  border: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  color: #090512;
  cursor: pointer;
  background: linear-gradient(135deg, #facc15, #8b5cf6 54%, #5ea7ff);
  box-shadow: 0 16px 32px rgba(139, 92, 246, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(139, 92, 246, 0.32);
}

.submit-btn:disabled {
  opacity: 0.66;
  cursor: not-allowed;
}

.submit-note {
  text-align: center;
  margin-top: 4px;
}

.success-screen {
  display: none;
  text-align: center;
  padding: 48px 24px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(94, 167, 255, 0.12);
  border: 2px solid rgba(94, 167, 255, 0.28);
  font-size: 34px;
}

.success-screen h2 {
  font-size: 1.8rem;
}

.success-screen p {
  font-size: 14px;
  color: var(--c-muted);
  max-width: 360px;
}

.ref-box {
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(94, 167, 255, 0.22);
  background: rgba(94, 167, 255, 0.08);
}

.ref-box strong {
  display: block;
  font-size: 18px;
  color: #d7ebff;
}

.ref-box small {
  font-size: 12px;
  color: var(--c-muted);
}

.form-error {
  display: none;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(251, 113, 133, 0.24);
  background: rgba(251, 113, 133, 0.08);
  color: #fecdd3;
  font-size: 13px;
}

.form-error.show {
  display: block;
}

@media (max-width: 980px) {
  .pay-layout {
    grid-template-columns: 1fr;
  }

  .pay-info {
    padding: 44px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(150, 109, 255, 0.16);
  }

  .pay-form-area {
    padding: 34px 24px 42px;
  }
}

@media (max-width: 680px) {
  .form-row,
  .method-grid {
    grid-template-columns: 1fr;
  }
}
