:root {
  --bg: #0b1220;
  --bg2: #0f1829;
  --surface: #141e30;
  --surface2: #1a2740;
  --border: #243352;
  --text: #eef2f8;
  --muted: #8b9bb8;
  --accent: #00d4a0;
  --accent-dim: rgba(0, 212, 160, 0.12);
  --bch: #0ac18e;
  --warm: #ff7a45;
  --warm-dim: rgba(255, 122, 69, 0.12);
  --danger: #ff5c5c;
  --radius: 16px;
  --radius-sm: 12px;
  --font: 'Syne', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --max: 1080px;
  --buy-max: 440px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: #061018;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
  filter: none;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  width: 100%;
  margin-top: 10px;
}
.btn-success {
  background: linear-gradient(135deg, var(--accent), #00a87a);
  color: #061018;
  width: 100%;
}
.btn-lg { padding: 16px 28px; font-size: 1.05rem; border-radius: 14px; }
.btn-nav {
  background: var(--accent);
  color: #061018;
  padding: 10px 16px;
  font-size: 0.85rem;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.nav-brand span { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-link {
  font-size: 0.85rem;
  color: var(--muted);
  display: none;
}
@media (min-width: 640px) {
  .nav-link { display: inline; }
  .nav { padding: 14px 32px; }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 48px 20px 56px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 60%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 212, 160, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 122, 69, 0.12), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 160, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero-title {
  font-size: clamp(2rem, 7vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.hero-accent {
  background: linear-gradient(105deg, var(--accent), #5dffc8 40%, var(--warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 360px;
  margin: 0 auto 28px;
}
@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
  .hero-ctas .btn { width: auto; }
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
}

/* ── Operator strip ── */
.strip {
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  text-align: center;
}
.strip-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  font-family: var(--mono);
  margin-bottom: 14px;
}
.strip-ops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 12px;
}
.strip-op {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
}
.op-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.op-dot.vodacom { background: #e60000; }
.op-dot.movitel { background: #00a651; }
.op-dot.tmcel { background: #0066b3; }
.strip-note {
  font-size: 0.68rem;
  color: var(--muted);
  font-family: var(--mono);
}

/* ── Sections ── */
.section {
  padding: 56px 20px;
}
.section-alt { background: var(--bg2); }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1rem;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.step-num {
  width: 32px; height: 32px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 212, 160, 0.3);
}
.step-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Buy panel ── */
.section-buy { padding-top: 40px; }
.buy-wrap { max-width: var(--buy-max); }
.buy-intro { margin-bottom: 8px; }
.buy-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 16px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.steps-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.step-dot {
  width: 28px; height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.25s;
}
.step-dot.active { background: var(--accent); }
.step-dot.done { background: var(--warm); }

.step-label {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--mono);
}

.screen { display: none; animation: fadeUp 0.28s ease; }
.screen.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.card-label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--mono);
}

.operators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.op-btn {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}
.op-btn.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.op-icon { font-size: 1.4rem; display: block; margin-bottom: 4px; }
.op-name { font-size: 0.72rem; font-weight: 700; }
.op-prefix {
  font-size: 0.58rem;
  color: var(--muted);
  font-family: var(--mono);
  margin-top: 2px;
}

.input-group label {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-family: var(--mono);
}
.input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.input-wrap:focus-within { border-color: var(--accent); }
.input-prefix {
  padding: 0 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.85rem;
  background: var(--accent-dim);
  height: 48px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
}
input[type="tel"],
input[type="number"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--mono);
  padding: 0 14px;
  height: 48px;
  width: 100%;
}
input::placeholder { color: var(--muted); }

.presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.preset-btn {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 4px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
}
.preset-btn.selected {
  border-color: var(--warm);
  color: var(--warm);
  background: var(--warm-dim);
}

.crypto-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.crypto-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-family: var(--mono);
  color: var(--muted);
  width: 100%;
  text-align: left;
}
.crypto-btn .c-icon { font-size: 1.15rem; }
.crypto-btn .c-name { flex: 1; font-weight: 700; color: var(--text); }
.crypto-btn .c-badge {
  font-size: 0.58rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(10, 193, 142, 0.15);
  color: var(--bch);
  border: 1px solid rgba(10, 193, 142, 0.35);
}
.crypto-btn.bch-first {
  border-color: rgba(10, 193, 142, 0.45);
  background: rgba(10, 193, 142, 0.06);
}
.crypto-btn.bch-first .c-name { color: var(--bch); }
.crypto-btn.selected {
  border-color: var(--bch);
  background: rgba(10, 193, 142, 0.1);
}
.crypto-btn.selected .c-name { color: var(--bch); }
.crypto-btn:not(.bch-first).selected {
  border-color: var(--warm);
  background: var(--warm-dim);
  color: var(--warm);
}
.crypto-btn:not(.bch-first).selected .c-name { color: var(--warm); }

.bch-hint {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--bch);
  font-family: var(--mono);
  text-align: center;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.62rem;
  color: var(--muted);
  padding: 14px 4px 0;
  line-height: 1.5;
  font-family: var(--mono);
}

#nextBtn, .btn-success { width: 100%; margin-top: 4px; padding: 16px; font-size: 1rem; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--muted); font-size: 0.75rem; }
.summary-row .value { font-family: var(--mono); font-size: 0.82rem; }
.summary-row .value.highlight { color: var(--accent); }
.summary-row .value.crypto { color: var(--warm); }
.summary-row .value.ref {
  color: var(--accent);
  cursor: pointer;
  font-size: 0.72rem;
}

.payment-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.qr-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-wrap img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder {
  font-size: 0.7rem;
  color: #333;
  text-align: center;
  padding: 8px;
}
.crypto-amount {
  font-size: 1.45rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--warm);
  margin-bottom: 4px;
}
.crypto-sub { font-size: 0.72rem; color: var(--muted); margin-bottom: 12px; }
.address-box {
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 10px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  word-break: break-all;
  cursor: pointer;
}
.address-hint {
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 6px;
  font-family: var(--mono);
}
.polling-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--mono);
  margin: 12px 0 6px;
}
.spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.timer-row {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.timer-value { color: var(--accent); font-size: 0.9rem; }

.status-card { text-align: center; padding: 28px 16px; }
.status-icon { font-size: 2.8rem; margin-bottom: 8px; }
.status-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.status-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; line-height: 1.5; }
.receipt {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
}

/* ── Pay methods ── */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .pay-grid { grid-template-columns: 1fr 1fr; }
}
.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.pay-card.pay-bch {
  border-color: rgba(10, 193, 142, 0.45);
  background: linear-gradient(145deg, rgba(10, 193, 142, 0.1), var(--surface));
}
.pay-icon { font-size: 1.6rem; margin-bottom: 8px; }
.pay-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.pay-card p { font-size: 0.85rem; color: var(--muted); }
.pay-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--mono);
  color: var(--bch);
  background: rgba(10, 193, 142, 0.15);
  border: 1px solid rgba(10, 193, 142, 0.35);
  padding: 3px 8px;
  border-radius: 20px;
}

/* ── Why ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--muted); }

/* ── Trust ── */
.trust-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto 20px;
}
.trust-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  position: relative;
  color: var(--text);
}
.trust-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.trust-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  font-family: var(--mono);
  line-height: 1.55;
}

/* ── Final CTA ── */
.cta-final {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 160, 0.15), transparent 60%),
    var(--bg2);
  border-top: 1px solid var(--border);
}
.cta-final-inner { text-align: center; max-width: 420px; }
.cta-final h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-final p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ── Footer ── */
.footer {
  padding: 40px 20px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-brand { margin-bottom: 20px; }
.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
  max-width: 320px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  font-size: 0.65rem;
  color: var(--muted);
  font-family: var(--mono);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 640px;
}
.footer-copy {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--mono);
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent);
  color: #061018;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  z-index: 999;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 360px) {
  .op-name { font-size: 0.65rem; }
  .crypto-amount { font-size: 1.2rem; }
  .hero-title { font-size: 1.75rem; }
}
