/* Qpay UI */
:root {
    --brand: #e2136e;
    --brand-600: #c80f60;
    --brand-50: #fdeef5;
    --ink: #101828;
    --muted: #667085;
    --line: #eaecf0;
    --bg: #f5f6fa;
    --sidebar: #141927;
    --sidebar-2: #1c2233;
    --sidebar-text: #aab2c5;
    --radius: 14px;
    --brand-rgb: 226, 19, 110;
    --surface: #fff;          /* cards, inputs, tiles */
    --surface-2: #f9fafb;     /* table heads, subtle fills */
    --ink-2: #344054;         /* secondary text */
    --ink-3: #475467;
    --line-2: #d0d5dd;        /* input borders */
    --hero-a: #fde3ef;        /* hero glow colours */
    --hero-b: #e6ebff;
    --page-bg: #f7f8fb;       /* auth / checkout background */
    --footer-bg: #0f1424;
    --topbar-bg: rgba(255, 255, 255, .9);
    --sidebar-w: 264px;
    --bs-font-sans-serif: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-color: var(--ink);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 226, 19, 110;
    --bs-link-hover-color: var(--brand-600);
    --bs-link-hover-color-rgb: 200, 15, 96;
    --bs-border-color: var(--line);
    --bs-primary: var(--brand);
    --bs-primary-rgb: 226, 19, 110;
}
body { font-family: var(--bs-font-sans-serif); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.text-brand { color: var(--brand) !important; }
.min-w-0 { min-width: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84em; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4 { font-weight: 700; letter-spacing: -.01em; }

/* Buttons & forms */
.btn { border-radius: 10px; font-weight: 500; }
.btn-sm { border-radius: 8px; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus, .btn-brand:active { background: var(--brand-600) !important; border-color: var(--brand-600) !important; color: #fff !important; }
.btn-outline-secondary { --bs-btn-color: var(--ink-2); --bs-btn-border-color: var(--line-2); --bs-btn-hover-bg: var(--surface-2); --bs-btn-hover-color: #101828; --bs-btn-hover-border-color: var(--line-2); --bs-btn-active-bg: #f2f4f7; --bs-btn-active-color: #101828; }
.btn-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; font-size: 1.25rem; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line-2); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #f08bb8; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-label { font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.nav-pills .nav-link { color: var(--ink-3); border-radius: 8px; }
.nav-pills .nav-link.active { background: var(--brand); }
.page-link { color: var(--brand); }
.active > .page-link, .page-link.active { background: var(--brand); border-color: var(--brand); }
.alert { border-radius: 12px; border: 1px solid transparent; }
.badge { font-weight: 600; letter-spacing: .01em; border-radius: 6px; padding: .38em .6em; }

/* Cards & tables */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.card-header { background: var(--surface); border-bottom: 1px solid var(--line); font-weight: 600; padding: .9rem 1.15rem; border-radius: var(--radius) var(--radius) 0 0 !important; }
.card-header a { font-weight: 500; font-size: .875rem; }
.card > .table-responsive:last-child, .card > .table-responsive:last-child .table { border-radius: 0 0 var(--radius) var(--radius); }
.table { --bs-table-hover-bg: var(--surface-2); margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .75rem 1rem; vertical-align: middle; border-color: var(--line); }
.table-sm > :not(caption) > * > * { padding: .5rem .75rem; }
.table-responsive .table td { white-space: nowrap; }
.table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.list-group-item { border-color: var(--line); padding: .8rem 1.15rem; }
pre.code { background: #141927; color: #e4e7ec; padding: 1rem 1.1rem; border-radius: 10px; font-size: .8rem; overflow-x: auto; }

/* Stat cards */
.stat-card .card-body { padding: 1.15rem 1.2rem; }
.stat-card .label { color: var(--muted); font-size: .8rem; font-weight: 500; }
.stat-card .value { font-size: 1.5rem; font-weight: 700; line-height: 1.25; margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-card .sub { color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.tone-brand { background: var(--brand-50); color: var(--brand); }
.tone-green { background: #ecfdf3; color: #12b76a; }
.tone-blue { background: #eff4ff; color: #2e61e6; }
.tone-amber { background: var(--surface)aeb; color: #dc6803; }
.tone-violet { background: #f4f3ff; color: #6e51e0; }

/* Chart */
.hchart { display: flex; gap: .5rem; height: 240px; }
.hchart-axis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 24px; font-size: .72rem; color: #98a2b3; text-align: right; min-width: 2.6rem; }
.hchart-axis span { line-height: 1; transform: translateY(-.35em); }
.hchart-axis span:last-child { transform: translateY(.35em); }
.hchart-plot { position: relative; flex: 1; min-width: 0; }
.hchart-grid { position: absolute; inset: 0 0 24px 0; display: flex; flex-direction: column; justify-content: space-between; }
.hchart-grid i { border-top: 1px dashed #eaecf0; }
.hchart-grid i:last-child { border-top: 1px solid var(--line-2); }
.hchart-bars { position: absolute; inset: 0; display: flex; align-items: stretch; }
.hchart-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; padding-bottom: 24px; position: relative; }
.hchart-bar { width: 58%; max-width: 30px; background: linear-gradient(180deg, #f0468f, var(--brand)); border-radius: 6px 6px 2px 2px; transition: opacity .15s; }
.hchart-col:hover .hchart-bar { opacity: .8; }
.hchart-label { position: absolute; bottom: 0; font-size: .7rem; color: #98a2b3; white-space: nowrap; }
@media (max-width: 575.98px) { .hchart-label:not(.is-today):not(.sm-keep) { display: none; } }
.chart-empty { position: absolute; inset: 0 0 24px 0; display: flex; flex-direction: column; gap: .35rem; align-items: center; justify-content: center; color: var(--muted); font-size: .875rem; }
.chart-empty i { font-size: 1.6rem; opacity: .5; }

/* Panel shell */
.panel { background: var(--bg); }
.sidebar, .sidebar.offcanvas-lg { background-color: var(--sidebar) !important; color: #fff; }
.sidebar { width: var(--sidebar-w); border-right: 0 !important; }
.sidebar-inner { display: flex; flex-direction: column; height: 100%; min-height: 100vh; width: 100%; }
@media (min-width: 992px) {
    .sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1030; overflow-y: auto; }
    .main { margin-left: var(--sidebar-w); }
}
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.1rem; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; box-shadow: 0 4px 12px rgba(var(--brand-rgb), .4); }
.sidebar-account { margin: 0 1rem .75rem; padding: .8rem .9rem; background: var(--sidebar-2); border-radius: 12px; color: #fff; font-size: .9rem; }
.role-badge { display: inline-block; margin-top: .35rem; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #e4e7ec; }
.role-badge.is-own { background: rgba(46, 144, 250, .2); color: #b2ddff; }
.sidebar-nav { padding: .25rem .75rem 1rem; flex: 1; }
.nav-section { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #667085; padding: 1rem .75rem .4rem; }
.nav-item { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; margin-bottom: 2px; border-radius: 10px; color: var(--sidebar-text); font-weight: 500; font-size: .92rem; }
.nav-item i { font-size: 1.05rem; width: 1.25rem; text-align: center; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.nav-item.active { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(var(--brand-rgb), .35); }
.sidebar-foot { padding: 1rem 1.5rem; font-size: .75rem; color: #667085; }

.topbar { position: sticky; top: 0; z-index: 1020; height: 64px; display: flex; align-items: center; gap: .75rem; padding: 0 1.5rem; background: var(--topbar-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-title { font-weight: 600; color: var(--ink-2); }
.balance-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: .875rem; }
.balance-pill strong { color: var(--ink); }
.user-btn { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .25rem .75rem .25rem .25rem; font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.content { padding: 1.75rem; max-width: 1480px; }
@media (max-width: 575.98px) { .content { padding: 1rem; } .topbar { padding: 0 1rem; } }
.page-head { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; font-size: 1.5rem; }
.page-head p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.content > h1.h4 { font-size: 1.5rem; margin-bottom: 1.25rem !important; }

/* Public / auth / checkout */
.auth-bg { background: radial-gradient(1200px 600px at 10% -10%, var(--hero-a) 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, var(--hero-b) 0%, transparent 55%), var(--page-bg); min-height: 100vh; }
.auth-bg .brand, .brand-lg { color: var(--ink); font-size: 1.5rem; font-weight: 800; }
.auth-bg .card { border-radius: 18px; box-shadow: 0 12px 40px rgba(16, 24, 40, .08); }
.checkout-bg { background: radial-gradient(1000px 500px at 50% -20%, var(--hero-a) 0%, transparent 60%), var(--page-bg); min-height: 100vh; }
.checkout-card { border-radius: 20px; overflow: hidden; box-shadow: 0 16px 48px rgba(16, 24, 40, .1); }
.checkout-head { background: linear-gradient(135deg, var(--brand), #b10b56); color: #fff; padding: 1.35rem 1.5rem; }
.checkout-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.btn-bkash { background: var(--brand); color: #fff; font-weight: 700; padding: .9rem; font-size: 1.05rem; border-radius: 12px; }
.btn-bkash:hover { background: var(--brand-600); color: #fff; }
.mode-option { cursor: pointer; border: 2px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; height: 100%; transition: border-color .15s, background .15s; }
.mode-option:hover { border-color: #f5b5d2; }
.btn-check:checked + .mode-option { border-color: var(--brand); background: var(--brand-50); }
.hero { background: radial-gradient(900px 500px at 0% 0%, var(--hero-a) 0%, transparent 60%), radial-gradient(800px 500px at 100% 100%, var(--hero-b) 0%, transparent 55%), #fff; }
.navbar-brand.text-brand { color: var(--ink) !important; }

/* Checkout: method picker & manual payment */
.merchant-initial { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; flex-shrink: 0; }
.pay-option { min-width: 0; text-align: inherit; display: flex; align-items: center; gap: .85rem; width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .05s; }
.pay-option:hover { border-color: #f5a3c7; box-shadow: 0 4px 14px rgba(var(--brand-rgb), .08); }
.pay-option:active { transform: scale(.995); }
.provider-logo { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; flex-shrink: 0; overflow: hidden; background: #667085; }
.provider-logo img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.p-bkash { background: #e2136e; } .p-nagad { background: #f7941d; } .p-rocket { background: #8c3494; } .p-upay { background: #0b4ea2; } .p-bank { background: #0f766e; }
.manual-box { border: 1.5px dashed #f5a3c7; background: var(--brand-50); border-radius: 14px; padding: 1rem; }
.result-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.qr-box { width: 180px; height: 180px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.qr-box svg, .qr-box img { width: 100%; height: 100%; }

.text-uppercase::placeholder { text-transform: none; }
.pay-option > .text-end { white-space: nowrap; }

/* Status page */
.uptime-bars { display: flex; gap: 2px; height: 28px; }
.uptime-bars span { flex: 1; border-radius: 3px; background: var(--line-2); }
.uptime-bars .ok { background: #12b76a; } .uptime-bars .warn { background: #f79009; } .uptime-bars .bad { background: #f04438; }
.lang-switch a { color: inherit; font-size: .85rem; }
@media print {
    .checkout-bg { background: var(--surface) !important; }
    .checkout-card { box-shadow: none !important; border: 1px solid #ddd !important; }
    .d-print-none, .alert-dismissible { display: none !important; }
}

/* ===================== Public website (v1.4) ===================== */
body.site { background: var(--surface); }
.site-nav { background: var(--topbar-bg); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .navbar-brand { color: var(--ink); }
.site-nav .nav-link { color: var(--ink-2); font-weight: 500; padding: .5rem .9rem !important; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); }
.brand-mark.sm { width: 26px; height: 26px; font-size: .8rem; border-radius: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow-dark { background: rgba(255,255,255,.1); color: #ff8fc1; }

.hero-x { padding: 72px 0 64px; background: radial-gradient(900px 520px at -10% -10%, var(--hero-a) 0%, transparent 60%), radial-gradient(800px 500px at 110% 110%, var(--hero-b) 0%, transparent 55%), #fff; overflow: hidden; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.hero-lead { font-size: 1.15rem; color: var(--muted); margin-top: 1.1rem; max-width: 560px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.6rem; font-size: .9rem; color: var(--ink-3); }
.hero-trust i { color: #12b76a; margin-right: .3rem; }

.hero-visual { position: relative; max-width: 440px; margin: 0 auto; padding: 24px 12px; }
.mock-checkout { background: var(--surface); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(16,24,40,.25), 0 0 0 1px var(--line); padding: 22px; transform: rotate(-1.5deg); }
.mock-head { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 18px; }
.mock-amount { background: linear-gradient(135deg, var(--brand), #ff5fa2); color: #fff; border-radius: 16px; padding: 18px; margin-bottom: 14px; display: flex; flex-direction: column; }
.mock-amount span { font-size: .85rem; opacity: .85; }
.mock-amount strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.mock-option { display: flex; align-items: center; gap: .7rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-weight: 600; }
.mock-option small { color: var(--muted); font-weight: 500; }
.mock-option.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.pm { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.pm-bkash { background: #e2136e; } .pm-nagad { background: #f6921e; } .pm-rocket { background: #8c3494; } .pm-upay { background: #0b4ea2; }
.mock-foot { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 12px; }
.float-card { position: absolute; background: var(--surface); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(16,24,40,.22); padding: 10px 14px; display: flex; gap: .6rem; align-items: center; font-size: .85rem; }
.float-card i { font-size: 1.4rem; }
.float-card small { display: block; color: var(--muted); }
.fc-1 { left: -18px; bottom: -6px; animation: floaty 5s ease-in-out infinite; }
.fc-2 { right: -14px; top: 6px; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 575.98px) { .fc-1 { left: 0; } .fc-2 { right: 0; } .mock-checkout { transform: none; } }
@media (prefers-reduced-motion: reduce) { .fc-1, .fc-2 { animation: none; } }

.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; background: var(--surface-2); }
.stat-big { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat-cap { color: var(--muted); font-size: .9rem; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2, .section-dark h2, .cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(16,24,40,.2); border-color: #f5c2da; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin: 16px 0 6px; }
.feature-card p { color: var(--muted); font-size: .93rem; margin: 0; }

.step { background: var(--surface); border-radius: 18px; padding: 28px; height: 100%; border: 1px solid var(--line); }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--muted); margin: 0; }

.mode-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; height: 100%; background: linear-gradient(180deg, #fff, var(--surface-2)); }
.mode-card h3 { font-size: 1.2rem; font-weight: 700; }
.mode-card > p { color: var(--muted); }

.section-dark { background: var(--footer-bg); color: #fff; }
.integrations span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: .4rem .8rem; border-radius: 999px; font-size: .88rem; }
.code-window { background: #161c2e; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 44px 22px 22px; color: var(--line-2); font-size: .84rem; position: relative; white-space: pre-wrap; word-break: break-word; margin: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.cw-dots { position: absolute; top: 16px; left: 18px; display: flex; gap: 6px; }
.cw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .cw-dots i:nth-child(2) { background: #febc2e; } .cw-dots i:nth-child(3) { background: #28c840; }
.c-k { color: #ff8fc1; } .c-s { color: #a6e3a1; } .c-c { color: #7f8aa3; }

.plan-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; transition: box-shadow .2s; }
.plan-card:hover { box-shadow: 0 24px 50px -24px rgba(16,24,40,.25); }
.plan-card.is-featured { border: 2px solid var(--brand); box-shadow: 0 24px 60px -24px rgba(var(--brand-rgb), .35); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan-name { font-weight: 700; font-size: 1.1rem; }
.plan-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: .93rem; min-height: 2.6em; }
.plan-rate { background: var(--brand-50); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.plan-rate strong { font-size: 1.25rem; color: var(--brand); }
.plan-rate span { color: var(--ink-3); font-size: .85rem; }
.plan-list { list-style: none; padding: 0; margin: 0 0 22px; }
.plan-list li { display: flex; gap: .5rem; padding: 6px 0; font-size: .93rem; }
.plan-list li i { color: #12b76a; font-size: 1.05rem; }
.plan-list li.is-off { color: #98a2b3; } .plan-list li.is-off i { color: #98a2b3; }

.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: 10px; overflow: hidden; }
.faq .accordion-button { font-weight: 600; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--brand-50); color: var(--ink); }
.faq .accordion-body { color: var(--ink-3); }

.cta-band { background: linear-gradient(135deg, var(--brand) 0%, #b0105a 100%); color: #fff; padding: 72px 0; }
.cta-band p { opacity: .9; font-size: 1.1rem; margin-bottom: 1.6rem; }

.page-hero { padding: 64px 0 40px; background: radial-gradient(700px 360px at 50% -20%, var(--hero-a) 0%, transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead { color: var(--muted); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.price-table th { font-weight: 500; color: var(--ink-3); width: 52%; padding-left: 0; }
.price-table td { font-weight: 600; }
.price-table tr + tr { border-top: 1px dashed var(--line); }
.example-row { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px dashed var(--line); }
.example-row span { color: var(--muted); font-size: .88rem; }
.contact-line { display: flex; gap: .9rem; align-items: center; padding: 10px 0; }
.contact-line + .contact-line { border-top: 1px dashed var(--line); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.prose { font-size: 1.02rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin: 2rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose-cta { margin-top: 2.5rem; padding: 18px 22px; background: var(--bg); border-radius: 14px; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; }

.site-footer { background: var(--footer-bg); color: #98a2b3; padding: 64px 0 28px; }
.site-footer a { color: var(--line-2); display: block; padding: 4px 0; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-title { color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; font-size: .85rem; }
.footer-bottom a { display: inline; }
.pay-chips span { font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; color: #fff; }
.chip-bkash { background: #e2136e; } .chip-nagad { background: #f6921e; } .chip-rocket { background: #8c3494; } .chip-upay { background: #0b4ea2; }
@media (max-width: 991.98px) { .section { padding: 64px 0; } .hero-x { padding: 48px 0; } .site-nav .navbar-collapse { padding-top: .5rem; } }

/* ===================== Checkout v1.5: branded hero, tabs, method grid ===================== */
.co-card { border: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(16, 24, 40, .22); }
.co-hero { --brand-c: var(--brand); position: relative; color: #fff; padding: 22px 24px 20px;
    background: var(--brand-c); /* fallback for browsers without color-mix() */
    background: radial-gradient(420px 220px at 100% 0%, rgba(255,255,255,.22), transparent 60%), linear-gradient(135deg, var(--brand-c), color-mix(in srgb, var(--brand-c) 62%, #000)); }
.co-brand { display: flex; align-items: center; gap: 14px; }
.co-logo { width: 60px; height: 60px; border-radius: 16px; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.co-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.co-logo span { font-size: 1.6rem; font-weight: 800; color: var(--brand-c); }
.co-paying { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.co-name { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.co-verified { color: #7ee2b8; font-size: 1rem; }
.co-site { font-size: .82rem; opacity: .8; }
.co-amount-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.35); }
.co-label { font-size: .78rem; opacity: .8; }
.co-amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.co-timer { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-timer.is-low { background: var(--surface); color: #d92d20; animation: coPulse 1s ease-in-out infinite; }
@keyframes coPulse { 50% { opacity: .65; } }

.co-body { padding: 0 22px 22px; }
.co-tabs { display: flex; gap: 4px; background: var(--bg); border-radius: 14px; padding: 4px; margin: 18px 0; flex-wrap: nowrap; }
.co-tabs .nav-item { flex: 1; }
.co-tabs .nav-link { width: 100%; border: 0; border-radius: 10px; color: var(--ink-3); font-weight: 600; font-size: .9rem; padding: .55rem .4rem; background: transparent; white-space: nowrap; }
.co-tabs .nav-link.active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(16,24,40,.08); }
.co-tabs .nav-link i { margin-right: .25rem; }

.co-group { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #667085; margin: 4px 2px 10px; }
.co-group i { color: var(--brand); }
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.co-grid-2 { grid-template-columns: 1fr 1fr; }
.co-method { --pc: #667085; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 12px 14px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.co-method::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pc); opacity: .9; }
.co-method:hover, .co-method:focus-visible { transform: translateY(-3px); border-color: var(--pc); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--pc) 55%, transparent); outline: none; }
.co-method:active { transform: translateY(-1px) scale(.99); }
.co-mlogo { width: 52px; height: 52px; border-radius: 16px; background: var(--pc); color: #fff; font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 4px; box-shadow: 0 8px 18px -8px var(--pc); }
.co-mlogo img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.co-mname { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.co-mtype { font-size: .75rem; color: var(--muted); }
.co-mamount { font-weight: 800; font-size: 1.05rem; margin-top: 6px; color: var(--ink); }
.co-mfee { font-size: .7rem; color: var(--muted); }
.co-ribbon { position: absolute; top: 12px; right: -30px; transform: rotate(45deg); background: #12b76a; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .04em; padding: 2px 32px; text-transform: uppercase; }
.co-mtext, .co-mprice { display: flex; flex-direction: column; align-items: center; }
.co-grid.is-featured { grid-template-columns: 1fr; }
.co-grid.is-featured .co-method { flex-direction: row; text-align: left; gap: 14px; padding: 16px 18px; }
.co-grid.is-featured .co-method::before { inset: 0 auto 0 0; width: 5px; height: auto; }
.co-grid.is-featured .co-mlogo { margin: 0; }
.co-grid.is-featured .co-mtext { align-items: flex-start; flex: 1; min-width: 0; }
.co-grid.is-featured .co-mprice { align-items: flex-end; }
.co-badge { display: inline-flex; align-items: center; gap: 2px; background: #ecfdf3; color: #067647; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.co-grid.is-featured .co-mamount { margin: 0; font-size: 1.2rem; }
.co-grid.is-featured .co-mname { font-size: 1.05rem; }
@media (max-width: 575.98px) { .co-grid.is-featured .co-method { padding: 14px; gap: 10px; } }
.co-mqr { position: absolute; top: 10px; left: 10px; color: var(--muted); font-size: .85rem; }
.co-method[data-p=bkash] { --pc: #e2136e; } .co-method[data-p=nagad] { --pc: #f6921e; } .co-method[data-p=rocket] { --pc: #8c3494; }
.co-method[data-p=upay] { --pc: #0b4ea2; } .co-method[data-p=bank] { --pc: #0f766e; } .co-method[data-p=other] { --pc: #667085; }

.co-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.co-empty { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 14px; padding: 18px; }
.co-empty i { font-size: 1.6rem; color: var(--muted); }

.co-details { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.co-drow { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: .92rem; }
.co-drow + .co-drow { border-top: 1px dashed var(--line); }
.co-drow span { color: var(--muted); }
.co-drow strong { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.co-note { margin-top: 12px; background: var(--surface)aeb; color: #93370d; border-radius: 12px; padding: 10px 14px; font-size: .9rem; }

.co-support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.co-support { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; transition: border-color .15s, box-shadow .15s; }
.co-support:hover { border-color: #f5a3c7; box-shadow: 0 6px 16px -10px rgba(var(--brand-rgb), .4); color: var(--ink); }
.co-support small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.co-si { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.co-platform-help { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: .85rem; color: var(--ink-3); }
.co-platform-help i { color: var(--brand); font-size: 1.1rem; }

.brand-preview { --brand-c: var(--brand); width: 72px; height: 72px; border-radius: 18px; background: var(--brand-c); background: linear-gradient(135deg, var(--brand-c), color-mix(in srgb, var(--brand-c) 62%, #000)); display: flex; align-items: center; justify-content: center; padding: 8px; flex-shrink: 0; }
.brand-preview img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); border-radius: 12px; padding: 4px; }
.brand-preview span { width: 100%; height: 100%; background: var(--surface); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; color: var(--brand-c); }

@media (max-width: 575.98px) {
    .co-hero { padding: 18px 16px; }
    .co-body { padding: 0 14px 16px; }
    .co-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .co-amount { font-size: 1.75rem; }
    .co-tabs .nav-link { font-size: .82rem; }
    .co-tabs .nav-link i { display: none; }
}
@media print { .co-tabs, .co-foot, .co-timer { display: none !important; } }

/* ===================== Themes (v1.6) ===================== */
.theme-preview-bar { position: sticky; top: 0; z-index: 2000; width: 100%; background: #101828; color: #fff; padding: 6px 14px; font-size: .8rem; display: flex; gap: 6px 14px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.theme-preview-bar a { color: #ffd1e6; font-weight: 600; white-space: nowrap; }
.theme-card.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.theme-thumb { height: 150px; display: flex; background: var(--t-bg); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.tt-side { width: 22%; background: var(--t-side); padding: 14px 8px; display: flex; flex-direction: column; gap: 7px; }
.tt-side i { height: 7px; border-radius: 4px; background: rgba(255,255,255,.25); } .tt-side i:first-child { background: var(--t-brand); }
.tt-main { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.tt-bar { height: 10px; width: 55%; border-radius: 5px; background: var(--t-ink); opacity: .75; }
.tt-cards { display: flex; gap: 6px; } .tt-cards span { flex: 1; height: 30px; border-radius: 6px; background: var(--t-surface); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.tt-pay { flex: 1; border-radius: 8px; background: var(--t-surface); box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.tt-pay b { height: 12px; width: 40%; border-radius: 4px; background: var(--t-brand); } .tt-pay em { height: 8px; border-radius: 4px; background: var(--t-accent); opacity: .25; }

/* Page tabs (data-page-tabs) */
.page-tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--bs-border-color); margin-bottom: 1rem; }
@media (max-width: 767.98px) { .page-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; } }
.page-tab { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem .9rem; font-weight: 600; font-size: .9rem; color: var(--bs-secondary-color); white-space: nowrap; margin-bottom: -1px; }
.page-tab:hover { color: var(--bs-body-color); }
.page-tab.active { color: var(--brand, #e2136e); border-bottom-color: currentColor; }
.page-tab:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; border-radius: 4px; }
.page-tab .bi { margin-right: .2rem; }
.save-bar { position: sticky; bottom: 0; z-index: 5; background: var(--bs-body-bg); border-top: 1px solid var(--bs-border-color); padding: .75rem 0; margin-top: .5rem; display: flex; align-items: center; gap: .75rem; }

/* ---- Qpay 1.8: shop page, store, donations, POS, poster ----------------------------------------------------------- */
.fx-hint { font-size: .78rem; opacity: .75; margin-top: .1rem; font-weight: 500; letter-spacing: 0; }
.sp-wrap { --sp-brand: #e2136e; }
.sp-hero { text-align: center; padding: 2rem 1rem 1.25rem; border-radius: 24px; background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--sp-brand) 16%, transparent), transparent 70%); }
.sp-logo { width: 88px; height: 88px; border-radius: 24px; margin: 0 auto .75rem; background: var(--sp-brand); color: #fff; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; overflow: hidden; box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--sp-brand) 60%, transparent); }
.sp-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sp-name { font-size: 1.6rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.sp-verified { display: inline-flex; gap: .35rem; align-items: center; margin-top: .4rem; padding: .2rem .7rem; border-radius: 99px; background: rgba(13,110,253,.1); color: #0d6efd; font-size: .82rem; font-weight: 600; text-decoration: none; }
.sp-tagline { color: var(--bs-secondary-color); margin: .6rem auto 0; max-width: 560px; }
.sp-stats { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; margin-top: .6rem; color: var(--bs-secondary-color); }
.sp-contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.sp-contacts a { display: inline-flex; gap: .35rem; align-items: center; padding: .35rem .75rem; border-radius: 99px; border: 1px solid var(--bs-border-color); font-size: .85rem; text-decoration: none; color: inherit; background: var(--bs-body-bg); }
.sp-contacts a:hover { border-color: var(--sp-brand); color: var(--sp-brand); }
.sp-card { border-radius: 18px; }
.sp-row { display: flex; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-top: 1px dashed var(--bs-border-color); text-decoration: none; color: inherit; }
.sp-row:first-of-type { border-top: 0; }
.sp-row:hover { color: var(--sp-brand); }
.sp-accept { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; justify-content: center; margin-top: 1rem; font-size: .78rem; color: var(--bs-secondary-color); }
.sp-pm { padding: .15rem .55rem; border-radius: 6px; color: #fff; font-weight: 600; background: #6c757d; }
.sp-pm-bkash { background: #e2136e; } .sp-pm-nagad { background: #f6921e; } .sp-pm-rocket { background: #8c3494; } .sp-pm-upay { background: #0b4ea2; } .sp-pm-bank { background: #155e75; }
.sp-product { display: block; text-decoration: none; color: inherit; }
.sp-pimg { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--bs-tertiary-bg); overflow: hidden; margin-bottom: .3rem; color: var(--bs-secondary-color); font-size: 1.5rem; }
.sp-pimg img { width: 100%; height: 100%; object-fit: cover; }
.pub-body { background: var(--bs-tertiary-bg); min-height: 100vh; }
.pub-container { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.pub-top { background: var(--bs-body-bg); border-bottom: 1px solid var(--bs-border-color); position: sticky; top: 0; z-index: 20; }
.pub-top .pub-container { min-height: 60px; }
.pub-brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; color: inherit; min-width: 0; }
.pub-logo { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--sp-brand); color: #fff; display: grid; place-items: center; overflow: hidden; font-weight: 800; }
.pub-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pub-nav { display: flex; gap: .25rem; }
.pub-nav a { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .7rem; border-radius: 10px; text-decoration: none; color: var(--bs-secondary-color); font-weight: 500; font-size: .92rem; position: relative; }
.pub-nav a.active, .pub-nav a:hover { color: var(--sp-brand); background: color-mix(in srgb, var(--sp-brand) 8%, transparent); }
.pub-cart .badge { background: var(--sp-brand); font-size: .65rem; position: absolute; top: 0; right: 0; }
@media (max-width: 575px) { .pub-nav a span:not(.badge) { display: none; } }
.qp-toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 120px); background: #111827; color: #fff; padding: .7rem 1rem; border-radius: 12px; display: flex; gap: .5rem; align-items: center; transition: transform .25s; z-index: 1080; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: .92rem; }
.qp-toast.show { transform: translate(-50%, 0); }
.qp-toast .bi { color: #22c55e; }
.qp-toast a { color: #fff; font-weight: 700; margin-left: .5rem; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.st-card { background: var(--bs-body-bg); border-radius: 16px; overflow: hidden; border: 1px solid var(--bs-border-color); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.st-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0,0,0,.25); }
.st-img { aspect-ratio: 1; background: var(--bs-tertiary-bg); display: grid; place-items: center; color: var(--bs-secondary-color); font-size: 2rem; position: relative; overflow: hidden; }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.st-off { position: absolute; top: 8px; left: 8px; background: #dc3545; color: #fff; font-size: .72rem; font-weight: 700; padding: .15rem .45rem; border-radius: 6px; }
.st-out { position: absolute; inset: 0; background: rgba(255,255,255,.65); display: grid; place-items: center; font-weight: 700; color: #6c757d; font-size: .9rem; }
.st-body { padding: .7rem .8rem .8rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.st-name { font-weight: 600; font-size: .92rem; color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-price { font-weight: 800; }
.st-price del { font-weight: 400; color: var(--bs-secondary-color); font-size: .82rem; margin-left: .3rem; }
.st-chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.st-chips a { padding: .3rem .8rem; border-radius: 99px; border: 1px solid var(--bs-border-color); text-decoration: none; color: inherit; font-size: .85rem; background: var(--bs-body-bg); }
.st-chips a.active { background: var(--sp-brand); color: #fff; border-color: var(--sp-brand); }
.st-line { display: flex; gap: .75rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--bs-border-color); }
.st-line:first-child { border-top: 0; }
.st-thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--bs-tertiary-bg); overflow: hidden; flex: 0 0 56px; display: grid; place-items: center; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-qty { display: inline-flex; align-items: center; border: 1px solid var(--bs-border-color); border-radius: 10px; overflow: hidden; }
.st-qty button { border: 0; background: none; width: 30px; height: 30px; }
.st-qty span { min-width: 26px; text-align: center; font-weight: 600; }
.st-timeline { display: flex; justify-content: space-between; position: relative; margin: 1.25rem 0; }
.st-timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; height: 3px; background: var(--bs-border-color); }
.st-step { position: relative; text-align: center; flex: 1; font-size: .78rem; color: var(--bs-secondary-color); }
.st-step i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto .35rem; background: var(--bs-tertiary-bg); border: 3px solid var(--bs-body-bg); position: relative; }
.st-step.done { color: inherit; font-weight: 600; }
.st-step.done i { background: var(--sp-brand); color: #fff; }
