:root {
  --bg: #f8f8fd;
  --card: #ffffff;
  --line: #e4e5f2;
  --text: #12172b;
  --muted: #5b6073;
  --green: #057a55;
  --green-dark: #046143;
  --tint: #e3f6ee;
  --soft: #e9eafb;
  --red: #dc2626;
  --red-tint: #fdecec;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* হেডার */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(248, 248, 253, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 15px; }
.nav-links a.btn { color: #fff; }

/* বোতাম */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; background: var(--green); color: #fff; font-weight: 700; font-size: 16px; border: 0; }
.btn:hover { background: var(--green-dark); text-decoration: none; }
.btn.soft { background: var(--soft); color: var(--green); }
.btn.soft:hover { background: #dcdef7; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn[aria-disabled='true'] { opacity: 0.6; pointer-events: none; }

/* হিরো */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--tint); color: var(--green); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: 44px; line-height: 1.25; margin: 14px 0 12px; }
.hero h1 .hl { color: var(--green); }
.hero p.lead { font-size: 18px; color: #3a4056; margin: 0 0 24px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; padding: 0; list-style: none; color: #3a4056; font-size: 15px; }
.checks li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 6px; }

/* ফোনের নমুনা (HTML দিয়ে আঁকা) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #12172b; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(18, 23, 43, 0.35); }
.screen { background: var(--bg); border-radius: 30px; overflow: hidden; }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; }
.sbar .t { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; }
.sbar .t img { width: 26px; height: 26px; border-radius: 7px; }
.sync { font-size: 11px; font-weight: 700; color: var(--green); background: var(--tint); padding: 3px 8px; border-radius: 10px; }
.total { margin: 0 12px 10px; background: var(--green); color: #fff; border-radius: 18px; padding: 12px 14px; }
.total small { opacity: 0.85; font-size: 12px; }
.total b { display: block; font-size: 24px; line-height: 1.2; }
.prow { display: flex; align-items: center; gap: 10px; margin: 0 12px 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 11px; }
.prow .av { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.prow .n { flex: 1; min-width: 0; }
.prow .n b { display: block; font-size: 14px; }
.prow .n span { font-size: 11px; color: var(--muted); }
.prow .amt { font-weight: 700; font-size: 14px; }
.amt.due { color: var(--red); }
.amt.paid { color: var(--green); }
.pbtn { margin: 4px 12px 14px; background: var(--green); color: #fff; text-align: center; font-weight: 700; border-radius: 14px; padding: 10px; font-size: 14px; }

/* সেকশন */
section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.sec-head h2 { font-size: 32px; line-height: 1.3; margin: 0 0 8px; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
section.alt .card { background: var(--bg); }
.card .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step, bengali); position: absolute; top: 20px; left: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* দাম */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.plan h3 { font-size: 22px; margin: 0; }
.plan .price { font-size: 15px; color: var(--muted); margin: 2px 0 14px; }
.plan ul { padding: 0; margin: 0 0 18px; list-style: none; }
.plan li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 8px; }
.plan.pro { border: 2px solid var(--green); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; background: var(--tint); color: var(--green); padding: 2px 10px; border-radius: 10px; margin-left: 6px; vertical-align: middle; }

/* প্রশ্ন */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
section.alt .faq details { background: var(--bg); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 0; color: #3a4056; }

/* ডাউনলোড */
.download { background: var(--green); color: #fff; border-radius: 28px; padding: 40px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.download h2 { margin: 0 0 6px; font-size: 30px; }
.download p { margin: 0; opacity: 0.9; }
.download .btn { background: #fff; color: var(--green); }
.download .btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); }

/* ফুটার */
footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: var(--muted); font-weight: 600; }

/* লেখার পাতা (গোপনীয়তা নীতি) */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 0 48px; }
.doc h1 { font-size: 30px; margin: 0 0 4px; }
.doc h2 { font-size: 19px; margin: 26px 0 8px; }
.doc .card { padding: 20px 22px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 5px 0; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 24px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 17px; }
  .grid, .steps, .plans { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .sec-head h2 { font-size: 26px; }
  .download { padding: 28px 22px; }
  .download h2 { font-size: 24px; }
}
