/* ShopnoPay — public site + shared UI components */
:root {
  --brand: #0A7FC8; --brand-2: #0B5CAD; --teal: #00BFA5; --pink: #EC4899;
  --ink: #0A1F3C; --ink-2: #12304F; --text: #1A2B45; --muted: #667085;
  --line: #DCE7F3; --bg: #F1F6FC; --card: #FFFFFF;
  --ok: #12B76A; --warn: #F59E0B; --err: #EF4444;
  --grad: linear-gradient(135deg, #0A7FC8 0%, #0B5CAD 55%, #38BDF8 100%);
  --radius: 18px; --shadow: 0 10px 40px -12px rgba(40, 40, 120, .18);
  --font: 'Noto Sans Bengali', 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-latin: 'Plus Jakarta Sans', 'Noto Sans Bengali', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; color: var(--text); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-kerning: normal; font-feature-settings: 'kern' 1, 'liga' 1; overflow-wrap: break-word; }
button, input, select, textarea { font-family: inherit; letter-spacing: 0; }
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.45; font-weight: 700; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.muted-light { color: #8FA6C0; }
.center { text-align: center; }
.center-screen { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 15.5px/1.3 var(--font); padding: 13px 22px; border-radius: 12px; transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px -8px rgba(10,127,200, .7); }
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(10,127,200, .85); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-danger { background: #FEE4E2; color: #B42318; }
.btn-ok { background: #D1FADF; color: #05603A; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 252, .75); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(20, 20, 80, .3); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand img { height: 34px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 16px; box-shadow: 0 6px 16px -6px rgba(10,127,200, .8); }
.brand-light { color: #fff; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; flex: 1; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.nav-links a:hover, .nav-links a.active { background: #fff; color: var(--brand); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; margin-left: auto; color: var(--ink); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 80% -10%, rgba(11,92,173, .22), transparent 60%), radial-gradient(900px 500px at 0% 10%, rgba(0, 191, 165, .16), transparent 55%), var(--bg); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 14px 6px 8px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--text); box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .2); margin-bottom: 22px; }
.pill b { background: var(--grad); color: #fff; padding: 3px 9px; border-radius: 99px; font-size: 11px; }
.hero h1 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.35; font-weight: 700; margin-bottom: 18px; }
.grad-text { color: var(--brand); background-image: linear-gradient(transparent 62%, rgba(11,92,173,.18) 62%); padding: 0 .1em; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 14px; }
.trust span i { color: var(--ok); margin-right: 6px; }

/* checkout mock */
.mock { position: relative; max-width: 420px; margin-inline: auto; }
.mock::before { content: ''; position: absolute; inset: -30px; background: var(--grad); filter: blur(70px); opacity: .28; border-radius: 50%; z-index: 0; }
.mock-card { position: relative; z-index: 1; background: #fff; border-radius: 26px; padding: 22px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock-amount { font-size: 34px; font-weight: 700; }
.mock-amount small { font-size: 14px; color: var(--muted); font-weight: 600; display: block; letter-spacing: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chip { padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line); background: #fff; cursor: default; }
.chip.on { border-color: var(--brand); background: #E6F2FC; color: var(--brand); }
.mock-field { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 10px; }
.mock-field span:first-child { color: var(--muted); }
.mock-btn { margin-top: 8px; background: var(--grad); color: #fff; text-align: center; padding: 14px; border-radius: 12px; font-weight: 700; }
.toast-float { position: absolute; z-index: 2; right: -14px; bottom: -22px; background: #0A1F3C; color: #fff; padding: 12px 16px; border-radius: 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .5); animation: floaty 4s ease-in-out infinite; }
.toast-float i { color: #34D399; font-size: 20px; }
.toast-float small { display: block; color: #8FA6C0; font-size: 12px; }
.sms-float { position: absolute; z-index: 2; left: -22px; top: 38%; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 12px; box-shadow: var(--shadow), 0 0 0 1px var(--line); max-width: 190px; animation: floaty 5s ease-in-out infinite reverse; }
.sms-float b { display: block; color: #E2136E; margin-bottom: 2px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 700; color: var(--ink); }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: #fff; }
.section.dark { background: var(--ink); color: #C9DDF0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; color: var(--brand); margin-bottom: 12px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }
.section.dark .section-head p { color: #8FA6C0; }

.providers-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.prov { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 14px; font-weight: 700; }
.prov i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(10,127,200, .7); }
.step h3 { font-size: 18px; margin-top: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; grid-column: span 2; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile.wide { grid-column: span 3; }
.tile.dark { background: var(--ink); color: #C9DDF0; border-color: var(--ink); }
.tile.dark h3 { color: #fff; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; background: #E6F2FC; color: var(--brand); display: grid; place-items: center; font-size: 19px; margin-bottom: 18px; }
.tile.dark .ico { background: rgba(255, 255, 255, .1); color: #9CCBF0; }
.tile h3 { font-size: 19px; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }
.tile.dark p { color: #8FA6C0; }

/* code blocks */
.code { background: #0E1330; border: 1px solid #1B3A5F; border-radius: 16px; overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: #151B3F; border-bottom: 1px solid #1B3A5F; }
.code-head .tabs { display: flex; gap: 4px; }
.tabbtn { background: none; border: 0; color: #8FA6C0; font: 600 13px var(--font); padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.tabbtn.active { background: #1B3A5F; color: #fff; }
.copy-btn { background: #1B3A5F; color: #fff; border: 0; border-radius: 8px; font: 600 12px var(--font); padding: 6px 12px; cursor: pointer; }
pre.code-body, .code pre { margin: 0; padding: 18px; overflow-x: auto; color: #C9DDF0; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code .k { color: #F9A8D4; } .code .s { color: #86EFAC; } .code .c { color: #6B7499; } .code .n { color: #FCD34D; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; color: inherit; }
.checks li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: rgba(18, 183, 106, .15); color: var(--ok); font-size: 11px; display: grid; place-items: center; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 99px; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); font-size: 14px; min-height: 22px; }
.price { font-family: var(--font-latin); line-height: 1.3; font-size: 44px; font-weight: 700; margin: 18px 0 4px; color: var(--ink); }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-year { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; }
.plan li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 9px; color: var(--ok); font-size: 12px; }
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 36px; }
.toggle button { border: 0; background: none; padding: 9px 20px; font: 600 14px var(--font); border-radius: 9px; cursor: pointer; color: var(--muted); }
.toggle button.active { background: var(--grad); color: #fff; }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

.cta-band { background: var(--grad); border-radius: 28px; padding: 56px 32px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 380px; height: 380px; right: -80px; top: -120px; background: rgba(255, 255, 255, .12); border-radius: 50%; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: #D3E7F8; max-width: 560px; margin: 0 auto 24px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #C9DDF0; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { display: block; color: #8FA6C0; padding: 4px 0; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; padding: 0; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; color: #8A90B3; font-size: 14px; }

/* ---------- forms / cards / tables (shared with dashboards) ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 14px; }
label.lbl { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 15px var(--font); color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10,127,200, .12); }
textarea.input { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.input-wrap { position: relative; }
.input-wrap .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 8px; cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flash { padding: 12px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; margin-bottom: 18px; }
.flash-ok { background: #D1FADF; color: #05603A; } .flash-err { background: #FEE4E2; color: #B42318; } .flash-info { background: #D6E8F9; color: #084A8C; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: 12px; font-weight: 700;  }
.badge-ok { background: #D1FADF; color: #05603A; } .badge-warn { background: #FEF0C7; color: #93370D; } .badge-err { background: #FEE4E2; color: #B42318; } .badge-mute { background: #E1EBF6; color: #475467; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 12px 14px; font-size: 13px; color: var(--muted); background: #FAFBFE; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 14px; border-bottom: 1px solid #F0F1F8; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FBFBFF; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty i { font-size: 34px; display: block; margin-bottom: 10px; opacity: .5; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; align-items: center; font-size: 14.5px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; overflow-wrap: anywhere; }
.copybox { display: flex; gap: 8px; align-items: center; background: #EDF4FB; border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 8px 12px; font: 13px ui-monospace, Menlo, Consolas, monospace; word-break: break-word; overflow-wrap: anywhere; }
.copybox span { flex: 1; }
.copybox button { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: 600 12px var(--font); cursor: pointer; color: var(--brand); white-space: nowrap; }

/* ---------- auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #C9DDF0; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--grad); filter: blur(120px); opacity: .45; right: -160px; bottom: -160px; }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; font-size: 34px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; background: #fff; }
.auth-box { width: min(420px, 100%); }
.auth-box h1 { font-size: 28px; margin-bottom: 6px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { background: #fff; color: #1A2B45; border: 1.5px solid var(--line); }
.btn-google img { width: 18px; height: 18px; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 40px 0 80px; align-items: start; }
.docs-nav { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; max-height: calc(100vh - 110px); overflow-y: auto; }
.docs-nav a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.docs-nav a:hover { background: var(--bg); color: var(--brand); }
.docs-nav .grp { font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 12px 12px 4px; }
.docs-body { min-width: 0; }
.docs-body section { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; margin-bottom: 22px; scroll-margin-top: 90px; }
.docs-body h2 { font-size: 26px; } .docs-body h3 { font-size: 18px; margin-top: 26px; }
.docs-body code.i { background: #E6F2FC; color: #084A8C; padding: 2px 7px; border-radius: 6px; font-size: 13.5px; }
.method { display: inline-block; font: 800 12px var(--font); padding: 4px 10px; border-radius: 8px; margin-right: 8px; }
.m-get { background: #D1FADF; color: #05603A; } .m-post { background: #D6E8F9; color: #084A8C; }
.endpoint { display: flex; align-items: center; flex-wrap: wrap; background: #EDF4FB; padding: 12px 16px; border-radius: 12px; font: 600 14px ui-monospace, Menlo, Consolas, monospace; margin: 12px 0 18px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 18px; }
.ptable th, .ptable td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable th { font-size: 12px; color: var(--muted); }
.callout { background: #E6F2FC; border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 10px; margin: 16px 0; font-size: 14.5px; }
.callout.warn { background: #FEF3C7; border-color: var(--warn); }

/* ---------- checkout (customer pay page) ---------- */
.pay-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 14px; background: radial-gradient(900px 400px at 50% -10%, rgba(11,92,173, .2), transparent 60%), var(--bg); }
.pay { width: min(480px, 100%); background: #fff; border-radius: 26px; box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.pay-head { background: linear-gradient(135deg, var(--pc, var(--brand)), color-mix(in srgb, var(--pc, var(--brand)) 70%, #000)); transition: background .3s; color: #fff; padding: 26px; }
.pay-head .who { display: flex; align-items: center; gap: 12px; font-weight: 700; opacity: .95; margin-bottom: 18px; }
.pay-head .who img { width: 38px; height: 38px; border-radius: 10px; background: #fff; object-fit: cover; }
.pay-head .amt { font-size: 40px; font-weight: 700; }
.pay-head small { opacity: .85; }
.pay-body { padding: 24px 26px 28px; }
.ptabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ptab { padding: 9px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 700 14px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.ptab i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ptab.active { border-color: var(--brand); background: #E6F2FC; }
.sendbox { background: #EDF4FB; border-radius: 16px; padding: 16px; margin-bottom: 18px; }
.sendbox .num { font: 800 24px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sendbox ol { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.sendbox ol li { margin: 3px 0; }
.countdown { font-weight: 700; font-variant-numeric: tabular-nums; }
.result { text-align: center; padding: 34px 26px; }
.result .big { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 34px; }
.result.ok .big { background: #D1FADF; color: var(--ok); } .result.bad .big { background: #FEE4E2; color: var(--err); } .result.mute .big { background: #E1EBF6; color: #667085; }
.secure-note { text-align: center; font-size: 12.5px; color: var(--muted); padding: 0 0 18px; }
.sbx-banner { background: #FEF3C7; color: #92400E; text-align: center; font-size: 13px; font-weight: 700; padding: 8px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; } .docs-nav { position: static; max-height: none; }
  .plan.popular { transform: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 14px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-cta-mobile { display: flex; gap: 10px; margin-top: 10px; }
  .nav-cta-mobile .btn { flex: 1; }
}
@media (max-width: 620px) {
  .steps, .bento, .footer-grid, .row2, .row3, .stats { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding-top: 40px; }
  .toast-float { right: 0; } .sms-float { left: 0; top: 30%; }
  .kv { grid-template-columns: 1fr; }
}

/* ======================================================================
   Premium layer (v2) — refined tokens & shared components
   ====================================================================== */
:root {
  --bg: #EFF5FB; --line: #E7E9F3; --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 64, .04), 0 4px 14px -6px rgba(16, 24, 64, .08);
  --shadow: 0 24px 60px -24px rgba(40, 40, 140, .30);
}
.card { box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 24px; }
.card > h3:first-child, .card-head h3 { display: flex; align-items: center; gap: 10px; font-size: 17.5px; margin-bottom: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.btn { border-radius: 11px; padding: 12px 20px; }
.btn-primary { background: linear-gradient(135deg, #0A7FC8, #0B5CAD); }
.btn-ghost { background: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #CFD3EA; color: var(--brand); }
.btn-sm { padding: 8px 13px; font-size: 13.5px; }
.btn-google { background: #fff; color: #1A2B45; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-google:hover { border-color: #C8CCE6; background: #FAFBFF; }
.btn-google svg { flex: none; }
.input, select.input, textarea.input { border-radius: 11px; border-width: 1px; border-color: #D9DCEC; padding: 11px 14px; min-height: 46px; line-height: 1.5; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
textarea.input { min-height: 110px; }
.badge { padding: 3px 11px; font-size: 12.5px; line-height: 1.6; white-space: nowrap; }
.table-wrap { box-shadow: var(--shadow-sm); border-radius: var(--radius); }
.table th { background: #F8F9FD; padding: 13px 16px; font-weight: 700; }
.table td { padding: 14px 16px; }
.nav { background: rgba(245, 246, 251, .8); }
.nav-links a { font-weight: 600; }
.hero { padding: 80px 0 64px; }
.hero p.lead { font-size: 18.5px; line-height: 1.8; }
.tile, .step, .plan, .stat, .prov { box-shadow: var(--shadow-sm); }
.tile .ico { background: linear-gradient(135deg, #E6F2FC, #E0F0FE); }
.mock-amount, .stat b, .kpi .vl, .pay-head .amt { font-family: var(--font-latin); }
.section-head h2 { line-height: 1.45; }
.flash { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.auth-main { background: #fff; }
.auth-box { padding: 8px 0; }
.auth-box h1 { font-size: 30px; }
.auth-box .btn-primary { padding: 14px 20px; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: #C9DDF0; }
.auth-points li i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #9CCBF0; font-size: 14px; flex: none; }
.g-note { background: #FFF7E6; border: 1px solid #FCD34D; color: #7A4A06; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 12px; line-height: 1.65; }

/* ---- v2.1 polish ---- */
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,127,200,.10) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.sms-float { left: -64px; top: -26px; max-width: 210px; }
.toast-float { right: -26px; bottom: -44px; }
.mock { margin-bottom: 30px; }
.bento .tile:last-child:nth-child(3n+1) { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.bento .tile:last-child:nth-child(3n+1) .ico { grid-row: span 2; margin: 0; }
.stat { background: linear-gradient(180deg, #fff, #FAFAFF); }
.stat b { font-size: 32px; background: none; }
.tile:hover { border-color: #D6D9F5; }
.plan { transition: transform .2s, box-shadow .2s; }
.plan:hover { box-shadow: var(--shadow); }
.plan.popular { background: linear-gradient(180deg, #FFFFFF, #F7F5FF); }
.cta-band { box-shadow: 0 40px 80px -40px rgba(10,127,200,.7); }
.footer { background: #0A1F3C; }
::selection { background: rgba(11,92,173, .25); }
:focus-visible { outline: 3px solid rgba(10,127,200, .35); outline-offset: 2px; }
@media (max-width: 620px) { .sms-float { left: 0; top: -40px; } .bento .tile:last-child:nth-child(3n+1) { display: block; grid-column: span 1; } .bento .tile:last-child:nth-child(3n+1) .ico { margin-bottom: 18px; } }

/* checkout support row + per-method colour */
.ptab.active { border-color: var(--pc, var(--brand)); }
.support { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.support .sp { padding: 6px 12px; border-radius: 99px; background: #EDF4FB; color: var(--ink); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; line-height: 1.45; }
.support .sp.wa { background: #DCF8E8; color: #0A7A45; }
[hidden] { display: none !important; }

/* floating support widget */
.sup-widget { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.sup-fab { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 12px 30px rgba(10,127,200,.4); }
.sup-list { display: none; width: 250px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.sup-widget.open .sup-list { display: block; }
.sup-head { font-weight: 700; padding: 8px 10px 10px; line-height: 1.5; }
.sup-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.sup-list a:hover { background: #EDF4FB; }
.sup-list a i { width: 34px; height: 34px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-size: 16px; }
.refer-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
.refer-steps .st { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.refer-steps .st b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; margin-bottom: 12px; font-family: var(--font-latin); }
.lang-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.lang-tabs button { border: 0; background: none; padding: 8px 18px; border-radius: 9px; font: 600 14.5px var(--font); cursor: pointer; color: var(--muted); }
.lang-tabs button.on { background: var(--brand); color: #fff; }
@media (max-width: 760px) { .refer-steps { grid-template-columns: 1fr; } .sup-widget { right: 12px; bottom: 12px; } }

/* mega menu */
.mega { position: relative; }
.mega-btn { background: none; border: 0; font: inherit; font-weight: 600; color: inherit; padding: 8px 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; line-height: 1.45; }
.mega-panel { display: none; position: absolute; top: 100%; left: -20px; width: 560px; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow), 0 0 0 1px var(--line); grid-template-columns: 1fr 1fr; gap: 4px; z-index: 70; }
.mega:hover .mega-panel, .mega.open .mega-panel { display: grid; }
.mega-panel a { display: flex !important; gap: 12px; padding: 12px; border-radius: 12px; align-items: flex-start; color: var(--ink); }
.mega-panel a:hover { background: #EDF4FB; }
.mega-panel a i { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.mega-panel b { display: block; line-height: 1.4; } .mega-panel small { color: var(--muted); font-weight: 500; line-height: 1.4; }
@media (max-width: 900px) { .mega-panel { position: static; width: 100%; box-shadow: none; grid-template-columns: 1fr; padding: 0; } .mega-btn { padding-left: 0; } }
.guarantee { display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, #ECFDF3, #F0F4FF); border: 1px solid #BFEBD3; border-radius: 20px; padding: 20px 24px; margin: 30px auto 0; max-width: 820px; }
.guarantee i { font-size: 34px; color: #12B76A; }
@media (max-width: 720px) { .ptable { display: block; overflow-x: auto; max-width: 100%; } .code-tabs, pre { max-width: 100%; overflow-x: auto; } }

/* ===== checkout v5 (ZiniPay-style, premium) ===== */
.cx-body { background: linear-gradient(180deg, #EAF3FF 0%, #F4F8FF 40%, #fff 100%); min-height: 100vh; }
.cx { --pc: var(--brand); max-width: 480px; margin: 0 auto; padding: 14px 16px 120px; min-height: 100vh; position: relative; }
.cx-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border: 1px solid #E3EBF7; border-radius: 18px; padding: 8px 10px; box-shadow: 0 8px 24px rgba(30,64,120,.08); position: sticky; top: 10px; z-index: 20; }
.cx-ic { width: 42px; height: 42px; border: 0; border-radius: 12px; background: #F1F5FB; color: #1E293B; font-size: 17px; cursor: pointer; display: grid; place-items: center; transition: .15s; }
.cx-ic:hover { background: #E3EBF7; } .cx-ic:active { transform: scale(.94); }
.cx-timer { font: 700 14px var(--font-latin); color: #0B5CAD; background: #E6F1FD; padding: 8px 14px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
.cx-brand { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 24px 0 14px; }
.cx-logo { width: 84px; height: 84px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #fff, 0 10px 26px rgba(30,64,120,.18); display: grid; place-items: center; overflow: hidden; flex: none; }
.cx-logo img { width: 100%; height: 100%; object-fit: cover; } .cx-logo span { font: 800 34px var(--font-latin); color: var(--brand); }
.cx-bname { min-width: 0; } .cx-bname h1 { font: 800 21px/1.25 var(--font-latin); color: #0F172A; margin: 0 0 8px; text-transform: uppercase; overflow-wrap: anywhere; }
.cx-pill { border: 1px solid #BBD5F0; background: #fff; color: #0B5CAD; font: 700 13.5px var(--font-latin); padding: 8px 16px; border-radius: 99px; cursor: pointer; box-shadow: 0 4px 12px rgba(30,64,120,.08); }
.cx-sup { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; }
.cx-sb { width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid #C9DDF3; color: #2563EB; font-size: 22px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(30,64,120,.1); transition: .15s; }
.cx-sb:hover { transform: translateY(-2px); } .cx-sb.wa { color: #16A34A; border-color: #BFE9CF; background: #F2FCF6; } .cx-sb.ph { color: #2563EB; }
.cx-cat { background: linear-gradient(135deg, #0A86D6, #0770B8); color: #fff; font: 700 17px var(--font); text-align: center; padding: 14px; border-radius: 14px; box-shadow: 0 10px 22px rgba(7,112,184,.28); display: flex; gap: 10px; justify-content: center; align-items: center; }
.cx-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.cx-m { position: relative; border: 2px solid transparent; background: #fff; border-radius: 16px; height: 78px; display: grid; place-items: center; padding: 10px 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(30,64,120,.09); transition: .18s; }
.cx-m img { max-width: 100%; max-height: 52px; object-fit: contain; } .cx-m b { font: 800 18px var(--font-latin); color: var(--pc); }
.cx-m:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30,64,120,.14); }
.cx-m.sel { border-color: var(--pc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 18%, transparent), 0 12px 24px rgba(30,64,120,.14); }
.cx-tick { position: absolute; top: 7px; right: 8px; color: var(--pc); font-size: 17px; opacity: 0; transform: scale(.5); transition: .18s; background: #fff; border-radius: 50%; }
.cx-m.sel .cx-tick { opacity: 1; transform: scale(1); }
.cx-hint { text-align: center; color: #64748B; font-size: 14px; margin: 18px 0 0; line-height: 1.6; }
.cx-amt { display: flex; align-items: center; background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: 0 10px 26px rgba(30,64,120,.1); margin-top: 20px; gap: 14px; }
.cx-amt-logo { flex: 1; height: 64px; background: #F6F8FC; border-radius: 14px; display: grid; place-items: center; padding: 8px; } .cx-amt-logo img { max-height: 46px; max-width: 100%; object-fit: contain; } .cx-amt-logo b { font: 800 18px var(--font-latin); }
.cx-amt-v { flex: 1; text-align: center; font: 800 28px var(--font-latin); color: #1E293B; border-left: 1px solid #E3E8F0; padding-left: 14px; }
.cx-note { margin: 14px 0; background: #FFF9E0; border: 1px solid #F6E7A4; color: #7A5B00; border-radius: 12px; padding: 11px 14px; font-size: 14px; text-align: center; line-height: 1.6; }
.cx-note b { color: #C28A00; }
.cx-card { background: var(--pc); border-radius: 22px; padding: 22px 18px 18px; color: #fff; box-shadow: 0 16px 34px color-mix(in srgb, var(--pc) 35%, transparent); }
.cx-card h3 { color: #fff; text-align: center; font: 600 19px/1.5 var(--font); margin: 0 0 14px; }
.cx-input { width: 100%; border: 0; background: #fff; border-radius: 12px; padding: 15px 16px; font: 500 16px var(--font); color: #1E293B; margin-bottom: 10px; outline: none; box-sizing: border-box; text-align: center; }
.cx-input::placeholder { color: #94A3B8; } .cx-input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.cx-msg { border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.6; background: rgba(255,255,255,.95); color: #1E293B; } .cx-msg.err { background: #FFE4E6; color: #B42318; } .cx-msg.info { background: #E6F1FD; color: #0B4F94; }
.cx-ins-h { font: 800 14px var(--font-latin); letter-spacing: .06em; opacity: .85; margin: 12px 0 4px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.22); }
.cx-ins { list-style: none; margin: 0; padding: 0; }
.cx-ins li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid rgba(255,255,255,.2); line-height: 1.7; font-size: 15px; overflow-wrap: anywhere; }
.cx-ins li:last-child { border-bottom: 0; } .cx-ins li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.cx-ins li b { color: #FFF27A; font-weight: 800; font-size: 1.08em; }
.cx-copyrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cx-copy { border: 0; background: rgba(0,0,0,.35); color: #fff; font: 600 14px var(--font-latin); padding: 9px 14px; border-radius: 10px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.cx-copy:hover { background: rgba(0,0,0,.5); }
.cx-sim, .cx-cancel { display: block; margin: 12px auto 0; font: 600 14px var(--font); color: #64748B; background: none; border: 1px dashed #B8C6DB; border-radius: 12px; padding: 10px 16px; cursor: pointer; } .cx-cancel { border: 0; text-decoration: underline; }
.cx-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, #fff 60%, rgba(255,255,255,0)); z-index: 30; }
.cx-cta { display: block; width: 100%; max-width: 448px; margin: 0 auto; border: 0; border-radius: 16px; padding: 17px; font: 800 18px var(--font-latin); background: #DCEBFA; color: #0B5CAD; cursor: pointer; transition: .2s; }
.cx-cta.on { background: var(--pc, #0A86D6); color: #fff; box-shadow: 0 12px 26px color-mix(in srgb, var(--pc, #0A86D6) 40%, transparent); } .cx-cta:disabled { cursor: not-allowed; opacity: .85; } .cx-cta:not(:disabled):active { transform: scale(.98); }
.cx-secure { text-align: center; color: #94A3B8; font-size: 13px; margin-top: 22px; }
.cx .result { margin: 18px 0; background: #fff; border-radius: 22px; padding: 30px 22px; box-shadow: 0 10px 26px rgba(30,64,120,.1); text-align: center; }
.cx .sbx-banner { margin: 12px 0 0; border-radius: 12px; }
.cx-dlg { border: 0; border-radius: 24px; padding: 20px; width: min(440px, calc(100vw - 28px)); box-shadow: 0 30px 70px rgba(15,23,42,.35); max-height: 88vh; overflow: auto; }
.cx-dlg::backdrop { background: rgba(15,23,42,.55); backdrop-filter: blur(3px); }
.cx-dh { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #E3EBF7; margin-bottom: 14px; } .cx-dh h3 { margin: 0; font: 800 20px var(--font-latin); display: flex; gap: 10px; align-items: center; }
.cx-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #EEF2F8; color: #64748B; cursor: pointer; }
.cx-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #F0F6FE; border-radius: 14px; padding: 15px 16px; margin-bottom: 10px; }
.cx-rows span { font: 700 13px var(--font-latin); color: #64748B; letter-spacing: .02em; flex: none; } .cx-rows b { font: 700 15.5px var(--font-latin); color: #0F172A; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.cx-blue { width: 100%; border: 0; border-radius: 14px; background: #0A86D6; color: #fff; padding: 15px; font: 700 16px var(--font-latin); cursor: pointer; display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 4px; }
.cx-sp-t { color: #475569; line-height: 1.6; margin: 0 0 12px; } .cx-sp { display: grid; gap: 10px; }
.cx-sp a { display: flex; align-items: center; gap: 14px; border-radius: 14px; padding: 14px 16px; border: 1px solid; font: 600 17px var(--font-latin); min-width: 0; } .cx-sp a span { min-width: 0; } .cx-sp small { display: block; font-weight: 500; font-size: 14.5px; opacity: .9; overflow-wrap: anywhere; } .cx-sp a i { font-size: 22px; width: 30px; text-align: center; flex: none; }
.cx-sp .g { background: #ECFBF2; border-color: #BFEBD3; color: #15803D; } .cx-sp .i { background: #E6F2FC; border-color: #CDD2FA; color: #4338CA; } .cx-sp .o { background: #FFF4EA; border-color: #F8D5B5; color: #C2410C; } .cx-sp .b { background: #EEF4FF; border-color: #C5D8FB; color: #1D4ED8; }
.cx-sp-f { text-align: center; color: #64748B; font-size: 13.5px; line-height: 1.7; margin: 14px 0 0; overflow-wrap: anywhere; }
@media (min-width: 700px) { .cx { padding-top: 28px; } .cx-bar { position: sticky; background: none; padding: 20px 0 0; } .cx { padding-bottom: 40px; } }

/* ======================================================================
   v5 — blue brand system (ZiniPay-inspired), coloured surfaces, side drawer
   ====================================================================== */
:root { --brand: #0A7FC8; --brand-2: #0B5CAD; --sky: #38BDF8; --navy: #0A2A4D; --ink: #0A2A4D;
  --bg: #E9F2FC; --soft: #DCEBFA; --line: #CFE0F2; --muted: #5B7391; --text: #17304F;
  --grad: linear-gradient(135deg, #0A8AD8 0%, #0B63B8 58%, #0B4F94 100%);
  --shadow: 0 18px 44px -18px rgba(10, 70, 140, .32); }
body { background: linear-gradient(180deg, #DDEBFA 0, #EAF3FC 420px, #F1F7FD 100%) fixed; color: var(--text); }
.nav { background: rgba(255, 255, 255, .86); border-bottom: 1px solid #D3E3F4; box-shadow: 0 8px 30px -22px rgba(10, 70, 140, .5); }
.nav-links a:hover, .nav-links a.active { background: #E3F0FC; color: var(--brand-2); }
.brand-mark { background: var(--grad) !important; }
.btn-primary { background: var(--grad); box-shadow: 0 12px 26px -12px rgba(10, 99, 184, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: #fff; border-color: #C3DAF0; color: var(--brand-2); }
.btn-ghost:hover { background: #F2F8FE; border-color: var(--brand); }
.hero { background: radial-gradient(900px 520px at 85% -8%, rgba(56, 189, 248, .35), transparent 60%), radial-gradient(800px 480px at -5% 15%, rgba(11, 99, 184, .18), transparent 58%), linear-gradient(180deg, #D5E8FA 0%, #E6F1FC 100%); }
.hero h1 { color: var(--navy); }
.hero .pill { background: #fff; border: 1px solid #BBD7F1; color: var(--brand-2); box-shadow: 0 8px 20px -12px rgba(10, 99, 184, .5); }
.hero .pill b { background: var(--grad); color: #fff; }
.trust i { color: #0A9D6B; }
.mock-card, .stat, .step, .tile, .plan, .faq, details.faq, .card { border-color: #D3E3F4; box-shadow: 0 16px 40px -22px rgba(10, 70, 140, .35); }
.stats { background: #fff; border: 1px solid #D3E3F4; border-radius: 22px; box-shadow: var(--shadow); }
.stat b { color: var(--brand-2); }
.section.alt { background: linear-gradient(180deg, #DCEBFA, #E7F1FC); }
.section.dark { background: radial-gradient(900px 400px at 90% 0%, rgba(56, 189, 248, .2), transparent 60%), linear-gradient(160deg, #0A2A4D, #0B3C73); }
.eyebrow { color: var(--brand); background: #DCEBFA; border: 1px solid #BBD7F1; }
.step::before, .tile .ico { background: var(--grad); }
.footer { background: linear-gradient(160deg, #0A2A4D, #082240); }
.mock-btn { background: var(--grad); }
.providers-strip .prov { background: #fff; border: 1px solid #D3E3F4; box-shadow: 0 6px 16px -10px rgba(10, 70, 140, .4); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .45), rgba(56, 189, 248, 0) 68%); z-index: 0; }
.hero-art img { position: relative; z-index: 1; max-width: min(100%, 400px); max-height: 560px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(10, 70, 140, .35)); }
.drawer-head, .drawer-backdrop, .dr-label { display: none; }
body.lock { overflow: hidden; }
@media (max-width: 860px) {
  .nav { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid #C3DAF0; box-shadow: 0 6px 16px -10px rgba(10, 70, 140, .5); }
  .drawer-backdrop { display: block; position: fixed; inset: 0; background: rgba(8, 28, 56, .55); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 98; }
  .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
  .nav-links { display: flex !important; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw, 370px); height: 100dvh; background: #fff; z-index: 99; flex-direction: column; align-items: stretch; gap: 0; padding: 0; margin: 0; overflow-y: auto; transform: translateX(104%); transition: transform .32s cubic-bezier(.32, .72, 0, 1); box-shadow: -24px 0 60px rgba(8, 28, 56, .35); border-radius: 22px 0 0 22px; }
  .nav-links.open { transform: none; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid #DCE9F6; position: sticky; top: 0; background: #fff; z-index: 2; }
  .drawer-head .brand { display: flex; align-items: center; gap: 12px; padding: 0; }
  .drawer-head .brand img, .drawer-head .brand-mark { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; }
  .drawer-head .brand span b { display: block; font: 800 20px var(--font-latin); color: var(--navy); line-height: 1.2; }
  .drawer-head .brand small { display: block; color: var(--brand); font-weight: 600; font-size: 13px; }
  .drawer-x { width: 42px; height: 42px; border-radius: 12px; border: 1px solid #C3DAF0; background: #fff; color: #36506F; font-size: 18px; cursor: pointer; }
  .nav-links > a { padding: 17px 24px; border-radius: 0; font: 700 17px var(--font-latin); color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
  .nav-links > a::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 13px; color: #8DA7C4; }
  .nav-links > a:hover, .nav-links > a.active { background: #EEF5FC; color: var(--brand-2); }
  .mega-btn { display: none; }
  .dr-label { display: block; padding: 18px 24px 8px; font: 800 12.5px var(--font-latin); letter-spacing: .16em; color: #5B7391; text-transform: uppercase; }
  .mega { display: block; } .mega-panel { display: grid !important; padding: 0 16px 6px; gap: 10px; }
  .mega-panel a { background: #F3F8FE; border: 1px solid #D3E3F4; border-radius: 14px; padding: 14px; }
  .mega-panel a::after { display: none; }
  .nav-cta-mobile { display: flex; gap: 10px; position: sticky; bottom: 0; margin: auto 0 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #DCE9F6; z-index: 3; }
  .nav-cta-mobile .btn { flex: 1; padding: 14px; font-size: 16px; border-radius: 14px; }
  .nav-cta-mobile .dr-ic { flex: 0 0 56px; font-size: 22px; padding: 0; display: grid; place-items: center; color: #229ED9; }
}

/* v5.1 polish */
body.lock .sup-widget { display: none; }
input[type=file].input { padding: 10px; font-size: 14px; color: var(--muted); background: #F6FAFF; border-style: dashed; }
input[type=file].input::file-selector-button { border: 0; background: var(--grad); color: #fff; font: 700 13.5px var(--font); padding: 9px 16px; border-radius: 10px; margin-right: 12px; cursor: pointer; }

/* v6: sandbox/doc overflow safety */
.row2 > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.code { max-width: 100%; overflow-x: auto; } .code pre { max-width: 100%; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.section, main { overflow-x: clip; }
#frame { max-width: 100%; display: block; }
@media (max-width: 720px) { #frame { height: 640px !important; } }

/* public pricing: distinct premium accent per plan */
.plans .plan { --pc:#0A7FC8; border-top:5px solid var(--pc); }
.plans .plan:nth-child(4n+2) { --pc:#7C3AED; } .plans .plan:nth-child(4n+3) { --pc:#059669; } .plans .plan:nth-child(4n+4) { --pc:#D97706; }
.plans .plan .price, .plans .plan h3 { color:var(--pc); }
.plans .plan li i, .plans .plan .fa-check { color:var(--pc); }

/* password recovery flow */
.pr-steps { display:flex; align-items:center; justify-content:center; gap:8px; margin:0 0 22px; font-size:12.5px; color:#94A3B8; }
.pr-steps span { display:flex; align-items:center; gap:6px; font-weight:600; } .pr-steps span b { width:24px; height:24px; border-radius:50%; background:#E2E8F0; color:#64748B; display:inline-flex; align-items:center; justify-content:center; font-size:12px; }
.pr-steps span.on { color:#0A7FC8; } .pr-steps span.on b { background:#0A7FC8; color:#fff; } .pr-steps span.done { color:#12B76A; } .pr-steps span.done b { background:#12B76A; color:#fff; }
.pr-steps i { flex:0 0 22px; height:2px; background:#E2E8F0; } .pr-steps i.on { background:#12B76A; }
.pr-icon { width:68px; height:68px; margin:0 auto 14px; border-radius:20px; background:linear-gradient(135deg,#0A7FC8,#2AA7F0); color:#fff; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:0 10px 24px rgba(10,127,200,.28); }
.pr-icon.bad { background:linear-gradient(135deg,#EF4444,#F97316); }
@media (max-width:420px){ .pr-steps span{font-size:11px} .pr-steps i{flex-basis:10px} }
.tut-btn { display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg,#DC2626,#EF4444); color:#fff !important; font-weight:700; font-size:13.5px; padding:8px 16px; border-radius:999px; box-shadow:0 6px 16px rgba(220,38,38,.25); text-decoration:none; }

/* ===== Auth pages v2 (centered card, icon fields) ===== */
body { --au-a:#0A7FC8; --au-b:#2AA7F0; }
.au { min-height:100vh; display:flex; flex-direction:column; background:radial-gradient(900px 420px at 50% -80px,#CFE8FB 0,transparent 70%),#F5F9FF; }
.au-top { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; background:linear-gradient(135deg,var(--au-a),var(--au-b)); color:#fff; box-shadow:0 6px 20px rgba(10,127,200,.25); }
.au-brand { display:flex; align-items:center; gap:10px; color:#fff !important; font-size:19px; text-decoration:none; } .au-brand img { width:36px; height:36px; border-radius:50%; background:#fff; object-fit:contain; } .au-mark { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.22); display:grid; place-items:center; }
.au-top nav { display:flex; align-items:center; gap:14px; } .au-top nav a { color:#fff; text-decoration:none; font-weight:600; font-size:14px; } .au-pill { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.2); border:2px solid rgba(255,255,255,.45); display:grid; place-items:center; }
.au-main { flex:1; display:grid; place-items:center; padding:28px 16px; }
.au-card { width:min(440px,100%) !important; background:#fff; border:1px solid #D6E6F6; border-radius:22px; padding:30px 26px 26px !important; box-shadow:0 20px 50px rgba(10,60,120,.12); }
.au-logo { width:84px; height:84px; margin:-62px auto 12px; border-radius:50%; background:#fff; border:4px solid #fff; box-shadow:0 8px 24px rgba(10,127,200,.3); display:grid; place-items:center; overflow:hidden; } .au-logo img { width:100%; height:100%; object-fit:contain; } .au-logo span { font-size:34px; color:var(--au-a); }
.au-card h1 { text-align:center; font-size:26px !important; margin:0 0 4px; color:#0F2A4A; } .au-card > .muted, .au-card > p.muted { text-align:center; }
.au-card .field { position:relative; margin-bottom:14px; } .au-card .lbl { font-size:13px; font-weight:600; color:#475569; margin-bottom:6px; }
.au-card .field:has(.input[name])::before { font-family:'Font Awesome 6 Free'; font-weight:900; position:absolute; left:8px; bottom:7px; width:40px; height:40px; border-radius:11px; background:#E8F3FD; color:var(--au-a); display:grid; place-items:center; font-size:15px; z-index:1; pointer-events:none; }
.au-card .field:has(input[name=name])::before { content:'\f007'; } .au-card .field:has(input[name=email])::before { content:'\f0e0'; } .au-card .field:has(input[name=phone])::before { content:'\f095'; }
.au-card .field:has(input[name=password])::before, .au-card .field:has(input[name=password2])::before { content:'\f023'; } .au-card .field:has(input[name=code])::before { content:'\f3ed'; } .au-card .field:has(input[name=ref_id])::before { content:'\f0c0'; }
.au-card .field:has(.input[name]) .input { padding-left:58px; height:54px; border-radius:14px; background:#F8FBFF; border:1.5px solid #D9E6F3; } .au-card .field:has(input[name=code]) .input { padding-left:14px; }
.au-card .field:has(input[name=code])::before { display:none; }
.au-card .input:focus { border-color:var(--au-a); box-shadow:0 0 0 4px rgba(10,127,200,.12); background:#fff; }
.au-card .input-wrap .eye { right:10px; }
.au-card .btn-primary { height:54px; border-radius:14px; font-size:16px; font-weight:700; background:linear-gradient(135deg,var(--au-a),#0A5FA0); box-shadow:0 10px 24px rgba(10,127,200,.3); }
.au-card form + p, .au-card p.center { font-size:14.5px; }
.au-foot { text-align:center; padding:18px; background:#fff; color:#475569; font-size:14px; border-top:1px solid #E2ECF6; }
@media (max-width:480px){ .au-card{padding:26px 18px 22px !important} .au-top nav a:not(.au-pill){display:none} }

/* feature tile icons: white glyph on a coloured tile (was blue-on-blue) */
.tile .ico { color:#fff !important; box-shadow:0 8px 18px rgba(10,127,200,.25); }
.bento .tile:nth-child(6n+1) .ico { background:linear-gradient(135deg,#0A7FC8,#2AA7F0); } .bento .tile:nth-child(6n+2) .ico { background:linear-gradient(135deg,#7C3AED,#A855F7); }
.bento .tile:nth-child(6n+3) .ico { background:linear-gradient(135deg,#059669,#10B981); } .bento .tile:nth-child(6n+4) .ico { background:linear-gradient(135deg,#EA580C,#F59E0B); }
.bento .tile:nth-child(6n+5) .ico { background:linear-gradient(135deg,#DB2777,#F472B6); } .bento .tile:nth-child(6n+6) .ico { background:linear-gradient(135deg,#0891B2,#22D3EE); }
.tile.dark .ico { color:#fff !important; }

/* ===== checkout v6: confirm dialog, cancel page, receipt, support modal ===== */
.cx-copyrow { flex-wrap: nowrap !important; } .cx-copyrow > span { flex: 1 1 auto; min-width: 0; } .cx-copy { flex: 0 0 auto; }
.cx-sp .t { background: #EAF3FF; border-color: #C5DBFA; color: #1D4ED8; } .cx-sp .h { background: #F7F0FF; border-color: #E2CDFB; color: #7E22CE; }
.cx-sp a i { font-size: 24px; width: 28px; text-align: center; flex: none; }
.cx-conf { text-align: center; padding: 28px 22px 22px; } .cx-conf-ic { width: 64px; height: 64px; border-radius: 50%; background: #FEE2E2; color: #DC2626; font-size: 28px; display: grid; place-items: center; margin: 0 auto 14px; }
.cx-conf h3 { margin: 0 0 8px; font: 800 22px var(--font-latin); color: #0F172A; } .cx-conf p { margin: 0 0 20px; color: #475569; line-height: 1.7; font-family: var(--font-latin); }
.cx-yes, .cx-no { display: block; width: 100%; border: 0; border-radius: 14px; padding: 15px; font: 800 16px var(--font-latin); cursor: pointer; margin-top: 10px; }
.cx-yes { background: linear-gradient(135deg, #EF4444, #DC2626); color: #fff; box-shadow: 0 12px 24px -8px rgba(220,38,38,.55); } .cx-no { background: #F1F5F9; color: #334155; }
.cx.resmode .cx-top, .cx.resmode .cx-brand, .cx.resmode .cx-sup, .cx.resmode .cx-secure { display: none; }
.cx.resmode { padding-top: 22px; } .cx .result.res-ok, .cx .result.res-cancel { background: none; box-shadow: none; padding: 0; margin: 0; }
.cx-toast { display: flex; align-items: center; gap: 10px; background: #E9FBF1; border: 1px solid #BFEBD3; color: #15803D; font: 700 15px var(--font-latin); padding: 14px 16px; border-radius: 14px; box-shadow: 0 10px 24px rgba(21,128,61,.12); margin-bottom: 70px; animation: wnPop .3s ease; } .cx-toast i { font-size: 20px; }
.cc { background: #fff; border-radius: 26px; padding: 32px 22px 28px; text-align: center; box-shadow: 0 20px 44px -20px rgba(30,64,120,.3); }
.cc-ic { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; background: #FEE2E2; display: grid; place-items: center; box-shadow: 0 0 0 10px #FFF1F1; } .cc-ic i { width: 48px; height: 48px; border-radius: 50%; background: #EF4444; color: #fff; display: grid; place-items: center; font-size: 24px; }
.cc h2 { font: 800 27px var(--font-latin); color: #111827; margin: 0 0 10px; } .cc p { color: #4B5563; font-family: var(--font-latin); line-height: 1.7; margin: 0 0 22px; } .cc .cc-r { color: #6B7280; margin: 0 0 10px; }
.cc-bar { height: 10px; border-radius: 99px; background: #FEE2E2; overflow: hidden; } .cc-bar i { display: block; height: 100%; width: 100%; background: #EF4444; border-radius: 99px; }
.rc { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 50px -22px rgba(16,90,60,.45); }
.rc-top { text-align: center; padding: 30px 20px 24px; color: #fff; background: radial-gradient(circle at 15% 10%, #34D399 0, transparent 45%), linear-gradient(135deg, #047857, #10B981); position: relative; }
.rc-ring { width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 50%; background: #fff; color: #059669; font-size: 36px; display: grid; place-items: center; box-shadow: 0 0 0 9px rgba(255,255,255,.25); animation: rcPop .55s cubic-bezier(.2,1.4,.4,1); }
@keyframes rcPop { 0% { transform: scale(0) } 100% { transform: scale(1) } }
.rc-top h2 { margin: 0 0 4px; font-size: 23px; font-weight: 800; color: #fff; } .rc-top p { margin: 0 0 12px; opacity: .93; font-size: 14px; line-height: 1.6; }
.rc-amt { font: 800 36px var(--font-latin); letter-spacing: -.01em; } .rc-badge { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); padding: 5px 14px; border-radius: 99px; font: 700 12px var(--font-latin); letter-spacing: .08em; margin-top: 8px; }
.rc-body { padding: 18px 18px 6px; position: relative; } .rc-body::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; border-top: 2px dashed #D1E7DD; }
.rc-h { font: 800 15px var(--font-latin); color: #0F172A; margin: 8px 0 8px; display: flex; gap: 8px; align-items: center; } .rc-h i { color: #059669; }
.rc-r { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #EEF2F6; font-family: var(--font-latin); } .rc-r span { color: #64748B; font-size: 14px; flex: none; } .rc-r b { color: #0F172A; font-size: 14.5px; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.rc-r.tot { border: 0; background: #ECFDF5; border-radius: 12px; padding: 13px 14px; margin: 10px 0; } .rc-r.tot span, .rc-r.tot b { color: #047857; font-weight: 800; font-size: 16px; }
.rc-act { padding: 8px 18px 22px; text-align: center; } .rc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; border: 0; border-radius: 14px; padding: 15px; font: 800 15.5px var(--font); cursor: pointer; background: linear-gradient(135deg, #059669, #10B981); color: #fff !important; box-shadow: 0 12px 24px -10px rgba(5,150,105,.6); margin-top: 10px; text-decoration: none; }
.rc-btn.ghost { background: #F1F5F9; color: #334155 !important; box-shadow: none; }
.rc-red { color: #64748B; font-size: 13.5px; margin: 14px 0 0; } .rc-bar { display: block; height: 6px; background: #D1FAE5; border-radius: 99px; overflow: hidden; margin-top: 8px; } .rc-bar i { display: block; height: 100%; width: 100%; background: #10B981; border-radius: 99px; }
@media print { body * { visibility: hidden; } .rc, .rc * { visibility: visible; } .rc { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; } .rc-act { display: none; } }

/* ===== checkout v7: compact, refined sizing ===== */
.cx { max-width: 420px; padding: 10px 14px 96px; }
.cx-top { padding: 5px 7px; border-radius: 14px; }
.cx-ic { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.cx-timer { font-size: 12.5px; padding: 6px 12px; }
.cx-brand { margin: 16px 0 10px; gap: 12px; }
.cx-logo { width: 62px; height: 62px; box-shadow: 0 0 0 3px #fff, 0 8px 20px rgba(30,64,120,.16); } .cx-logo span { font-size: 26px; }
.cx-bname h1 { font-size: 16px; margin: 0 0 6px; letter-spacing: -.01em; }
.cx-pill { font-size: 12px; padding: 5px 13px; }
.cx-sup { gap: 9px; margin-bottom: 14px; }
.cx-sb { width: 42px; height: 42px; border-radius: 13px; font-size: 17px; }
.cx-cat { font-size: 14.5px; padding: 10px; border-radius: 12px; }
.cx-methods { gap: 9px; margin-top: 10px; }
.cx-m { height: 58px; border-radius: 14px; padding: 8px 12px; } .cx-m img { max-height: 38px; } .cx-m b { font-size: 15px; } .cx-tick { font-size: 14px; top: 5px; right: 6px; }
.cx-hint { font-size: 12.5px; margin-top: 14px; }
.cx-amt { padding: 9px 14px; margin-top: 14px; border-radius: 16px; } .cx-amt-logo { height: 48px; } .cx-amt-logo img { max-height: 34px; } .cx-amt-v { font-size: 22px; }
.cx-note { font-size: 12.5px; padding: 8px 12px; margin: 10px 0; }
.cx-card { padding: 16px 14px 12px; border-radius: 18px; } .cx-card h3 { font-size: 15.5px; margin-bottom: 10px; }
.cx-input { padding: 12px 14px; font-size: 15px; border-radius: 11px; }
.cx-ins-h { font-size: 12px; margin: 8px 0 2px; padding-bottom: 7px; }
.cx-ins li { font-size: 13.5px; padding: 10px 0 10px 18px; line-height: 1.65; } .cx-ins li::before { top: 17px; width: 6px; height: 6px; }
.cx-copy { font-size: 12.5px; padding: 7px 11px; border-radius: 9px; }
.cx-cta { max-width: 392px; padding: 13px; font-size: 15.5px; border-radius: 14px; }
.cx-bar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.cx-secure { font-size: 12px; margin-top: 16px; }
.cx-dlg { padding: 16px; border-radius: 20px; } .cx-dh h3 { font-size: 17px; } .cx-x { width: 34px; height: 34px; }
.cx-rows > div { padding: 11px 13px; margin-bottom: 8px; border-radius: 12px; } .cx-rows span { font-size: 11.5px; } .cx-rows b { font-size: 13.5px; }
.cx-sp a { padding: 11px 13px; font-size: 14.5px; border-radius: 12px; } .cx-sp a i { font-size: 20px; } .cx-sp small { font-size: 12.5px; } .cx-sp-t { font-size: 13.5px; } .cx-sp-f { font-size: 12px; }
.cx-conf h3 { font-size: 19px; } .cx-conf p { font-size: 14px; } .cx-yes, .cx-no { padding: 12px; font-size: 14.5px; }
.cc { padding: 24px 18px 22px; } .cc h2 { font-size: 22px; } .cc p { font-size: 14px; } .cc-ic { width: 70px; height: 70px; } .cc-ic i { width: 40px; height: 40px; font-size: 20px; }
.rc-top { padding: 22px 16px 18px; } .rc-ring { width: 64px; height: 64px; font-size: 30px; } .rc-top h2 { font-size: 20px; } .rc-amt { font-size: 30px; }
.rc-r { padding: 9px 0; } .rc-r span, .rc-r b { font-size: 13px; } .rc-btn { padding: 12px; font-size: 14px; }

.flash { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }

/* ===== v12 premium provider-themed checkout panel ===== */
.px { --pt: #fff; position: relative; overflow: hidden; margin-top: 16px; padding: 24px 18px 20px; border-radius: 26px; color: var(--pt); background: linear-gradient(165deg, color-mix(in srgb, var(--pc) 90%, #fff) 0%, var(--pc) 42%, color-mix(in srgb, var(--pc) 76%, #000) 100%); box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--pc) 75%, #000), inset 0 1px 0 rgba(255,255,255,.28); animation: pxIn .45s cubic-bezier(.2,.9,.3,1); }
.px.light { --pt: #1B1B1B; }
.px-glow { position: absolute; right: -70px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); pointer-events: none; }
.px > *:not(.px-glow) { position: relative; }
.px h3 { margin: 0 0 6px; text-align: center; font: 700 19px/1.5 var(--font); color: var(--pt); }
.px-sub { margin: 0 0 14px; text-align: center; font-size: 13.5px; line-height: 1.65; opacity: .88; }
.px-ico { width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 14px 26px -12px rgba(0,0,0,.4); }
.px.light .px-ico { background: rgba(0,0,0,.08); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.px .cx-input { background: #fff; color: #1E293B; border-radius: 16px; padding: 16px 18px; font-size: 18px; letter-spacing: .06em; text-align: center; box-shadow: 0 14px 26px -16px rgba(0,0,0,.55); }
.px .cx-input::placeholder { letter-spacing: .04em; font-size: 16px; }
.px-num { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 14px 14px 14px 18px; border-radius: 20px; background: rgba(0,0,0,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.px.light .px-num { background: rgba(0,0,0,.07); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.px-num small { display: block; font: 700 11.5px var(--font-latin); letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: 3px; }
.px-num b { font: 800 25px/1.2 var(--font-latin); letter-spacing: .02em; overflow-wrap: anywhere; }
.px-copy { flex: none; width: 46px; height: 46px; border: 0; border-radius: 15px; cursor: pointer; font-size: 18px; color: var(--pc); background: #fff; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); transition: .15s; } .px-copy:active { transform: scale(.92); }
.px-pay { margin: 12px 2px 4px; font-size: 14px; opacity: .92; } .px-pay b { display: inline-block; margin-left: 6px; padding: 3px 12px; border-radius: 99px; background: #fff; color: var(--pc); font: 800 15px var(--font-latin); }
.px-steps { list-style: none; margin: 10px 0 0; padding: 0; }
.px-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; line-height: 1.65; font-size: 14.5px; }
.px-steps li[hidden] { display: none; }
.px-steps .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--font-latin); background: #fff; color: var(--pc); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); margin-top: 1px; }
.px-steps b { font-weight: 800; color: inherit; background: rgba(255,255,255,.18); padding: 0 6px; border-radius: 6px; } .px.light .px-steps b { background: rgba(0,0,0,.08); }
.px-steps li.px-img { display: block; padding: 6px 0 14px; text-align: center; }
.px-img img { max-width: 100%; max-height: 260px; border-radius: 16px; box-shadow: 0 18px 34px -16px rgba(0,0,0,.6), 0 0 0 3px rgba(255,255,255,.35); background: #fff; }
.px-wait { margin-top: 12px; padding: 18px 14px 16px; text-align: center; border-radius: 20px; background: rgba(0,0,0,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.px.light .px-wait { background: rgba(0,0,0,.06); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.px-me { font-size: 13.5px; opacity: .92; } .px-me i { margin-right: 4px; } .px-me a { margin-left: 8px; color: inherit; font-weight: 700; text-decoration: underline; }
.px-dots { display: flex; justify-content: center; gap: 7px; margin: 14px 0 10px; } .px-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--pt); animation: pxDot 1.2s infinite ease-in-out; } .px-dots i:nth-child(2) { animation-delay: .18s; } .px-dots i:nth-child(3) { animation-delay: .36s; }
.px-wt { margin: 0; font: 700 17px/1.5 var(--font); } .px-st { margin: 6px 0 12px; font: 600 13.5px var(--font-latin); opacity: .85; }
.px-bar { height: 6px; border-radius: 9px; background: rgba(255,255,255,.28); overflow: hidden; } .px.light .px-bar { background: rgba(0,0,0,.12); } .px-bar i { display: block; height: 100%; width: 100%; border-radius: 9px; background: var(--pt); transition: width 1s linear; }
.px-tabs { display: flex; gap: 6px; margin-top: 14px; padding: 5px; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px -14px rgba(15,40,80,.35); }
.px-tabs button { flex: 1; border: 0; border-radius: 14px; padding: 11px 8px; background: transparent; color: #64748B; font: 700 13.5px var(--font); cursor: pointer; transition: .2s; }
.px-tabs button.on { background: var(--pc, #0A7FC8); color: #fff; box-shadow: 0 10px 20px -10px var(--pc, #0A7FC8); }
.px-spin { display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pxSpin .8s linear infinite; }
#waitBtn { opacity: .75; cursor: default; }
@keyframes pxIn { from { opacity: 0; transform: translateY(18px) scale(.98); } } @keyframes pxDot { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } } @keyframes pxSpin { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .px { padding: 20px 14px 16px; border-radius: 22px; } .px-num b { font-size: 21px; } .px h3 { font-size: 17px; } }

/* copy-success popup (every page) */
.cp-pop { position: fixed; left: 50%; top: 22px; z-index: 100000; transform: translate(-50%, -140%); display: flex; align-items: center; gap: 12px; padding: 13px 22px 13px 14px; border-radius: 18px; background: #0F172A; color: #fff; font: 700 15px var(--font); box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); transition: transform .38s cubic-bezier(.2,1.3,.4,1); max-width: calc(100vw - 32px); }
.cp-pop.show { transform: translate(-50%, 0); }
.cp-pop i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: linear-gradient(135deg, #10B981, #34D399); box-shadow: 0 0 0 5px rgba(16,185,129,.22); }
#step2 { padding-bottom: 96px; }

/* ===== v12 premium public plan cards ===== */
.pp-plans { gap: 24px; padding-top: 12px; }
.pp-plans .plan.pp-card { --pc1: #0A7FC8; --pc2: #2AA7F0; padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: #fff; text-align: left; box-shadow: 0 20px 44px -20px rgba(15,40,80,.3), 0 0 0 1px rgba(15,40,80,.06); transition: transform .25s, box-shadow .25s; }
.pp-plans .plan.pp-card:nth-child(4n+2) { --pc1: #6D28D9; --pc2: #A855F7; } .pp-plans .plan.pp-card:nth-child(4n+3) { --pc1: #047857; --pc2: #10B981; } .pp-plans .plan.pp-card:nth-child(4n+4) { --pc1: #B45309; --pc2: #F59E0B; }
.pp-plans .plan.pp-card:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -22px rgba(15,40,80,.4), 0 0 0 1px rgba(15,40,80,.06); }
.pp-plans .plan.pp-card.popular { transform: none; border: 0; box-shadow: 0 28px 56px -22px var(--pc1), 0 0 0 2px var(--pc1); } .pp-plans .plan.pp-card.popular:hover { transform: translateY(-6px); }
.pp-top { position: relative; display: flex; align-items: center; gap: 14px; padding: 24px 24px 22px; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--pc1), var(--pc2)); }
.pp-top::after { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.14); }
.pp-top::before { content: ""; position: absolute; right: 44px; bottom: -72px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.09); }
.pp-plans .pp-top h3 { margin: 0; flex: 1; min-width: 0; font-size: 22px; font-weight: 800; color: #fff; position: relative; z-index: 1; }
.pp-ico { z-index: 1; flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.pp-badge { z-index: 1; flex: none; background: rgba(255,255,255,.95); color: var(--pc1); font-weight: 800; font-size: 12px; padding: 5px 11px; border-radius: 99px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); } .pp-badge i { color: #F59E0B; }
.pp-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pp-plans .tagline { min-height: 0; margin-bottom: 14px; color: var(--muted); }
.pp-plans .price { font: 800 42px/1 var(--font-latin); letter-spacing: -.02em; color: var(--pc1); margin: 0 0 10px; }
.pp-valid { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--pc1); background: color-mix(in srgb, var(--pc1) 11%, #fff); padding: 6px 12px; border-radius: 99px; margin-bottom: 8px; }
.pp-save { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: #047857; background: #E7F8EF; padding: 4px 10px; border-radius: 99px; margin-bottom: 8px; }
.pp-plans .plan ul { border-top: 1px dashed #D7E3F1; padding-top: 16px; margin: 12px 0 22px; }
.pp-plans .plan li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.pp-plans .plan li::before { display: none; }
.pp-plans .plan li .fi { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: var(--pc1); background: color-mix(in srgb, var(--pc1) 12%, #fff); }
.pp-plans .plan .btn { padding: 14px 18px; border-radius: 14px; font-weight: 800; background: linear-gradient(135deg, var(--pc1), var(--pc2)); color: #fff; border: 0; box-shadow: 0 14px 24px -12px var(--pc1); } .pp-plans .plan .btn:hover { filter: brightness(1.07); }
.pp-plans .plan .btn i { margin-left: 6px; font-size: 12px; }

/* ===== v14 compact one-screen payment step ===== */
.cx-body.s2 .cx-brand { margin: 8px 0 4px; gap: 10px; }
.cx-body.s2 .cx-logo { width: 42px; height: 42px; box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(30,64,120,.16); } .cx-body.s2 .cx-logo span { font-size: 18px; }
.cx-body.s2 .cx-bname { display: flex; align-items: center; gap: 10px; } .cx-body.s2 .cx-bname h1 { font-size: 14px; margin: 0; } .cx-body.s2 .cx-pill { font-size: 11px; padding: 4px 10px; }
.cx-body.s2 .cx-sup { gap: 8px; margin-bottom: 6px; } .cx-body.s2 .cx-sb { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
.cx-body.s2 .cx-amt { margin-top: 6px; padding: 6px 12px; border-radius: 14px; } .cx-body.s2 .cx-amt-logo { height: 36px; padding: 4px; } .cx-body.s2 .cx-amt-logo img { max-height: 26px; } .cx-body.s2 .cx-amt-v { font-size: 20px; padding-left: 10px; }
.cx-body.s2 .px-tabs { margin-top: 8px; padding: 3px; border-radius: 14px; } .cx-body.s2 .px-tabs button { padding: 8px 6px; font-size: 12.5px; border-radius: 11px; }
.px { margin-top: 8px; padding: 14px 14px 12px; border-radius: 20px; }
.px h3 { font-size: 15px; margin: 0 0 2px; line-height: 1.4; }
.px-sub { font-size: 11.5px; line-height: 1.45; margin: 0 0 8px; }
.px-ico { width: 40px; height: 40px; border-radius: 13px; font-size: 18px; margin: 0 auto 6px; }
.px .cx-input { padding: 11px 14px; font-size: 16px; border-radius: 13px; margin-bottom: 6px; }
.px .cx-input::placeholder { font-size: 14px; }
.px-num { margin-top: 4px; padding: 8px 10px 8px 14px; border-radius: 15px; gap: 8px; }
.px-num small { font-size: 10px; margin-bottom: 0; } .px-num b { font-size: 20px; }
.px-copy { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
.px-pay { margin: 7px 2px 2px; font-size: 12.5px; } .px-pay b { padding: 1px 10px; font-size: 13.5px; }
.px-steps { margin-top: 4px; }
.px-steps li { gap: 9px; padding: 4px 0; line-height: 1.5; font-size: 12.5px; }
.px-steps .n { width: 21px; height: 21px; font-size: 11px; margin-top: 0; box-shadow: 0 4px 10px -4px rgba(0,0,0,.5); }
.px-steps b { padding: 0 4px; border-radius: 5px; }
.px-steps li.px-img { padding: 2px 0 4px 30px; text-align: left; }
.px-img img { max-height: 78px; max-width: 100%; border-radius: 12px; cursor: zoom-in; box-shadow: 0 8px 16px -8px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.4); }
.px-img small { display: block; margin-top: 3px; font-size: 10.5px; opacity: .8; }
.px-wait { margin-top: 8px; padding: 10px 12px 10px; border-radius: 15px; }
.px-dots { margin: 8px 0 6px; } .px-dots i { width: 9px; height: 9px; }
.px-wt { font-size: 14px; } .px-st { margin: 3px 0 7px; font-size: 12px; } .px-me { font-size: 12px; }
.cx-body .cx-msg { margin-top: 6px; padding: 8px 10px; font-size: 12.5px; }
.cx-body.s2 .cx-cancel { margin-top: 8px; padding: 6px 12px; font-size: 12.5px; }
#step2 { padding-bottom: 76px; }
.cx-body.s2 .cx-cta { padding: 13px; font-size: 15.5px; } .cx-body.s2 .cx-bar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.px-lb { position: fixed; inset: 0; z-index: 100001; background: rgba(10,15,30,.86); display: none; align-items: center; justify-content: center; padding: 16px; } .px-lb.on { display: flex; }
.px-lb img { max-width: 100%; max-height: 88vh; border-radius: 16px; background: #fff; }

/* ===== v15 fill-the-screen payment step (any phone size) ===== */
.cx-body.s2 #pay { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.cx-body.s2 #view-pay { flex: 1; display: flex; flex-direction: column; }
.cx-body.s2 #step2:not([hidden]) { flex: 1; display: flex; flex-direction: column; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
.cx-body.s2 .px:not([hidden]) { flex: 1; display: flex; flex-direction: column; margin-top: 8px; }
.cx-body.s2 .px > div[data-show*="phone:send"]:not([hidden]) { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cx-body.s2 .px-steps { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; min-height: 0; }
.cx-body.s2 .px-steps li { padding: 5px 0; }
.cx-body.s2 .px-steps li[hidden] { display: none; }
.cx-body.s2 .px-steps li.px-img { position: relative; flex: 1 1 90px; display: block; min-height: 84px; padding: 0; margin: 4px 0; }
.cx-body.s2 .px-img img { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: auto; height: auto; max-width: 100%; max-height: calc(100% - 22px); object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 14px 26px -12px rgba(0,0,0,.65), 0 0 0 3px rgba(255,255,255,.55); }
.cx-body.s2 .px-img small { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; margin: 0; padding: 2px 10px; border-radius: 99px; background: rgba(0,0,0,.22); font-size: 10.5px; opacity: 1; }
.cx-body.s2 .px.light .px-img small { background: rgba(0,0,0,.08); }
.cx-body.s2 .px-wait { margin-top: auto; }
@media (min-height: 760px) { .cx-body.s2 .px-steps li { font-size: 13.5px; } .cx-body.s2 .px-num b { font-size: 22px; } .cx-body.s2 .px .cx-input { padding: 13px 14px; } }
@media (min-height: 860px) { .cx-body.s2 .px-steps li { font-size: 14.5px; padding: 7px 0; } .cx-body.s2 .px-steps .n { width: 24px; height: 24px; font-size: 12px; } .cx-body.s2 .px h3 { font-size: 17px; } .cx-body.s2 .px-sub { font-size: 12.5px; } }
.cx-body.s2 #pay { box-sizing: border-box; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
.cx-body.s2 #step2:not([hidden]) { padding-bottom: 0; }
.cx-body.s2 .cx-secure { display: none; }
.cx-body.s2 .cx-cancel { margin-top: 10px; }
@media (max-height: 720px) { .cx-body.s2 .px-sub { display: none; } .cx-body.s2 .px-steps li.px-img { min-height: 64px; flex-basis: 64px; } .cx-body.s2 .px-steps li { font-size: 12px; padding: 3px 0; } .cx-body.s2 .px-pay { margin-top: 5px; } .cx-body.s2 .cx-top { margin-bottom: 0; } }

/* ===== v16 edge-to-edge on phones (no wide side gaps) ===== */
@media (max-width: 640px) {
  .cx-body .cx { max-width: none; width: 100%; box-sizing: border-box; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .cx-body .cx-cta { max-width: none; }
  .cx-body .cx-bar { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .cx-body .cx-dlg { width: calc(100vw - 20px); }
}
