@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #07070f;
  --bg-secondary: #0d0d1c;
  --bg-card: #111122;
  --bg-surface: #181830;
  --bg-console: #080810;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.25);
  --purple: #8b5cf6;
  --purple-dim: rgba(139, 92, 246, 0.12);
  --gradient: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
  --gradient-text: linear-gradient(135deg, #00d4ff, #a78bfa);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 255, 0.2);
  --success: #10b981;
  --success-dim: rgba(16, 185, 129, 0.12);
  --error: #ef4444;
  --error-dim: rgba(239, 68, 68, 0.12);
  --warning: #f59e0b;
  --shadow-card: 0 32px 64px -16px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --console-height: 280px;
  --console-bar: 48px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border-accent) transparent;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding-bottom: calc(var(--console-bar) + 16px);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Loading Overlay ─── */

#loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-rings {
  position: relative;
  width: 72px;
  height: 72px;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
}

.loader-ring-outer {
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  animation: spin 1.2s linear infinite;
}

.loader-ring-inner {
  inset: 12px;
  border-bottom-color: var(--purple);
  border-left-color: var(--purple);
  animation: spin 0.8s linear infinite reverse;
}

.loader-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.loader-bar-track {
  width: 180px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  animation: load-bar 1.8s ease-in-out forwards;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.6); }
}

@keyframes load-bar {
  0% { width: 0%; }
  40% { width: 60%; }
  80% { width: 85%; }
  100% { width: 100%; }
}

/* ─── Header ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--success);
  background: var(--success-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── Hero ─── */

.hero {
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ─── Scroll Animations ─── */

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.from-left {
  transform: translateX(-40px);
}

.scroll-reveal.from-right {
  transform: translateX(40px);
}

.scroll-reveal.from-scale {
  transform: scale(0.92);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }

/* ─── Payment Form ─── */

.payment-section {
  padding: 0 24px 80px;
}

.payment-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.6;
}

.card-header {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.card-body {
  padding: 28px 32px 32px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.form-label .req {
  color: var(--error);
  font-size: 14px;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color var(--transition);
}

.input-icon svg {
  width: 17px;
  height: 17px;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  background: rgba(0, 212, 255, 0.03);
}

.form-input:focus + .input-icon,
.input-wrap:focus-within .input-icon {
  color: var(--accent);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 20px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.amount-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
  min-height: 20px;
}

.amount-currency {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.amount-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s ease;
}

/* ─── Submit Button ─── */

.btn-pay {
  position: relative;
  width: 100%;
  height: 56px;
  margin-top: 28px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-pay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.35);
}

.btn-pay:hover::before {
  background: rgba(255, 255, 255, 0.08);
}

.btn-pay:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-pay:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.btn-ripple {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(100); opacity: 0; }
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.btn-pay.loading .btn-spinner { display: block; }
.btn-pay.loading .btn-label { display: none; }
.btn-pay.loading .btn-icon { display: none; }

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* ─── Status Alert ─── */

.form-alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: none;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.form-alert.visible {
  display: flex;
}

.form-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-alert.alert-error {
  background: var(--error-dim);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.form-alert.alert-error svg { color: var(--error); }

/* ─── Payment Modal ─── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
  animation: fade-in-overlay 0.3s ease;
}

@keyframes fade-in-overlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  width: 100%;
  max-width: 540px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  animation: slide-up-modal 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-up-modal {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}

.modal-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 20px;
  line-height: 1;
}

.modal-close:hover {
  background: var(--error-dim);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--error);
}

.modal-iframe-wrap {
  position: relative;
  height: 560px;
}

.modal-iframe-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  transition: opacity 0.4s ease;
}

.modal-iframe-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-iframe-loader .loader-rings {
  width: 48px;
  height: 48px;
}

#payment-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─── Features ─── */

.section {
  padding: 80px 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Methods ─── */

.methods-section {
  padding: 0 24px 80px;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.method-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.method-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.method-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.method-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 10px;
}

.badge-live {
  background: var(--success-dim);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ─── Console Panel ─── */

.console-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  max-height: calc(var(--console-height) + var(--console-bar));
  transform: translateY(calc(100% - var(--console-bar)));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.console-panel.open {
  transform: translateY(0);
}

.console-bar {
  height: var(--console-bar);
  background: #0a0a16;
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.console-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-bar-dots {
  display: flex;
  gap: 5px;
}

.console-bar-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.console-bar-title {
  font-size: 13px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
}

.console-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.console-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.console-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--accent-dim);
}

.console-btn svg {
  width: 13px;
  height: 13px;
}

.console-toggle-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.console-panel.open .console-toggle-icon {
  transform: rotate(180deg);
}

.console-body {
  height: var(--console-height);
  background: var(--bg-console);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow-y: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.2) transparent;
}

.console-body::-webkit-scrollbar { width: 4px; }
.console-body::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.2); border-radius: 2px; }

.console-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-muted);
}

.log-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 5px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.6;
  transition: background 0.15s ease;
}

.log-line:hover {
  background: rgba(255, 255, 255, 0.02);
}

.log-time {
  color: var(--text-muted);
  flex-shrink: 0;
  user-select: none;
}

.log-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}

.log-badge.info { background: rgba(0, 212, 255, 0.15); color: var(--accent); }
.log-badge.success { background: var(--success-dim); color: var(--success); }
.log-badge.error { background: var(--error-dim); color: var(--error); }
.log-badge.warn { background: rgba(245, 158, 11, 0.15); color: var(--warning); }

.log-msg {
  color: var(--text-secondary);
  word-break: break-all;
}

.log-msg .hl { color: var(--text-primary); }
.log-msg .hl-accent { color: var(--accent); }
.log-msg .hl-success { color: var(--success); }
.log-msg .hl-error { color: var(--error); }

/* ─── Footer ─── */

.site-footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-bottom: var(--console-bar);
}

.footer-text {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-text span {
  color: var(--text-secondary);
}

/* ─── Callback Page ─── */

.callback-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px calc(var(--console-bar) + 40px);
  text-align: center;
}

.status-card {
  max-width: 480px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
}

.status-card.success-card::before { background: var(--success); }
.status-card.error-card::before { background: var(--error); }
.status-card.pending-card::before { background: var(--warning); }

.status-icon-wrap {
  padding: 48px 32px 32px;
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.status-icon svg {
  width: 36px;
  height: 36px;
}

.success-icon {
  background: var(--success-dim);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-icon {
  background: var(--error-dim);
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
  animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pending-icon {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

@keyframes success-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.status-heading {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.status-subtext {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.status-details {
  padding: 0 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-key {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-val {
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px 32px 32px;
  padding: 13px 28px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3);
}

.btn-back svg {
  width: 16px;
  height: 16px;
}

.callback-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 32px;
}

.callback-loading p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ─── Responsive ─── */

@media (max-width: 600px) {
  .hero { padding: 56px 20px 48px; }
  .payment-section { padding: 0 16px 60px; }
  .card-body { padding: 24px 20px 28px; }
  .card-header { padding: 22px 20px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
}
