:root {
  --bg: #ffffff;
  --soft: #f4f6fb;
  --text: #15181e;
  --muted: #5d6573;
  --border: #e3e6eb;
  --accent: #1f6feb;
  --accent-text: #ffffff;
  --messenger: #0866ff;
  --instagram: #d62976;
  --whatsapp: #128c3e;
  --bubble-in: #eef0f3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --soft: #161a21;
    --text: #e7e9ee;
    --muted: #9aa1ad;
    --border: #2a2f38;
    --accent: #4c8dff;
    --bubble-in: #232832;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.spacer { flex: 1; }
code { background: var(--soft); padding: 0 4px; border-radius: 4px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none; padding: 9px 16px; border-radius: 9px; font-weight: 600; border: 1px solid var(--accent); white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.big { padding: 13px 22px; font-size: 17px; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 12px max(16px, calc((100vw - 1120px) / 2)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.logo { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.nav nav { display: flex; gap: 18px; }
.nav nav a { color: var(--muted); text-decoration: none; }
.lang { color: var(--text); text-decoration: none; font-weight: 600; padding: 6px 10px; border: 1px solid var(--border); border-radius: 99px; font-size: 14px; white-space: nowrap; }

/* Bangla page: a Bengali font, looser lines for the taller script, no tight tracking. */
body.bn { font-family: "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.75; }
body.bn h1, body.bn h2, body.bn h3 { line-height: 1.35; letter-spacing: 0; }
body.bn .hero h1 { font-size: clamp(30px, 4.6vw, 46px); }

main > section { padding: 64px max(16px, calc((100vw - 1120px) / 2)); }
main > section:nth-child(even) { background: var(--soft); }
main h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 28px; text-align: center; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; margin: 0; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); margin: 8px 0 16px; letter-spacing: -0.02em; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }

.mock { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 24px 60px rgb(0 0 0 / 0.12); }
.mock-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 300px; }
.mock-list { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--border); }
.mock-list li { padding: 10px 12px; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: auto 1fr; gap: 0 8px; font-size: 13px; }
.mock-list li.active { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.mock-list i { font-style: normal; font-size: 10px; font-weight: 700; color: #fff; padding: 1px 6px; border-radius: 99px; align-self: center; }
.mock-list b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-list em { grid-column: 1 / -1; font-style: normal; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-list small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.b.fb { background: var(--messenger); } .b.ig { background: var(--instagram); } .b.wa { background: var(--whatsapp); }
.mock-chat { padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mock-chat p { margin: 0; padding: 7px 10px; border-radius: 12px; max-width: 88%; }
.mock-chat .in { background: var(--bubble-in); align-self: flex-start; }
.mock-chat .out { background: var(--accent); color: #fff; align-self: flex-end; }
.mock-chat .order { background: var(--whatsapp); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem .grid3 > div, .feature { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.problem p, .feature p { margin: 6px 0 0; color: var(--muted); }
.feature h3 { margin: 8px 0 0; font-size: 18px; }
.icon { font-size: 26px; }

.how { text-align: center; }
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.steps li span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.steps h3 { margin: 10px 0 4px; }
.steps p { margin: 0; color: var(--muted); }

/* Narrow the questions, not the section: sections already get wide side padding. */
.faq > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--muted); }

.final { text-align: center; }

.footer { display: flex; flex-wrap: wrap; gap: 16px; padding: 24px max(16px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero, .grid3, .steps { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  main > section { padding-top: 44px; padding-bottom: 44px; }
}
@media (max-width: 420px) {
  .nav .btn.ghost { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-chat { display: none; }
}
