/* ── Payment Success Page ───────────────────────────────── */

.success-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 2rem 6rem;
  background: var(--bg);
}

.success-inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4f7e8 0%, #b8f0d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  margin-bottom: 2rem;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.08);
}

.success-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.success-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Email form */
.email-form {
  width: 100%;
  margin-bottom: 2rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.email-input {
  flex: 1;
  height: 52px;
  padding: 0 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.email-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.email-input::placeholder {
  color: var(--text-light);
}

.btn-unlock {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: var(--white);
  height: 52px;
  padding: 0 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-unlock:hover:not(:disabled) {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.btn-unlock:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Download section */
.download-section {
  width: 100%;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.download-ready {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 1.25rem;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-notion {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(26, 43, 74, 0.25);
}

.btn-notion:hover {
  background: #243f6b;
  transform: translateY(-1px);
}

.download-note {
  font-size: 0.8125rem;
  color: #166534;
  font-weight: 400;
  line-height: 1.5;
}

/* Error */
.form-error {
  width: 100%;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: #dc2626;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Next steps */
.next-steps {
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.next-steps h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.next-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.next-steps-list li > div {
  flex: 1;
}

.next-steps-list strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.next-steps-list p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

/* Utility */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 520px) {
  .form-row { flex-direction: column; }
  .btn-unlock { width: 100%; justify-content: center; height: 50px; }
  .success-page { padding: 3rem 1.5rem 4rem; }
}