/* Kalpurush — self-hosted (OFL, Avro Free Bangla Font Project).
   Google Fonts does NOT carry Kalpurush; the file was fetched from the
   MSAR CDN mirror and is served locally. Regular weight only — bold
   headings render with synthesized bold, which is fine. */
@font-face {
  font-family: 'Kalpurush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/kalpurush.woff2') format('woff2');
}
/* IdBoost — light trust-led theme: white + emerald, dark slate headings, mint accents.
   Layout skeleton kept from the AmarBoost study; colours/art are IdBoost's own. */
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --mint: #ecfdf5;
  --mint-2: #d1fae5;
  --mint-3: #a7f3d0;
  --brand: #059669;
  --brand-dark: #047857;
  --brand-deep: #065f46;
  --ink: #1e2638;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --input-bg: #ffffff;
  --amber-bg: #fffbeb;
  --amber-line: #fde68a;
  --amber-text: #92400e;
  --red: #dc2626;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(30, 38, 56, .08);
  --shadow-sm: 0 4px 14px rgba(30, 38, 56, .07);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Kalpurush', 'Noto Sans Bengali', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; width: 100%; background: var(--input-bg); color: var(--ink); }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
input::placeholder { color: #94a3b8; }
label { display: block; font-weight: 600; margin: 12px 0 4px; color: var(--ink); }
[hidden] { display: none !important; }
svg.ic { fill: currentColor; flex: none; }

/* Buttons */
.btn { display: inline-block; border: none; border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 1rem; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(5, 150, 105, .35); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--brand-dark); border: 2px solid var(--brand); box-shadow: var(--shadow-sm); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 14px 30px; font-size: 1.1rem; }
.btn-block { width: 100%; margin-top: 16px; padding: 14px; border-radius: 12px; }
.grad { color: var(--brand); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 110; display: flex; align-items: center; gap: 16px; padding: 12px 5vw; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-name { font-size: 1.6rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.topnav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-weight: 600; white-space: nowrap; }
.topnav a { color: var(--muted); white-space: nowrap; }
.topnav a:hover { color: var(--brand-dark); }
.topnav .nav-bot { background: var(--brand); color: #fff; border-radius: 999px; padding: 0 18px; height: 40px; display: inline-flex; align-items: center; font-weight: 700; }
.topnav .nav-bot:hover { background: var(--brand-dark); color: #fff; }
.top-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: none; }
/* Notification bell + panel */
.bell-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); cursor: pointer; flex: none; }
.bell-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.bell-btn .ic { width: 20px; height: 20px; fill: currentColor; }
.bell-badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #dc2626; color: #fff; font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.ann-panel { position: fixed; top: 74px; right: 14px; width: min(380px, calc(100vw - 28px)); max-height: min(70vh, 560px); overflow-y: auto; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 18px 44px rgba(15, 23, 42, .16); z-index: 210; padding: 16px; box-sizing: border-box; }
.ann-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ann-panel-head b { font-size: 1.05rem; color: var(--ink); }
.ann-panel-x, .ann-banner-x { background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 6px; }
.ann-item { border-top: 1px solid var(--line); padding: 12px 2px; }
.ann-item:first-child { border-top: 0; }
.ann-item h4 { color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.ann-item p { color: var(--text); font-size: .93rem; white-space: pre-wrap; }
.ann-item .ann-meta { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.ann-item .ann-new { display: inline-block; background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .72rem; font-weight: 800; margin-left: 6px; vertical-align: middle; }
.ann-empty { color: var(--muted); padding: 10px 2px; font-weight: 600; }
.ann-banner { display: flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; padding: 9px 16px; font-weight: 700; font-size: .95rem; }
.ann-banner-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ann-banner-btn { background: #fff; color: var(--brand-dark); border: 0; border-radius: 999px; padding: 5px 14px; font-family: inherit; font-weight: 800; cursor: pointer; flex: none; }
.ann-banner-x { color: #fff; flex: none; }
/* One tidy row on desktop: consistent 40px heights, nothing wraps */
.topbar .btn { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.topbar .lang-switch { height: 40px; align-items: stretch; }
.topbar .lang-btn { display: inline-flex; align-items: center; padding: 0 14px; }
/* Profile pill: avatar initial + name + balance chip */
.profile-pill { gap: 8px; padding: 3px 14px 3px 3px !important; }
.profile-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; flex: none; }
.profile-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.profile-bal { background: var(--mint); color: var(--brand-deep); border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: .9rem; flex: none; }
@media (min-width: 1241px) {
  .topbar { flex-wrap: nowrap; padding: 10px 3vw; gap: 14px; }
  .top-actions { flex-wrap: nowrap; gap: 8px; }
  .topnav { gap: 18px; font-size: .98rem; }
}
@media (min-width: 1241px) and (max-width: 1400px) {
  .topbar { padding: 10px 2.2vw; gap: 10px; }
  .topnav { gap: 11px; font-size: .93rem; }
  .brand-name { font-size: 1.4rem; }
  .profile-name { max-width: 120px; }
  .topbar .btn { padding: 0 13px; }
  .topnav .nav-bot { padding: 0 14px; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 5vw 60px; background: radial-gradient(600px 300px at 85% 10%, var(--mint-2) 0%, transparent 70%), radial-gradient(500px 260px at 5% 90%, var(--mint) 0%, transparent 70%), #fff; color: var(--ink); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); border: 1.5px solid var(--mint-3); color: var(--brand-deep); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; margin: 18px 0 12px; color: var(--ink); }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin: 24px 0 18px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--brand-deep); font-weight: 600; font-size: .98rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--brand); }

/* Hero art — original CSS/SVG composition (no stock photo) */
.hero-art { position: relative; min-height: 380px; }
.art-blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob-a { width: 260px; height: 260px; background: var(--mint-2); top: -10px; right: 10px; }
.blob-b { width: 180px; height: 180px; background: #fef3c7; bottom: -20px; left: 0; }
.art-card { position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(30, 38, 56, .14); padding: 22px; max-width: 440px; margin: 20px auto 0; }
.art-head { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: var(--ink); }
.art-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.art-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--mint); color: var(--brand-deep); font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.art-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; }
.art-tiles { display: flex; gap: 10px; margin: 18px 0 14px; }
.art-tile { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.art-tile svg { width: 24px; height: 24px; fill: #fff; }
.art-row { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-weight: 600; }
.art-row b { color: var(--ink); font-size: 1.15rem; }
.art-chart { margin-top: 10px; }
.art-chart svg { width: 100%; height: 110px; display: block; }
.art-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.art-progress { flex: 1; height: 10px; border-radius: 999px; background: var(--mint-2); overflow: hidden; }
.art-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #34d399); border-radius: 999px; }
.art-chip { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; }
.art-chip b { display: block; color: var(--brand-dark); font-size: 1.15rem; line-height: 1.2; }
.art-chip span { color: var(--muted); font-size: .85rem; }
.chip-b { bottom: 0; left: 8px; }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 5vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); text-align: center; }
.stat b { display: block; font-size: 1.7rem; color: var(--brand-dark); }
.stat span { color: var(--muted); font-size: .95rem; }

/* Pay your way row */
.pay-row { padding: 30px 5vw 10px; text-align: center; }
.pay-row-title { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.pay-marks { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.pay-mark { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.pay-bkash { background: #fce7f3; color: #be185d; }
.pay-nagad { background: #ffedd5; color: #c2410c; }
.pay-rocket { background: #f3e8ff; color: #7e22ce; }
.pay-bank { background: #e0e7ff; color: #3730a3; }
.pay-soon { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

/* Sections */
section { padding: 48px 5vw; }
/* Anchor targets must clear the sticky header (~69px incl. border) + breathing room */
section[id] { scroll-margin-top: 88px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; color: var(--ink); }
.section-sub { text-align: center; color: var(--muted); margin: 6px 0 28px; }

/* ---- AmarBoost order flow (layout only) ---- */
.order-section { max-width: 1160px; margin: 0 auto; padding-top: 36px; }
.policy-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; background: var(--mint); border: 1.5px solid var(--mint-3); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.policy-text { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-deep); font-size: clamp(1.25rem, 3.4vw, 1.7rem); font-weight: 700; line-height: 1.3; }
.policy-text svg { width: 26px; height: 26px; flex: none; }
.policy-plus { flex: none; width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.6rem; line-height: 40px; text-align: center; }
.policy-body { background: var(--mint); border: 1.5px solid var(--mint-3); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 18px 22px; margin-top: -8px; }
.policy-body p { color: var(--brand-deep); margin-bottom: 10px; }
.policy-body p:last-child { margin-bottom: 0; }

.order-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 24px; }
/* min-width:0 on both columns so wide content (e.g. a long service name in the
   dropdown label) can never force the form track wide and squeeze the sidebar. */
.order-panel, .welcome-box { min-width: 0; }
.order-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.plat-tile { display: flex; align-items: center; justify-content: center; min-height: 62px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; transition: transform .12s ease, border-color .12s ease, background .12s ease; }
.plat-tile:hover { transform: translateY(-2px); border-color: var(--brand); }
.plat-tile.active { background: var(--mint); border-color: var(--brand); }
.pt-tile { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; }
.pt-tile svg { width: 22px; height: 22px; fill: #fff; }

.order-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 14px; margin-bottom: 8px; }
.order-search .search-icon { display: inline-flex; color: var(--muted); }
.order-search .search-icon svg { width: 19px; height: 19px; }
.order-search input { border: none; background: transparent; padding: 13px 0; box-shadow: none; }
.order-search input:focus { outline: none; box-shadow: none; }

.field-label { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 18px 0 8px; }
.info-ic { display: inline-flex; color: var(--brand); }
.info-ic svg { width: 17px; height: 17px; }
.light-input { background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); }

/* Brand tiles (JS-rendered) */
.brand-tile, .p-tile, .qp-tile, .opt-tile { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.brand-tile svg, .p-tile svg, .qp-tile svg, .opt-tile svg { fill: #fff; }
.p-tile { width: 48px; height: 48px; border-radius: 14px; }
.p-tile svg { width: 26px; height: 26px; }
.qp-tile { width: 28px; height: 28px; border-radius: 8px; }
.qp-tile svg { width: 16px; height: 16px; }
.opt-tile { width: 24px; height: 24px; border-radius: 7px; }
.opt-tile svg { width: 14px; height: 14px; }

/* Custom dropdowns */
.dropdown { position: relative; }
.drop-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 14px; font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; }
.drop-btn:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
.drop-btn .drop-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; min-width: 0; }
.drop-arrow { flex: none; color: var(--muted); display: inline-flex; }
.drop-arrow svg { width: 20px; height: 20px; }
.drop-panel { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 340px; overflow-y: auto; background: #fff; border: 1.5px solid var(--brand); border-radius: 12px; box-shadow: 0 16px 40px rgba(30, 38, 56, .18); }
.drop-panel[hidden] { display: none; }
.drop-opt { display: flex; align-items: flex-start; gap: 8px; width: 100%; background: none; border: none; text-align: left; padding: 12px 14px; color: var(--text); font-size: 1rem; line-height: 1.45; border-bottom: 1px solid var(--line); }
.drop-opt:last-child { border-bottom: none; }
.drop-opt:hover { background: var(--mint); }
.drop-opt.selected { color: var(--brand-dark); font-weight: 700; background: var(--mint); }
.drop-opt .opt-icon { flex: none; display: inline-flex; margin-top: 2px; }
.drop-opt .opt-icon svg { width: 20px; height: 20px; }
.drop-opt .opt-text { flex: 1; }
.drop-opt .opt-count { flex: none; color: var(--muted); font-size: .9rem; }
.svc-id { flex: none; display: inline-block; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; padding: 2px 10px; border-radius: 8px; }
.drop-opt .opt-price { display: block; color: var(--brand-dark); font-weight: 700; margin-top: 2px; }
.drop-empty { padding: 14px; color: var(--muted); text-align: center; }

.minmax-line { color: var(--text); font-weight: 600; margin-top: 12px; font-size: 1.05rem; }
.info-box { background: #f1f5f9; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.charge-box { font-size: 1.3rem; font-weight: 700; background: var(--mint); border-color: var(--mint-3); color: var(--brand-deep); }
.desc-box { background: var(--mint); border: 1.5px solid var(--mint-3); border-radius: 12px; padding: 16px 18px; color: var(--brand-deep); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.btn-submit { display: block; width: 100%; border: none; border-radius: 12px; background: var(--brand); color: #fff; font-size: 1.35rem; font-weight: 700; padding: 16px; margin-top: 22px; box-shadow: 0 6px 24px rgba(5, 150, 105, .35); transition: transform .12s ease, background .12s ease; }
.btn-submit:hover { transform: translateY(-2px); background: var(--brand-dark); }

/* Welcome box */
.welcome-box { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); min-width: min(300px, 100%); }
.welcome-box h3 { color: var(--ink); font-size: 1.35rem; margin-bottom: 14px; line-height: 1.4; }
.welcome-links { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.welcome-links a { font-size: 1.1rem; font-weight: 700; }
.wl-green { color: var(--brand-dark); }
.wl-red { color: var(--red); }
.welcome-rule-title { color: #b45309; font-weight: 700; font-size: 1.15rem; border-top: 2px dashed var(--line-2); padding-top: 16px; margin-bottom: 10px; }
.welcome-box p { color: var(--text); margin-bottom: 10px; }
.welcome-box p:last-child { margin-bottom: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 64px; height: 64px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .12s ease, opacity .18s ease; }
.wa-float.wa-hidden { opacity: 0; pointer-events: none; }
.wa-float:hover { transform: scale(1.08); }

/* Live activity popups (real orders + site info, one at a time) */
.activity-pop { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(330px, calc(100vw - 110px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 36px 12px 12px; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.activity-pop.show { opacity: 1; transform: translateY(0); }
.activity-body { display: flex; gap: 10px; align-items: flex-start; }
.activity-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.activity-ic svg { width: 20px; height: 20px; fill: var(--brand); }
.activity-txt b { display: block; font-size: .95rem; line-height: 1.35; color: var(--ink); }
.activity-txt span { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.activity-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.15rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
@media (max-width: 640px) {
  .activity-pop { left: 12px; bottom: 12px; }
}

/* Quick buy */
.quickbuy { padding-top: 12px; padding-bottom: 12px; }
.quick-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.quick-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 16px 8px 9px; font-weight: 600; color: var(--ink); transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease; }
.quick-pill:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-sm); }
.quick-pill .qp-name { font-size: .95rem; }
.quick-pill .qp-price { color: var(--brand-dark); font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* Platforms */
.platforms { background: var(--bg-soft); }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.platform-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--pc, var(--brand)); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; text-align: left; color: var(--text); }
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platform-card h3 { font-size: 1.25rem; margin: 12px 0 2px; color: var(--ink); }
.platform-card p { color: var(--muted); font-size: .95rem; }
.platform-card .p-from { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--brand-dark); background: var(--mint); padding: 4px 12px; border-radius: 999px; font-size: .92rem; }

/* Services explorer */
.explorer { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; }
.search-row { display: flex; gap: 12px; }
.search-row input { flex: 1; }
.search-row select { width: 220px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill { border: 1.5px solid var(--line-2); background: #fff; color: var(--text); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.pill:hover { border-color: var(--brand); color: var(--brand-dark); }
.pill.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.result-count { color: var(--muted); margin: 18px 0 12px; font-weight: 600; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.service-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.service-card .s-type { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--brand-deep); }
.service-card h4 { font-size: 1.02rem; margin: 8px 0 6px; line-height: 1.4; color: var(--ink); }
.service-card .s-meta { color: var(--muted); font-size: .9rem; }
.service-card .s-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.service-card .s-price { font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); }
.service-card .s-price small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.service-card .s-order { border: none; background: var(--brand); color: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; }
.service-card .s-order:hover { background: var(--brand-dark); }
.badge-refill { display: inline-flex; align-items: center; gap: 4px; background: var(--mint); color: var(--brand-deep); font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; }
.badge-refill svg { width: 12px; height: 12px; }
.s-badges, .h-badges { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-left: 6px; vertical-align: middle; }
.h-badges { margin: 6px 0 2px; }
.badge-drop, .badge-cheap, .badge-human { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-non-drop { background: #dcfce7; color: #166534; }
.badge-slow-drop { background: #fef9c3; color: #854d0e; }
.badge-drop.badge-drop { background: #fee2e2; color: #991b1b; }
.badge-cheap { background: #e0e7ff; color: #3730a3; }
.badge-human { background: #fae8ff; color: #86198f; }
.badge-new { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #fef3c7; color: #92400e; margin-left: 6px; vertical-align: middle; }
.avg-note { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: 2px; }
.avg-time-box { background: #ecfdf5; border-color: #a7f3d0; min-height: 52px; }
.avg-time-box .avg-line { font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.avg-time-box .avg-line b { color: #065f46; font-size: 1.08em; font-weight: 800; }
.s-badges .badge-refill, .h-badges .badge-refill { margin-left: 0; font-size: .78rem; }
.opt-tags { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 2px; }
.qp-tags { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; }
.more-wrap { text-align: center; margin-top: 22px; }

/* How it works */
.how { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: #fff; background: var(--brand); }
.step h3 { margin: 12px 0 6px; color: var(--ink); }
.step p { color: var(--muted); }
.how-art { display: flex; justify-content: center; }
.status-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 24px; width: 100%; max-width: 520px; }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); }
.status-done { display: inline-flex; align-items: center; gap: 6px; background: var(--mint); color: var(--brand-deep); font-weight: 700; font-size: .9rem; padding: 5px 12px; border-radius: 999px; }
.status-done svg { width: 15px; height: 15px; }
.status-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.ss { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.ss i { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--mint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.ss i svg { width: 15px; height: 15px; }
.status-note { color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; }

/* Funds */
.funds { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.funds .section-title { text-align: left; }
.bkash-card { background: linear-gradient(135deg, #e2136e, #f43f5e); color: #fff; border-radius: var(--radius); padding: 22px; margin: 18px 0; box-shadow: var(--shadow); }
.bkash-label { display: block; opacity: .9; }
.bkash-number { display: block; font-size: 2rem; font-weight: 700; letter-spacing: 1px; margin: 4px 0; }
.bkash-note { opacity: .9; }
.pay-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pay-badge { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.pay-badges .pay-bkash { background: #fce7f3; color: #be185d; }
.pay-badge.pay-nagad { background: #ffedd5; color: #c2410c; }
.pay-badge.pay-rocket { background: #f3e8ff; color: #7e22ce; }
.pay-badge.pay-soon { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.funds-art { display: flex; flex-direction: column; gap: 16px; align-items: stretch; max-width: 460px; margin: 0 auto; width: 100%; }
.pay-card { background: linear-gradient(135deg, #e2136e, #f43f5e); color: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.pay-card-brand { font-size: 1.4rem; font-weight: 700; }
.pay-card-num { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: 2px; margin: 10px 0 4px; }
.pay-card-note { opacity: .9; }
.pay-ok { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); }
.pay-ok-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--mint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.pay-ok-ic svg { width: 22px; height: 22px; }
.pay-ok b { display: block; color: var(--ink); }
.pay-ok span { color: var(--muted); font-size: .93rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.feature:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 12px 0 4px; color: var(--ink); }
.feature p { color: var(--muted); }

/* Honest-limitations trust box */
.trust { background: var(--bg-soft); }
.trust-box { max-width: 820px; margin: 0 auto; background: var(--amber-bg); border: 1.5px solid var(--amber-line); border-radius: var(--radius); padding: 26px 28px; }
.trust-list { list-style: none; }
.trust-list li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--amber-text); }
.trust-list li:last-child { margin-bottom: 0; }
.trust-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.faq-list summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; color: var(--ink); }
.faq-list p { color: var(--muted); margin-top: 8px; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 36px 5vw; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 48px; height: 48px; border-radius: 12px; }
.footer-brand b { display: block; font-size: 1.2rem; }
.footer-brand span { opacity: .75; font-size: .9rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 600; align-items: center; }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; }
.footer-links a:hover { color: #6ee7b7; }
.footer-ic { display: inline-flex; }
.footer-ic svg { width: 18px; height: 18px; fill: #fff; }
.footer-note { width: 100%; opacity: .6; font-size: .9rem; }

/* Modals */
/* Header (z-index 110) stays above the modal backdrop (100) so the BN|EN
   toggle remains clickable while a modal is open; the top padding keeps
   the modal card clear of the header. */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(30, 38, 56, .55); display: flex; align-items: flex-start; justify-content: center; padding: 84px 16px 40px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; width: 100%; max-width: 520px; position: relative; box-shadow: 0 24px 60px rgba(30, 38, 56, .3); }
.modal-card h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--ink); }
.modal-close { position: absolute; top: 14px; right: 16px; border: none; background: var(--bg-soft); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.modal-close svg { width: 18px; height: 18px; }
.order-service { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 10px 0; }
.order-service b { display: block; color: var(--ink); }
.order-service span { color: var(--muted); font-size: .92rem; }
.qty-hint { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.order-total { font-size: 1.25rem; margin-top: 14px; color: var(--ink); }
.order-total b { color: var(--brand-dark); }
.order-tabs { display: flex; gap: 8px; margin-top: 16px; }
.order-tab { flex: 1; border: 1.5px solid var(--line-2); background: #fff; color: var(--text); border-radius: 12px; padding: 10px; font-weight: 700; }
.order-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
#authModal .modal-card { max-width: 560px; }
.auth-toggle .order-tab { padding: 13px 10px; font-size: 1.05rem; }
.pane-note { color: var(--muted); font-size: .93rem; margin-top: 10px; }
.login-gate { margin-top: 14px; }
.modal-msg { margin-top: 12px; font-weight: 600; }
.modal-msg.err { color: var(--red); }
.modal-msg.ok { color: var(--brand-dark); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#googleBtn, #googleBtn2 { margin-top: 12px; }
#trackResult { margin-top: 16px; }
.track-card { background: var(--mint); border: 1.5px solid var(--brand); border-radius: 14px; padding: 16px; }
.track-card b { display: block; font-size: 1.1rem; color: var(--ink); }
.track-card span { color: var(--muted); }

/* Header needs two rows below ~1240px (brand + nav + actions don't fit one row) */
@media (max-width: 1240px) {
  .topbar { flex-wrap: wrap; }
  .brand { order: 1; }
  .top-actions { order: 2; margin-left: auto; flex-wrap: nowrap; }
  .topnav { order: 3; flex: 1 1 100%; margin-left: 0; gap: 6px; overflow-x: auto; white-space: nowrap; padding: 8px 0 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { flex: none; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: .92rem; }
  .topnav .nav-bot { background: var(--brand); border-color: var(--brand); padding: 7px 15px; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 36px 5vw 44px; }
  .hero-art { min-height: 340px; }
  .funds { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .headline-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .top-actions #trackBtn { display: none; }
  .search-row { flex-direction: column; }
  .search-row select { width: 100%; }
  .plat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .plat-tile { min-height: 56px; }
  .pt-tile { width: 34px; height: 34px; }
  .pt-tile svg { width: 19px; height: 19px; }
  .order-section { padding-left: 4vw; padding-right: 4vw; }
  .status-steps { grid-template-columns: 1fr; }
}

/* ---- Bold typography (Kalpurush ships weight 400 only — bold is browser-synthesized) ---- */
body { font-weight: 600; }
h1, h2, h3, .section-title { font-weight: 800; }
.btn, .btn-submit, .order-tab, .pill, .topnav a, .field-label, .s-price, .bkash-number, .pay-card-num, .quick-pill, .s-order, .lang-btn { font-weight: 700; }
input, select { font-weight: 600; }

/* No horizontal page scroll anywhere (clip keeps the sticky header working) */
html, body { overflow-x: hidden; overflow-x: clip; }

/* Language switcher (BN | EN) */
.lang-switch { display: flex; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #fff; flex: none; }
.lang-btn { border: none; background: #fff; color: var(--muted); font-weight: 700; padding: 9px 14px; font-size: .92rem; line-height: 1; }
.lang-btn.active { background: var(--brand); color: #fff; }

/* Realtime order status */
.live-status { margin-top: 16px; }
.live-box { background: var(--mint); border: 1.5px solid var(--mint-3); border-radius: 14px; padding: 16px; }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.live-chip { font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: .95rem; }
.live-chip.st-awaiting_payment { background: #fef3c7; color: #92400e; }
.live-chip.st-pending_review { background: #dbeafe; color: #1e40af; }
.live-chip.st-in_progress { background: #d1fae5; color: #065f46; }
.live-chip.st-completed { background: var(--brand); color: #fff; }
.live-chip.st-partial { background: #fef3c7; color: #92400e; }
.live-chip.st-canceled, .live-chip.st-refunded, .live-chip.st-rejected { background: #fee2e2; color: #991b1b; }
.live-code { font-weight: 700; color: var(--ink); }
.live-paid { margin-top: 10px; color: var(--brand-deep); font-weight: 700; }
.live-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.live-step { text-align: center; font-size: .85rem; color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.live-step i { display: block; width: 26px; height: 26px; margin: 0 auto 4px; border-radius: 50%; background: #cbd5e1; color: #fff; font-style: normal; line-height: 26px; font-size: .8rem; font-weight: 700; }
.live-step.done i { background: var(--brand); }
.live-step.done { color: var(--brand-deep); }
.live-step.active i { background: #f59e0b; }
.live-step.active { color: var(--ink); }
.live-step.bad i { background: #dc2626; }
.live-step.bad { color: #991b1b; }
.live-meta { margin-top: 12px; color: var(--text); font-size: .93rem; overflow-wrap: anywhere; }
.live-progress { margin-top: 14px; }
.live-bar { height: 12px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.live-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #34d399); border-radius: 999px; transition: width .6s ease; }
.live-progress-text { margin-top: 6px; font-weight: 700; color: var(--brand-deep); font-size: .93rem; }
.live-time { margin-top: 6px; font-weight: 700; color: var(--ink); font-size: .93rem; }
.live-timeblock { margin-top: 10px; background: #fff; border: 1.5px solid #a7f3d0; border-radius: 10px; padding: 9px 12px; }
.live-time-line { font-weight: 700; color: #065f46; font-size: .95rem; line-height: 1.55; }
.live-time-line.clock { color: var(--ink); font-weight: 600; }
.live-refund { margin-top: 10px; background: #ecfdf5; border: 1.5px solid var(--mint-3); color: var(--brand-deep); font-weight: 700; border-radius: 10px; padding: 9px 12px; }
.live-chip.st-placing, .live-chip.st-pending { background: #dbeafe; color: #1e40af; }
.live-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); font-size: .85rem; flex-wrap: wrap; }
.live-refresh { border: 1.5px solid var(--brand); background: #fff; color: var(--brand-dark); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.live-err { color: var(--red); font-weight: 600; margin-top: 10px; }

/* Exact-amount warning on the payment step */
.exact-amt { background: var(--amber-bg); border: 1.5px solid var(--amber-line); color: var(--amber-text); border-radius: 12px; padding: 12px 16px; font-weight: 700; margin-top: 12px; }
.exact-amt[hidden] { display: none; }

/* Add-funds stepped payment flow */
.fund-step-label { font-weight: 700; color: var(--ink); margin: 6px 0 10px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pay-method { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--surface, #fff); border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font: inherit; text-align: left; }
.pay-method.selected { border-color: var(--brand); background: #ecfdf5; }
.pay-method:disabled { opacity: .55; cursor: not-allowed; }
.pay-method-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.pay-method-sub { color: var(--muted); font-size: .85rem; font-weight: 600; }
.amt-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.amt-chip { border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 700; font: inherit; cursor: pointer; }
.amt-chip:active { border-color: var(--brand); }
.pay-instruct { background: #ecfdf5; border: 1.5px solid #a7f3d0; border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.pay-instruct p { margin: 0 0 8px; color: var(--ink); font-weight: 600; }
.pay-number { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.pay-number span { font-size: 1.5rem; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.fund-copy-btn { padding: 7px 14px; font-size: .9rem; }
.pay-amount-line strong { color: var(--brand); font-size: 1.2rem; }
.fund-center { text-align: center; padding: 18px 6px 8px; }
.fund-status-title { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 12px 0 4px; }
.spinner { width: 46px; height: 46px; margin: 6px auto 4px; border-radius: 50%; border: 5px solid #d1fae5; border-top-color: var(--brand); animation: fundspin .8s linear infinite; }
@keyframes fundspin { to { transform: rotate(360deg); } }
.fund-done-ic { width: 62px; height: 62px; margin: 4px auto; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.fund-done-ic svg { width: 34px; height: 34px; fill: #fff; }
.fund-cross-ic { width: 62px; height: 62px; margin: 4px auto; border-radius: 50%; background: #dc2626; display: flex; align-items: center; justify-content: center; }
.fund-cross-ic svg { width: 32px; height: 32px; fill: #fff; }
#fundStep5 .btn { margin-top: 10px; }
#fundStep4 .btn { margin-top: 14px; }

/* Track-page payment reminder (unpaid order) */
.pay-remind { margin-top: 14px; background: var(--amber-bg); border: 1.5px solid var(--amber-line); border-radius: 14px; padding: 16px; }
.pay-remind-text { color: var(--amber-text); font-weight: 700; margin-bottom: 10px; }
.pay-remind-row { display: flex; gap: 10px; }
.pay-remind-row input { flex: 1; min-width: 0; }
.pay-remind-btn { flex: none; border: none; background: var(--brand); color: #fff; border-radius: 12px; padding: 12px 18px; font-weight: 700; }
.pay-remind-btn:hover { background: var(--brand-dark); }
.pay-remind-msg { margin-top: 10px; }

/* Best sellers under the hero */
.headlines { padding-top: 40px; padding-bottom: 8px; }
.headline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.headline-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--pc, var(--brand)); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column; }
.headline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.headline-card h3 { font-size: 1.02rem; margin: 12px 0 4px; line-height: 1.4; color: var(--ink); }
.headline-card .h-meta { color: var(--muted); font-size: .9rem; }
.headline-card .h-foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 14px; }
.headline-card .h-price { font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); }
.headline-card .h-price small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.headline-card .s-order { border: none; background: var(--brand); color: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: .98rem; width: 100%; cursor: pointer; }
.headline-card .s-order:hover { background: var(--brand-dark); }

/* Legal pages (terms / privacy / refund) */
.legal { max-width: 820px; margin: 0 auto; padding-top: 40px; padding-bottom: 40px; }
.legal h1 { font-size: 2rem; color: var(--ink); margin-bottom: 4px; }
.legal h2 { font-size: 1.4rem; color: var(--ink); margin: 28px 0 10px; }
.legal h3 { font-size: 1.15rem; color: var(--ink); margin: 20px 0 6px; }
.legal p, .legal li { color: var(--text); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal .legal-updated { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.legal hr { border: none; border-top: 1px solid var(--line-2); margin: 32px 0; }
.legal .legal-back { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--brand-dark); }

/* ---- Mobile (<=640px): single column, full-width sheets, no overflow ---- */
@media (max-width: 640px) {
  .topbar { padding: 10px 4vw; gap: 8px; flex-wrap: wrap; }
  .brand { gap: 8px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: 1.15rem; }
  .top-actions { margin-left: auto; gap: 6px; }
  .top-actions .btn { padding: 8px 13px; font-size: .9rem; }
  .profile-pill { padding: 3px 10px 3px 3px !important; gap: 6px; }
  .profile-name { max-width: 64px; font-size: .88rem; }
  .profile-bal { padding: 2px 8px; font-size: .82rem; }
  .profile-avatar { width: 28px; height: 28px; font-size: .85rem; }
  .lang-btn { padding: 7px 10px; font-size: .85rem; }
  .hero { padding: 28px 4vw 36px; gap: 24px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 1.05rem; }
  .hero-art { min-height: 320px; }
  .art-card { padding: 16px; }
  .art-chip { padding: 8px 10px; }
  .order-panel, .welcome-box { padding: 18px 16px; }
  .plat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .modal { padding: 12px 8px 24px; align-items: flex-start; }
  .modal-card { padding: 20px 16px; border-radius: 18px; max-width: 100%; }
  .wa-float { width: 52px; height: 52px; right: 12px; bottom: 12px; }
  .wa-float svg { width: 28px; height: 28px; }
  .footer { padding-bottom: 90px; }
  .live-steps { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { gap: 10px; padding: 20px 4vw; }
  .service-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .headline-grid { grid-template-columns: 1fr; }
  .pay-remind-row { flex-direction: column; }
  .pay-remind-btn { width: 100%; }
  .explorer { padding: 16px; }
  .bkash-number { font-size: 1.5rem; }
  .pay-card-num { font-size: 1.4rem; }
  section { padding: 36px 4vw; }
}

/* ---- Phone+password accounts ---- */
#accountBtn { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-toggle { display: flex; gap: 8px; margin: 14px 0 6px; }
.acct-list { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 18px; }
.acct-item { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.acct-item b { color: var(--ink); overflow-wrap: anywhere; }
.acct-item span { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.acct-item .acct-status { font-weight: 700; color: var(--brand-dark); }
#accountModal h4 { margin-top: 18px; font-weight: 800; color: var(--ink); }
.pay-opt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); background: var(--mint); border: 1.5px solid var(--mint-3); border-radius: 12px; padding: 12px 14px; margin-top: 16px; cursor: pointer; }
.pay-opt input { width: auto; margin: 0; }
.pay-opt[hidden] { display: none; }
.balance-low-note { margin-top: 10px; }
.balance-low-note a { color: var(--brand); font-weight: 700; }

/* ---- SEO content pages (price tables, CTA, related links) ---- */
.price-table-wrap { overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: 14px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
.price-table th { background: var(--mint); color: var(--brand-deep); text-align: left; padding: 12px 14px; font-size: .95rem; }
.price-table td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--text); }
.price-table td.price { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.price-note { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.cta-box { background: var(--mint); border: 1px solid var(--mint-3); border-radius: var(--radius); padding: 22px; margin: 28px 0; text-align: center; }
.cta-box h2 { margin-top: 0; }
.cta-box p { color: var(--text); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.related-links a { background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; color: var(--brand-dark); font-weight: 600; text-decoration: none; font-size: .95rem; }
.related-links a:hover { border-color: var(--brand); background: var(--mint); }
.content-faq { margin-top: 10px; }
.content-faq .faq-list { margin: 0; }
.steps-list { padding-left: 22px; margin-bottom: 12px; }
.steps-list li { margin-bottom: 8px; }
.honest-box { background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 14px; padding: 16px 20px; margin: 20px 0; }
.honest-box p { color: var(--amber-text); margin-bottom: 6px; }
.quick-answer { background: var(--mint); border: 1.5px solid var(--mint-3); border-radius: 16px; padding: 20px 22px; margin: 20px 0 24px; }
.quick-answer p { margin-bottom: 10px; }
.quick-answer p:last-child { margin-bottom: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 16px 0 8px; }
.check-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); }
.check-card h3 { margin-top: 0; }
.check-card p { margin-bottom: 8px; }
.check-card p:last-child { margin-bottom: 0; }
.compare-table td:first-child { font-weight: 700; color: var(--ink); }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 16px 0 8px; }
.package-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); }
.package-card h3 { margin-top: 0; }
.package-price { font-size: 1.7rem; font-weight: 800; color: var(--brand-dark); line-height: 1.2; margin-bottom: 8px; }
.package-note { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .price-table { min-width: 0; font-size: .86rem; }
  .price-table th, .price-table td { padding: 8px 7px; }
  .price-table td.price { white-space: normal; }
  .cta-box { padding: 18px 14px; }
}
