:root {
  --bg: #eef3f9;
  --panel: #ffffff;
  --line: #d5deea;
  --text: #122033;
  --muted: #5d6d80;
  --accent: #2b59ff;
  --accent-2: #c026d3;
  --ink: #ffffff;
  --header: #ffffff;
  --ok: #0b7a4b;
  --fail: #c81e1e;
  --soft: #f7faff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(192, 38, 211, 0.12), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(43, 89, 255, 0.14), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px;
  background: var(--header);
  border-bottom: 1px solid var(--line);
}

.brand img {
  display: block;
  height: 52px;
  width: auto;
}

.nav a,
.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

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

.home, .docs, .wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

.home {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: 36px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h2 { margin: 0 0 14px; font-size: 20px; }

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.receiver {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.card, .form-card, .sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(18, 32, 51, 0.08);
}

.card, .form-card { padding: 22px; margin-bottom: 16px; }

.sheet {
  max-width: 480px;
  margin: 36px auto 72px;
  padding: 28px 24px 32px;
}

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

label {
  display: block;
  margin: 12px 0;
  font-size: 12px;
  color: var(--muted);
}

input, textarea {
  width: 100%;
  margin-top: 5px;
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  font: 15px "IBM Plex Sans", sans-serif;
}

textarea {
  min-height: 92px;
  resize: vertical;
  font: 12px "IBM Plex Mono", monospace;
}

input:focus, textarea:focus {
  outline: 2px solid rgba(43, 89, 255, 0.22);
  border-color: var(--accent);
}

button, .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font: 600 14px "IBM Plex Sans", sans-serif;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
}

.btn.ghost, button.ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.pay-hero { text-align: center; margin-bottom: 18px; }
.pay-hero h1 { font-size: 42px; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  margin: 0;
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--line);
}

.tab.is-on {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #fff;
  border-color: transparent;
}

.qr-wrap {
  width: 260px;
  margin: 0 auto 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.qr-wrap img { display: block; width: 100%; height: auto; }

.copy-box { margin-top: 16px; }

.status-hero {
  text-align: center;
  padding: 12px 8px 8px;
}

.status-hero.is-ok h1, .status-hero.is-ok h2 { color: var(--ok); }
.status-hero.is-fail h1, .status-hero.is-fail h2 { color: var(--fail); }

.docs pre, pre {
  overflow: auto;
  background: #0f1724;
  color: #e8eef7;
  border-radius: 12px;
  padding: 14px;
  font: 12px/1.5 "IBM Plex Mono", monospace;
}

.docs code {
  background: #eaf0f8;
  padding: 1px 6px;
  border-radius: 6px;
}

.docs ol { margin: 0; padding-left: 20px; }
.docs li { margin: 8px 0; color: var(--muted); }

.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 8px;
}

.choice-btn {
  margin: 0;
  min-height: 56px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.choice-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.back-link {
  width: auto;
  margin: 0 0 10px;
  padding: 0;
  background: none;
  color: var(--accent);
  border: 0;
  text-align: left;
}

.wpwl-container,
.wpwl-form,
.wpwl-form-card,
.wpwl-container-card {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  color: var(--text) !important;
  margin-bottom: 8px;
}

.wpwl-label,
.wpwl-group,
.wpwl-hint {
  color: var(--muted) !important;
  font-family: "IBM Plex Sans", sans-serif !important;
}

.wpwl-control,
.wpwl-control-iframe,
iframe.wpwl-control {
  background: var(--soft) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.wpwl-button,
.wpwl-button-pay {
  background: linear-gradient(90deg, var(--accent-2), var(--accent)) !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  font: 600 14px "IBM Plex Sans", sans-serif !important;
}

.wpwl-wrapper,
.wpwl-wrapper-cardNumber,
.wpwl-wrapper-expiry,
.wpwl-wrapper-cardHolder,
.wpwl-wrapper-cvv {
  background: transparent !important;
}

.wpwl-group-mobilePhone,
.wpwl-group-country,
.wpwl-group-birthDate,
.wpwl-group-street1,
.wpwl-group-city,
.wpwl-group-state,
.wpwl-group-postcode {
  display: none !important;
}

[hidden] { display: none !important; }

@media (max-width: 860px) {
  .home, .row { grid-template-columns: 1fr; }
  .top { padding: 10px 16px; }
  .brand img { height: 46px; }
  h1 { font-size: 30px; }
  .sheet { margin: 20px 12px 48px; }
}
