/* IdBoost — AmarBoost-style dark navy + orange, mobile-first, Bengali */
:root {
  --navy-0: #071426;
  --navy-1: #0a1a2e;
  --navy-2: #0e2438;
  --navy-3: #122c46;
  --panel: #0d2036;
  --orange: #f97316;
  --orange-deep: #ea580c;
  --amber: #fbbf24;
  --input-blue: #dbeafe;
  --input-blue-2: #bfdbfe;
  --info-grey: #7d8ea3;
  --green: #22c55e;
  --green-dark: #14532d;
  --red: #ef4444;
  --text: #e8eef5;
  --muted: #9fb3c8;
  --line: #1e3a56;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  color: var(--text);
  background: var(--navy-1);
  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: 2px solid var(--orange); border-radius: 10px; width: 100%; background: var(--input-blue); color: #0f172a; }
input:focus, select:focus { outline: none; border-color: var(--amber); }
input::placeholder { color: #475569; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }

.btn { display: inline-block; border: none; border-radius: 10px; 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(--orange); color: #fff; box-shadow: 0 6px 20px rgba(249, 115, 22, .4); }
.btn-white { background: #fff; color: var(--navy-1); box-shadow: var(--shadow); }
.btn-ghost { background: var(--navy-3); border: 2px solid var(--orange); color: var(--text); }
.btn-lg { padding: 14px 30px; font-size: 1.1rem; }
.btn-block { width: 100%; margin-top: 16px; padding: 14px; }
.grad { color: var(--amber); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 12px 5vw; background: rgba(7, 20, 38, .95); backdrop-filter: blur(8px); border-bottom: 2px solid var(--orange); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--shadow); }
.brand-name { font-size: 1.6rem; font-weight: 700; color: #fff; }
.topnav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; }
.topnav a { color: var(--muted); }
.topnav a:hover { color: var(--orange); }
.top-actions { display: flex; gap: 10px; align-items: center; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding: 56px 5vw 64px; background: linear-gradient(135deg, #071426 0%, #0e2a47 55%, #123a5e 100%); color: #fff; border-bottom: 2px solid var(--orange); }
.hero-badge { display: inline-block; background: rgba(249, 115, 22, .18); border: 2px solid var(--orange); color: #fdba74; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; margin: 18px 0 12px; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.5rem; color: #fff; }
.stat span { color: var(--muted); font-size: .95rem; }
.hero-img img { border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.5); border: 2px solid var(--orange); }

/* Sections */
section { padding: 48px 5vw; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; color: #fff; }
.section-sub { text-align: center; color: var(--muted); margin: 6px 0 28px; }

/* ---- AmarBoost order flow ---- */
.order-section { max-width: 860px; margin: 0 auto; padding-top: 32px; }
.policy-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; background: var(--navy-2); border: 2px solid var(--orange); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 0 24px rgba(249, 115, 22, .25); }
.policy-text { color: var(--orange); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; line-height: 1.3; }
.policy-plus { flex: none; width: 44px; height: 44px; border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: 1.6rem; line-height: 40px; text-align: center; }
.policy-body { background: var(--navy-2); border: 2px solid var(--orange); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 18px 22px; margin-top: -8px; }
.policy-body p { color: var(--muted); margin-bottom: 10px; }
.policy-body p:last-child { margin-bottom: 0; }

.order-panel { background: var(--navy-2); border: 2px solid var(--orange); border-radius: var(--radius); padding: 22px; margin-top: 24px; box-shadow: var(--shadow); }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.plat-tile { display: flex; align-items: center; justify-content: center; min-height: 64px; background: var(--navy-3); border: 2px solid var(--orange); border-radius: 10px; font-size: 1.7rem; color: #fff; transition: transform .12s ease; }
.plat-tile:hover { transform: translateY(-2px); }
.plat-tile.active { background: #fff; border-color: #fff; }
.plat-tile .pt-emoji { font-size: 1.7rem; line-height: 1; }
.plat-tile .pt-plus { color: var(--orange); font-weight: 700; font-size: 1.8rem; }
.plat-tile .pt-label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 2px; }

.order-search { display: flex; align-items: center; gap: 10px; background: var(--input-blue); border: 2px solid var(--orange); border-radius: 10px; padding: 0 14px; margin-bottom: 8px; }
.order-search .search-icon { font-size: 1.2rem; }
.order-search input { border: none; background: transparent; padding: 13px 0; }
.order-search input:focus { outline: none; }

.field-label { display: block; font-weight: 700; font-size: 1.15rem; color: #fff; margin: 18px 0 8px; }
.light-input { background: var(--input-blue); border: 2px solid var(--orange); color: #0f172a; }

/* Custom dropdowns */
.dropdown { position: relative; }
.drop-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: var(--input-blue); border: 2px solid var(--orange); border-radius: 10px; padding: 13px 14px; font-size: 1rem; font-weight: 600; color: #0f172a; text-align: left; }
.drop-btn .drop-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-arrow { flex: none; color: #0f172a; }
.drop-panel { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 340px; overflow-y: auto; background: #1a1a1a; border: 2px solid var(--red); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.6); }
.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: #d1d5db; font-size: 1rem; line-height: 1.45; border-bottom: 1px solid #262626; }
.drop-opt:last-child { border-bottom: none; }
.drop-opt:hover { background: #262626; }
.drop-opt.selected { color: var(--amber); font-weight: 700; }
.drop-opt .opt-icon { flex: none; font-size: 1.15rem; }
.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(--green); color: #052e16; font-weight: 700; font-size: .9rem; padding: 2px 10px; border-radius: 8px; }
.drop-opt .opt-price { display: block; color: var(--amber); 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: var(--info-grey); border: 2px solid var(--orange); border-radius: 10px; padding: 13px 16px; font-size: 1.05rem; color: #0f172a; font-weight: 600; }
.charge-box { font-size: 1.3rem; font-weight: 700; }
.desc-box { background: #14532d; border: 2px solid var(--orange); border-radius: 10px; padding: 16px 18px; color: #dcfce7; line-height: 1.7; white-space: pre-line; }
.btn-submit { display: block; width: 100%; border: 2px solid #fff; border-radius: 10px; background: var(--orange); color: #fff; font-size: 1.35rem; font-weight: 700; padding: 16px; margin-top: 22px; box-shadow: 0 6px 24px rgba(249, 115, 22, .45); transition: transform .12s ease; }
.btn-submit:hover { transform: translateY(-2px); background: var(--orange-deep); }

/* Welcome box */
.welcome-box { background: #050d18; border: 2px solid var(--orange); border-radius: var(--radius); padding: 26px 24px; margin-top: 24px; }
.welcome-box h3 { color: #fff; 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.15rem; font-weight: 700; }
.wl-green { color: var(--green); }
.wl-red { color: var(--red); }
.welcome-rule-title { color: #facc15; font-weight: 700; font-size: 1.2rem; border-top: 2px dashed var(--muted); 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,.5); transition: transform .12s ease; }
.wa-float:hover { transform: scale(1.08); }

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

/* Services explorer */
.explorer { background: var(--navy-2); border: 2px solid var(--orange); 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; background: var(--input-blue); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill { border: 2px solid var(--orange); background: var(--navy-3); color: var(--text); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.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: 2px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--navy-3); transition: border-color .15s ease, transform .15s ease; }
.service-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.service-card .s-type { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(249, 115, 22, .18); color: #fdba74; }
.service-card h4 { font-size: 1.02rem; margin: 8px 0 6px; line-height: 1.4; color: #fff; }
.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(--orange); }
.service-card .s-price small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.service-card .s-order { border: none; background: var(--orange); color: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; }
.badge-refill { display: inline-block; background: #dcfce7; color: #15803d; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-left: 6px; }
.more-wrap { text-align: center; margin-top: 22px; }

/* How it works */
.how { background: var(--navy-0); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 28px; }
.step { background: var(--navy-2); border: 2px solid var(--orange); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.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(--orange); }
.step h3 { margin: 12px 0 6px; color: #fff; }
.step p { color: var(--muted); }
.how-img img { border-radius: 24px; box-shadow: var(--shadow); max-height: 420px; width: 100%; object-fit: cover; border: 2px solid var(--orange); }

/* 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, #f97316); 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-bkash { background: #fce7f3; color: #be185d; }
.pay-soon { background: var(--navy-3); color: var(--muted); border: 1px solid var(--line); }
.funds-img img { border-radius: 24px; box-shadow: var(--shadow); border: 2px solid var(--orange); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--navy-2); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature:hover { border-color: var(--orange); }
.feature-icon { font-size: 2rem; }
.feature h3 { margin: 8px 0 4px; color: #fff; }
.feature p { color: var(--muted); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { background: var(--navy-2); border: 2px 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: #fff; }
.faq-list p { color: var(--muted); margin-top: 8px; }

/* Footer */
.footer { background: var(--navy-0); border-top: 2px solid var(--orange); 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; }
.footer-links a:hover { color: var(--orange); }
.footer-note { width: 100%; opacity: .6; font-size: .9rem; }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(4, 10, 20, .75); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-card { background: var(--navy-2); border: 2px solid var(--orange); border-radius: 20px; padding: 28px; width: 100%; max-width: 520px; position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.modal-card h3 { font-size: 1.4rem; margin-bottom: 8px; color: #fff; }
.modal-close { position: absolute; top: 14px; right: 16px; border: none; background: var(--navy-3); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; }
.order-service { background: var(--navy-3); border: 2px solid var(--orange); border-radius: 14px; padding: 14px; margin: 10px 0; }
.order-service b { display: block; color: #fff; }
.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: #fff; }
.order-total b { color: var(--orange); }
.order-tabs { display: flex; gap: 8px; margin-top: 16px; }
.order-tab { flex: 1; border: 2px solid var(--orange); background: var(--navy-3); color: var(--text); border-radius: 12px; padding: 10px; font-weight: 700; }
.order-tab.active { background: var(--orange); color: #fff; }
.pane-note { color: var(--muted); font-size: .93rem; margin-top: 10px; }
.modal-msg { margin-top: 12px; font-weight: 600; }
.modal-msg.err { color: #f87171; }
.modal-msg.ok { color: #4ade80; }
.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: #052e16; border: 2px solid var(--green); border-radius: 14px; padding: 16px; }
.track-card b { display: block; font-size: 1.1rem; color: #fff; }
.track-card span { color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 36px 5vw 44px; }
  .funds { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .top-actions .btn-ghost { 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; }
  .order-section { padding-left: 4vw; padding-right: 4vw; }
}
