/* =============================================================
   White-Label Checkout — Stylesheet
   Colours driven by CSS variables set inline from config.php
   ============================================================= */

:root {
  --primary:        #7c3aed;
  --primary-light:  #a78bfa;
  --primary-dark:   #5b21b6;
  --secondary:      #06b6d4;
  --bg:             #050508;
  --bg-card:        #0e0e18;
  --bg-card-hover:  #141426;
  --bg-input:       #0a0a14;
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(255,255,255,0.12);
  --text:           #e2e8f0;
  --text-muted:     #94a3b8;
  --text-dim:       #64748b;
  --success:        #10b981;
  --warning:        #f59e0b;
  --error:          #ef4444;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; }
ul { list-style: none; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  background: rgba(5,5,8,.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.logo-mark {
  width: 30px; height: 30px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.navbar-links {
  display: flex;
  gap: 2rem;
}
.navbar-links a { color: var(--text-muted); font-size: .9rem; }
.navbar-links a:hover { color: var(--text); }
.navbar-cta {
  background: var(--primary);
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
}
.navbar-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  outline: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover {
  background: var(--primary-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.4);
}
.btn-secondary {
  background: rgba(6,182,212,.12);
  color: var(--secondary);
  border: 1px solid rgba(6,182,212,.2);
}
.btn-secondary:hover {
  background: rgba(6,182,212,.2); color: var(--secondary);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(124,58,237,.05);
}
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.04); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: .9; transform: translateY(-1px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-60%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(124,58,237,.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.25);
  color: var(--primary-light);
  padding: .3rem .8rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .pulse-dot {
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .1rem; }

/* ── Mock payment card ──────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  width: 300px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(124,58,237,.08);
  animation: float 3.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.mock-card-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-badge {
  background: rgba(16,185,129,.12);
  color: var(--success);
  padding: .2rem .55rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
}
.mock-amount {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .2rem;
}
.mock-sub { font-size: .8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.mock-methods {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.mock-chip {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .35rem .65rem;
  font-size: .72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.mock-chip.active {
  border-color: rgba(124,58,237,.4);
  background: rgba(124,58,237,.1);
  color: var(--primary-light);
}
.mock-progress { height: 3px; background: var(--border); border-radius: 100px; overflow: hidden; margin-bottom: .6rem; }
.mock-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
}
.mock-footer { font-size: .7rem; color: var(--text-dim); text-align: center; }

/* Floating mini-cards */
.float-chip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  z-index: 3;
}
.float-chip-1 { top: -24px; right: -24px; animation: float 3.5s ease-in-out infinite .6s; }
.float-chip-2 { bottom: 0; left: -44px; animation: float 3.5s ease-in-out infinite 1.2s; }
.chip-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.chip-icon-green { background: rgba(16,185,129,.15); }
.chip-icon-blue  { background: rgba(6,182,212,.15); }
.chip-label { font-size: .68rem; color: var(--text-dim); }
.chip-value { font-size: .82rem; font-weight: 700; }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: rgba(124,58,237,.1);
  color: var(--primary-light);
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-desc { margin-inline: auto; }

/* ── Feature cards ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all .3s;
}
.feature-card:hover {
  border-color: rgba(124,58,237,.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.fi-purple { background: rgba(124,58,237,.15); }
.fi-cyan   { background: rgba(6,182,212,.15); }
.fi-green  { background: rgba(16,185,129,.15); }
.fi-amber  { background: rgba(245,158,11,.15); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ── Steps (How it works) ───────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 26px; left: 80px; right: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.2), rgba(6,182,212,.2), transparent);
}
.step-box { text-align: center; padding: 1.5rem 1rem; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(124,58,237,.1);
  border: 2px solid rgba(124,58,237,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  color: var(--primary-light);
  margin: 0 auto 1.25rem;
}
.step-box h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.step-box p  { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ── CTA section ────────────────────────────────────────────── */
.cta-section {
  padding: 5rem 2rem;
  text-align: center;
}
.cta-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124,58,237,.08), transparent 70%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: .75rem; }
.cta-box p  { color: var(--text-muted); margin-bottom: 2rem; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-weight: 700; color: var(--text); font-size: .95rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-dim); font-size: .83rem; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: .78rem; color: var(--text-dim); }
.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: .85rem;
  transition: all .2s;
}
.footer-socials a:hover { border-color: var(--primary); color: var(--primary-light); }

/* ── Pay page layout ────────────────────────────────────────── */
.pay-page {
  min-height: 100vh;
  padding-top: 64px;
}
.pay-header {
  text-align: center;
  padding: 2.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pay-header h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .35rem; }
.pay-header p   { color: var(--text-muted); font-size: .9rem; }

.pay-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.card-title {
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.step-dot {
  width: 22px; height: 22px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800;
  color: var(--primary-light);
  flex-shrink: 0;
}
.step-dot.done {
  background: rgba(16,185,129,.15);
  border-color: rgba(16,185,129,.3);
  color: var(--success);
}

/* ── Form elements ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .4rem;
}
.form-input, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .72rem 1rem;
  font-size: .93rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
.form-input:focus, .form-select:focus {
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,.08);
}
.form-input::placeholder { color: var(--text-dim); }
.form-hint { font-size: .75rem; color: var(--text-dim); margin-top: .3rem; }
.form-error { font-size: .75rem; color: var(--error); margin-top: .3rem; display: none; }
.form-error.visible { display: block; }
.input-invalid { border-color: var(--error) !important; }

/* Inline select addon */
.input-with-select {
  display: flex;
  gap: 0;
}
.input-with-select .form-input {
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: none;
  flex: 1;
}
.input-with-select .form-select {
  border-radius: 0 var(--radius) var(--radius) 0;
  width: auto;
  min-width: 110px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .6rem center;
  background-size: 14px;
  padding-right: 2rem;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 14px;
  padding-right: 2.25rem;
  cursor: pointer;
}
optgroup { background: var(--bg-card); }
option   { background: var(--bg-input); }

/* ── Payment method options ─────────────────────────────────── */
.options-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.option-item {
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.option-item:hover { border-color: rgba(124,58,237,.3); background: rgba(124,58,237,.04); }
.option-item.selected { border-color: var(--primary); background: rgba(124,58,237,.08); }
.option-radio {
  width: 18px; height: 18px;
  border: 2px solid var(--border-hover);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.option-item.selected .option-radio { border-color: var(--primary); }
.option-item.selected .option-radio::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.option-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.option-info { flex: 1; min-width: 0; }
.option-name { font-weight: 600; font-size: .9rem; }
.option-desc { font-size: .75rem; color: var(--text-muted); margin-top: .1rem; }
.option-fee  { text-align: right; flex-shrink: 0; }
.option-fee-val   { font-size: .8rem; font-weight: 600; }
.option-fee-label { font-size: .72rem; color: var(--text-dim); margin-top: .1rem; }

/* ── Order summary sidebar ──────────────────────────────────── */
.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 84px;
}
.summary-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 1.25rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row.total {
  font-size: .95rem;
  font-weight: 700;
  border-top: 1px solid var(--border-hover);
  border-bottom: none;
  padding-top: .75rem;
  margin-top: .25rem;
}
.summary-label { color: var(--text-muted); }
.summary-value { font-weight: 600; }
.summary-value.accent { color: var(--primary-light); }
.summary-empty {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-dim);
  font-size: .82rem;
}

/* ── Alert ──────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-bottom: 1rem;
}
.alert-icon { font-size: 1rem; flex-shrink: 0; margin-top: .05rem; }
.alert-info    { background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.2); color: var(--secondary); }
.alert-warning { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2); color: var(--warning); }
.alert-error   { background: rgba(239,68,68,.08);  border: 1px solid rgba(239,68,68,.2);  color: var(--error); }
.alert-success { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2); color: var(--success); }

/* ── Loading ─────────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .75s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
.spinner-primary {
  border-color: rgba(124,58,237,.2);
  border-top-color: var(--primary);
}
.spinner-lg {
  width: 44px; height: 44px;
  border-width: 3px;
}
.loading-state {
  text-align: center;
  padding: 2.5rem 1rem;
}
.loading-state p { color: var(--text-muted); font-size: .875rem; margin-top: 1rem; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

/* ── Tag / chip ──────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .2rem .6rem;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Fee preview inline ──────────────────────────────────────── */
.fee-preview {
  background: rgba(124,58,237,.05);
  border: 1px solid rgba(124,58,237,.12);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-top: .75rem;
  display: none;
}
.fee-preview.visible { display: block; }
.fee-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-muted);
  padding: .2rem 0;
}
.fee-row.total-row {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: .5rem;
  margin-top: .25rem;
}

/* ── Step progress header ─────────────────────────────────────── */
.progress-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.25rem;
  margin-bottom: .5rem;
}
.prog-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
}
.prog-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700;
  color: var(--text-dim);
  transition: all .3s;
}
.prog-num.active { border-color: var(--primary); background: rgba(124,58,237,.15); color: var(--primary-light); }
.prog-num.done   { border-color: var(--success);  background: rgba(16,185,129,.15);  color: var(--success); }
.prog-label { color: var(--text-dim); transition: color .3s; }
.prog-step.active .prog-label { color: var(--text-muted); }
.prog-step.done  .prog-label  { color: var(--text-dim); }
.prog-line {
  height: 2px; width: 50px;
  background: var(--border);
  margin: 0 .5rem;
  transition: background .3s;
  flex-shrink: 0;
}
.prog-line.done { background: rgba(124,58,237,.4); }

/* ── Success state ────────────────────────────────────────────── */
.success-icon-lg {
  width: 72px; height: 72px;
  background: rgba(16,185,129,.12);
  border: 2px solid rgba(16,185,129,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.redirect-bar {
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin: 1.25rem 0;
}
.redirect-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  transition: width 3s linear;
  width: 0;
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .55; transform: scale(.8); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up { animation: fadeUp .4s ease forwards; }
.anim-fade-in { animation: fadeIn .3s ease forwards; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .pay-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .navbar-links { display: none; }
  .steps-grid::before { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 5.5rem 1.25rem 3.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .section { padding: 3.5rem 1.25rem; }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .navbar-cta { display: none; }
  .progress-header { gap: .25rem; }
  .prog-line { width: 28px; }
  .prog-label { display: none; }
}
