/* BuySMS landing — brand colours from the logo (yellow → orange → red). */
:root {
  --b1: #ffb547; --b2: #ff7a2f; --b3: #e8452c; --brand: #f15a2b; --brand-rgb: 241, 90, 43;
  --grad: linear-gradient(135deg, var(--b1) 0%, var(--b2) 45%, var(--b3) 100%);
  --ink: #12131c; --ink-2: #1b1d2a; --text: #1c2033; --muted: #636a80; --line: #e8eaf1;
  --bg: #ffffff; --bg-alt: #f6f7fb; --radius: 18px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px rgba(16,24,40,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px;
  font-family: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lang-bn { font-family: "Hind Siliguri", "Plus Jakarta Sans", system-ui, sans-serif; font-size: 17px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.02em; }
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3 { letter-spacing: 0; line-height: 1.35; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.w-100 { width: 100%; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; border-radius: 12px;
  padding: .7rem 1.2rem; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-brand { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(var(--brand-rgb), .32); }
.btn-brand:hover { box-shadow: 0 14px 30px rgba(var(--brand-rgb), .42); }
.btn-outline { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.04); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-outline-dark { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline-dark:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: #d8dbe8; }
.btn-ghost:hover { color: #fff; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.nav.scrolled { background: rgba(18,19,28,.86); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .55rem; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; font-family: "Plus Jakarta Sans", sans-serif; }
.w-buy { color: #fff; } .w-sms { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { color: #c3c7d6; font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang { display: inline-flex; padding: 3px; border-radius: 30px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.lang a { padding: .25rem .7rem; border-radius: 20px; font-size: .8rem; font-weight: 700; color: #c3c7d6; }
.lang a.on { background: var(--grad); color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.7rem; cursor: pointer; padding: 0 .2rem; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; padding: 140px 0 60px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.g1 { width: 520px; height: 520px; background: rgba(255,122,47,.35); top: -160px; right: -80px; }
.g2 { width: 420px; height: 420px; background: rgba(232,69,44,.25); bottom: -200px; left: -120px; }
.g3 { width: 480px; height: 480px; background: rgba(255,122,47,.18); top: -120px; left: 40%; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 30px; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #ffd3b0; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; margin: 1.3rem 0 1.1rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #b9bdd0; font-size: 1.13rem; max-width: 560px; margin: 0 0 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.checks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: #c9ccda; font-size: .93rem; }
.checks li { display: flex; align-items: center; gap: .45rem; }
.checks i { color: var(--b1); }

.hero-art { position: relative; display: flex; justify-content: center; }
.phone { width: 290px; height: 560px; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2a2c3c, #0c0d14);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); position: relative; }
.notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #0c0d14; z-index: 2; }
.screen { height: 100%; border-radius: 34px; background: #f3f4f8; overflow: hidden; display: flex; flex-direction: column; }
.sms-head { display: flex; align-items: center; gap: .6rem; padding: 3.1rem 1rem .9rem; background: #fff; border-bottom: 1px solid #eceef4; color: var(--text); }
.sms-head .av { width: 36px; height: 36px; border-radius: 50%; background: #fff3ec; display: grid; place-items: center; }
.sms-head .av img { width: 24px; }
.sms-head b { display: block; font-size: .9rem; } .sms-head small { color: var(--muted); font-size: .72rem; }
.bubbles { padding: 1rem .8rem; display: flex; flex-direction: column; gap: .6rem; }
.bubble { align-self: flex-start; max-width: 88%; background: #fff; color: var(--text); padding: .6rem .8rem; border-radius: 16px 16px 16px 4px;
  font-size: .84rem; line-height: 1.45; box-shadow: 0 2px 6px rgba(16,24,40,.06); opacity: 0; transform: translateY(12px) scale(.98); transition: all .45s cubic-bezier(.2,.8,.2,1); }
.bubble.show { opacity: 1; transform: none; }
.bubble time { display: block; font-size: .68rem; color: #9aa0b4; margin-top: .2rem; }
.float-card { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 16px;
  background: rgba(27,29,42,.82); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 40px rgba(0,0,0,.35);
  animation: float 5s ease-in-out infinite; }
.float-card i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-size: 1.15rem; }
.float-card small { display: block; color: #9ea3b8; font-size: .75rem; } .float-card b { font-size: 1.05rem; }
.fc1 { top: 70px; left: -10px; } .fc2 { bottom: 70px; right: -10px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.facts { position: relative; margin-top: 4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact { padding: 1.2rem 1.4rem; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.fact b { display: block; font-size: 1.9rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { color: #aeb2c6; font-size: .9rem; }

/* Sections */
.sec { padding: 100px 0; position: relative; }
.sec-alt { background: var(--bg-alt); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: .9rem 0 0; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand);
  background: rgba(var(--brand-rgb), .09); padding: .35rem .8rem; border-radius: 30px; margin-bottom: 1rem; }
body.lang-bn .tag { text-transform: none; letter-spacing: 0; font-size: .88rem; }
.tag-dark { background: rgba(255,181,71,.12); color: var(--b1); }
.tag-light { background: rgba(255,255,255,.18); color: #fff; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feat { padding: 1.8rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(var(--brand-rgb), .35); box-shadow: 0 20px 40px rgba(16,24,40,.1); }
.feat .ico, .step .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(var(--brand-rgb), .1); color: var(--brand); margin-bottom: 1.2rem; }
.feat h3, .aud h3, .step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.feat p, .aud p, .step p { color: var(--muted); margin: 0; }

.aud { padding: 2rem; position: relative; overflow: hidden; }
.aud > i { font-size: 2rem; display: inline-block; margin-bottom: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aud::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(var(--brand-rgb), .06); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, rgba(var(--brand-rgb),.35) 0 8px, transparent 8px 16px); }
.step { text-align: center; padding: 0 1rem; position: relative; }
.step .ico { margin: 0 auto 1.2rem; width: 72px; height: 72px; border-radius: 22px; font-size: 1.8rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 1; }
.step-num { font-weight: 800; color: rgba(var(--brand-rgb), .5); font-size: .9rem; margin-bottom: .7rem; letter-spacing: .1em; }

.counter-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.counter-in h2 { margin-bottom: .8rem; }
.rule { background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 1rem 1.1rem; color: var(--muted); font-size: .93rem; }
.rule i { color: var(--brand); }
.counter { padding: 1.4rem; }
.counter textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; font: inherit; resize: vertical; min-height: 140px; outline: none; transition: border-color .2s, box-shadow .2s; }
.counter textarea:focus { border-color: rgba(var(--brand-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.ct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0; }
.ct-stats div { background: var(--bg-alt); border-radius: 12px; padding: .8rem; text-align: center; }
.ct-stats b { display: block; font-size: 1.35rem; font-weight: 800; color: var(--brand); }
.ct-stats span { font-size: .8rem; color: var(--muted); }
#ctEnc { font-size: .98rem; line-height: 1.8; }
.ct-bar { height: 8px; background: var(--bg-alt); border-radius: 10px; overflow: hidden; }
.ct-bar div { height: 100%; background: var(--grad); width: 0; transition: width .2s; }

.plans { align-items: stretch; }
.plan { padding: 2rem; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 1.25rem; font-weight: 700; }
.plan .muted { margin: .3rem 0 1.2rem; }
.price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.4rem; }
.price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li i { color: #16a34a; font-size: 1.1rem; }
.plan.featured { background: var(--ink); color: #fff; border-color: transparent; transform: scale(1.03); box-shadow: 0 30px 60px rgba(18,19,28,.3); }
.plan.featured .muted, .plan.featured .price span { color: #a4a9bd; }
.plan.featured .price b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan.featured li i { color: var(--b1); }
.ribbon { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 20px; }
.note { text-align: center; color: var(--muted); margin-top: 2rem; font-size: .93rem; }

pre { margin: 0; padding: 1.3rem 1.4rem; overflow-x: auto; font-size: .84rem; line-height: 1.7; color: #e3e6f3; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre .c { color: #6f7590; } pre .s { color: #8fe3a9; } pre .k { color: var(--b1); } pre .v { color: #ff9d6c; }

/* ---------- API docs page (/api, /en/api) ---------- */
.docs-page .nav { background: rgba(18,19,28,.94); }
.nav-links a.on { color: #fff; }
.docs-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 118px 0 46px; }
.docs-hero .wrap { position: relative; }
.docs-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: .4rem 0 .8rem; }
.docs-hero .lead { color: #b9bdd0; max-width: 760px; font-size: 1.08rem; margin: 0 0 1.6rem; }
.crumbs { font-size: .85rem; color: #8d92a8; display: flex; align-items: center; gap: .4rem; }
.crumbs a:hover { color: #fff; }
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 3rem; padding: 2.5rem 0 4rem; }
.docs-toc { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: .15rem; font-size: .92rem; }
.docs-toc a { padding: .35rem .7rem; border-radius: 8px; color: var(--muted); border-left: 2px solid transparent; }
.docs-toc a:hover { color: var(--brand); background: var(--bg-alt); }
.toc-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin: 0 0 .4rem .7rem; }
.toc-title.mt { margin-top: 1.4rem; }
body.lang-bn .toc-title { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.docs-main { min-width: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; margin: 0 0 2.5rem; }
.facts-grid div { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: .75rem 1rem; }
.facts-grid dt { font-size: .75rem; color: var(--muted); font-weight: 600; }
.facts-grid dd { margin: .15rem 0 0; font-weight: 600; font-size: .9rem; word-break: break-word; }
.doc-sec { padding-top: 1rem; margin-bottom: 2.6rem; scroll-margin-top: 84px; }
.doc-sec h2 { font-size: 1.55rem; margin-bottom: .9rem; position: relative; }
.doc-sec .anchor { position: absolute; left: -1.1em; color: var(--line); opacity: 0; transition: opacity .15s; }
.doc-sec h2:hover .anchor { opacity: 1; color: var(--brand); }
.doc-sec p { margin: 0 0 .9rem; }
.docs-main code { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
.docs-main :not(pre) > code { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: .08em .4em; }
.endpoint { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: .95rem; flex-wrap: wrap; }
.endpoint .m { font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: .22rem .55rem; border-radius: 6px; color: #fff; }
.m-post { background: #16a34a; } .m-get { background: #2563eb; }
.endpoint code { background: none !important; border: 0 !important; padding: 0 !important; font-weight: 600; word-break: break-all; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2rem; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-wrap th { text-align: left; background: var(--bg-alt); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .6rem .9rem; white-space: nowrap; }
body.lang-bn .table-wrap th { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.table-wrap td { padding: .65rem .9rem; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap td:first-child { white-space: nowrap; }
.codebox { margin: 0 0 1rem; }
.code-tabs { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: .5rem; }
.code-tabs button { font: inherit; font-size: .82rem; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--muted); padding: .3rem .75rem; border-radius: 8px; cursor: pointer; }
.code-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.code-pane { margin: 0 0 1rem; background: #0b0c12; border-radius: 14px; overflow: hidden; border: 1px solid #1f2130; }
.code-pane figcaption { display: flex; align-items: center; padding: .5rem .9rem; border-bottom: 1px solid #1f2130; color: #8d92a8; font-size: .78rem; font-weight: 600; }
.code-pane.resp figcaption { color: #8fe3a9; }
.code-pane .copy { margin-left: auto; font: inherit; font-size: .75rem; background: rgba(255,255,255,.06); color: #d8dbe8; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: .15rem .6rem; cursor: pointer; }
.code-pane .copy:hover { background: rgba(255,255,255,.14); }
.code-pane pre { font-size: .82rem; line-height: 1.65; }
.doc-list { margin: 0 0 1rem; padding-left: 1.2rem; }
.doc-list li { margin-bottom: .45rem; }
.doc-list a { color: var(--brand); word-break: break-all; }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1.5rem; }
  .docs-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: .35rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .docs-toc a { border: 1px solid var(--line); font-size: .82rem; padding: .25rem .6rem; }
  .toc-title { width: 100%; margin-left: 0; }
  .doc-sec .anchor { display: none; }
}
@media (max-width: 600px) {
  .docs-hero { padding: 100px 0 34px; }
  .wrap.docs { width: calc(100% - 32px); }
  .docs-hero .cta-row .btn { width: 100%; }
}

.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faqs { display: grid; gap: .8rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.3rem; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: rgba(var(--brand-rgb), .35); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--brand); transition: transform .2s; flex-shrink: 0; }
.faq[open] summary i { transform: rotate(45deg); }
.faq p { margin: 0 0 1.2rem; color: var(--muted); }

.sec-cta { background: var(--grad); color: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-in h2 { margin-bottom: 1rem; }
.contact-in > div > p { font-size: 1.1rem; color: rgba(255,255,255,.9); }
.contact-list { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-list > * { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); max-width: 420px; }
.contact-list i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 1.1rem; flex-shrink: 0; }
.contact-list small { display: block; font-size: .78rem; opacity: .85; }
.contact-list span { font-weight: 600; }
.form { padding: 2rem; color: var(--text); display: grid; gap: 1rem; box-shadow: 0 30px 60px rgba(139,26,18,.3); border: 0; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; }
.form input, .form textarea { font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; outline: none; background: #fbfbfd; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { border-color: rgba(var(--brand-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 12px; font-weight: 500; font-size: .93rem; }
.alert.ok { background: #ecfdf3; color: #067647; } .alert.err { background: #fef3f2; color: #b42318; }

.foot { background: var(--ink); color: #a4a9bd; padding: 60px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-in p { max-width: 380px; margin: 1rem 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; }
.foot-links a:hover { color: #fff; }
.foot-bottom { padding-top: 1.5rem; font-size: .88rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  body.menu-open .nav { background: var(--ink); }
  body.menu-open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); padding: .5rem 20px 1.2rem; border-top: 1px solid rgba(255,255,255,.08); }
  body.menu-open .nav-links a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hero-in, .counter-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .hero-art { margin-top: 1rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .grid3, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .plan.featured { transform: none; }
  .sec { padding: 72px 0; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .hero { padding-top: 110px; }
  .fc1 { left: 0; } .fc2 { right: 0; }
  .phone { width: 250px; height: 500px; }
  .cta-row .btn { width: 100%; }
}

/* ---------- SMS guideline page (/sms-guideline, /en/sms-guideline) ---------- */
@media (min-width: 1025px) and (max-width: 1320px) { .nav-links { gap: 1.05rem; } .nav-links a { font-size: .9rem; } }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: .4rem; }
.tier { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.tier > i { font-size: 1.35rem; width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; }
.tier b { display: block; color: #fff; margin-bottom: .15rem; }
.tier span { color: #aeb2c6; font-size: .9rem; line-height: 1.5; }
.tier-red > i { background: rgba(239,68,68,.16); color: #f87171; }
.tier-amber > i { background: rgba(245,158,11,.16); color: #fbbf24; }
.tier-green > i { background: rgba(34,197,94,.16); color: #4ade80; }
.h-ico { color: var(--brand); margin-right: .55rem; font-size: .9em; }
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; margin: 1.1rem 0 0; }
.g-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.15rem; }
.g-card > i { font-size: 1.3rem; color: var(--brand); }
.g-cards-red .g-card { border-color: rgba(239,68,68,.28); background: #fff8f7; }
.g-cards-red .g-card > i { color: #dc2626; }
.g-card h3 { font-size: 1.02rem; font-weight: 700; margin: .5rem 0 .3rem; }
.g-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.g-list { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .65rem; }
.g-list li { display: flex; gap: .65rem; align-items: flex-start; }
.g-list i { color: #16a34a; margin-top: .2rem; flex-shrink: 0; }
.g-check { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.g-check li { display: flex; gap: .75rem; align-items: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; }
.g-check .n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; }
.g-examples { display: grid; gap: .9rem; }
.g-ex { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.g-ex > div { padding: 1rem 1.1rem; }
.g-ex small { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .45rem; }
body.lang-bn .g-ex small { text-transform: none; letter-spacing: 0; font-size: .88rem; }
.g-ex-bad { background: #fff7f6; } .g-ex-bad small { color: #dc2626; }
.g-ex-good { background: #f3fbf5; border-left: 1px solid var(--line); } .g-ex-good small { color: #15803d; }
.g-ex q { display: block; font-weight: 600; quotes: none; }
.g-ex em { display: block; font-style: normal; color: var(--muted); font-size: .9rem; margin-top: .45rem; }
.g-ex p { margin: 0; }
.g-note { color: var(--muted); font-size: .92rem; background: var(--bg-alt); border-radius: 12px; padding: .8rem 1rem; }
.g-updated { display: block; margin-top: .35rem; font-size: .85rem; }
.guide-page .faqs { margin-top: .4rem; }
.g-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--ink); color: #fff; }
.g-cta h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.g-cta p { margin: 0; color: #b9bdd0; max-width: 560px; }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .g-check { grid-template-columns: 1fr; }
  .g-ex { grid-template-columns: 1fr; }
  .g-ex-good { border-left: 0; border-top: 1px solid var(--line); }
}
