/* NexSoftbd company site. Solid colours only (no gradients). Colours come from the logo: navy, blue, mint. */
:root {
  --navy: #0A1630; --navy2: #12254A; --navy3: #1A3160;
  --ink: #0E1A33; --text: #34425E; --muted: #67748E; --line: #E2E8F2;
  --bg: #FFFFFF; --alt: #F3F6FB;
  --blue: #1F6FEB; --mint: #22D3A6; --mint-d: #0E9F7C;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
html[lang="bn"] body { font-family: 'Hind Siliguri', 'Manrope', system-ui, sans-serif; font-size: 17px; }
html[lang="en"] .l-bn, html[lang="bn"] .l-en { display: none; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* colour helpers: --c is the strong colour, --cbg its pale tile */
.c-blue { --c: #1F6FEB; --cbg: #E6EFFE; }
.c-mint { --c: #0E9F7C; --cbg: #DDF8EF; }
.c-amber { --c: #C77C00; --cbg: #FFF1D6; }
.c-violet { --c: #6A48F0; --cbg: #EEE9FF; }
.c-coral { --c: #E0434B; --cbg: #FDE6E7; }
.c-sky { --c: #0A86BF; --cbg: #DFF3FC; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: #3FE0B6; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1760D4; }
.btn-ghost { border-color: #3A5288; color: #fff; }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: #1FAF5A; color: #fff; }
.btn-wa:hover { background: #189A4E; }
.btn-light { background: #fff; color: var(--navy); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid #1C2F57; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { display: block; width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { color: #C9D4EA; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.nav > a:not(.btn):hover { color: #fff; background: var(--navy2); }
.nav > a.on { color: #fff; background: var(--navy3); }
.lang { display: inline-flex; border: 1px solid #2B4374; border-radius: 9px; overflow: hidden; margin: 0 6px 0 10px; }
.lang button { background: transparent; border: 0; color: #C9D4EA; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.lang button.on { background: var(--mint); color: var(--navy); }
.nav-btn { display: none; background: var(--navy2); color: #fff; border: 1px solid #2B4374; border-radius: 10px; width: 44px; height: 44px; font-size: 18px; cursor: pointer; }

/* hero */
.hero { background: var(--navy); color: #C9D4EA; padding: 64px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html[lang="bn"] .eyebrow, html[lang="bn"] .kicker { letter-spacing: 0; font-size: 15px; text-transform: none; }
.eyebrow { color: var(--mint); margin-bottom: 18px; }
.kicker { color: var(--blue); margin-bottom: 10px; }
.px3 { display: inline-flex; gap: 3px; }
.px3 i { width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.px3 i:nth-child(2) { background: #19B9C8; }
.px3 i:nth-child(3) { background: var(--mint); }
.hero h1 { color: #fff; font-size: 50px; margin-bottom: 18px; }
html[lang="bn"] .hero h1 { font-size: 44px; }
.hero h1 .hl { color: var(--mint); }
.hero .lead { font-size: 18px; max-width: 590px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; min-height: 380px; }
.pixels { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; max-width: 440px; margin-left: auto; }
.pixels i { aspect-ratio: 1; border-radius: 8px; background: #13264C; }
.pixels i.b { background: var(--blue); }
.pixels i.t { background: #19B9C8; }
.pixels i.m { background: var(--mint); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 16px; box-shadow: 0 14px 34px rgba(3, 10, 26, .35); min-width: 230px; }
.float-card b { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; }
.float-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.fc-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--cbg); color: var(--c); font-size: 18px; flex-shrink: 0; }
.fc1 { left: 0; top: 34px; }
.fc2 { right: 0; top: 176px; }
.fc3 { left: 30px; bottom: 6px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.fact { background: var(--navy2); border: 1px solid #1F3767; border-radius: var(--r); padding: 18px 18px 16px; }
.fact i { color: var(--mint); font-size: 18px; }
.fact b { display: block; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.1; margin: 8px 0 4px; }
.fact > span { font-size: 14px; color: #AEBBD6; }

/* sections */
.sec { padding: 76px 0; }
.sec.alt { background: var(--alt); }
.sec.dark { background: var(--navy); color: #C9D4EA; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .kicker { color: var(--mint); }
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-head h2 { font-size: 36px; }
html[lang="bn"] .sec-head h2 { font-size: 32px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.sec.dark .sec-head p { color: #AEBBD6; }
.page-head { background: var(--navy); color: #C9D4EA; padding: 56px 0 50px; }
.page-head h1 { color: #fff; font-size: 42px; max-width: 760px; }
.page-head p { font-size: 18px; max-width: 680px; margin: 0; }
.page-head .eyebrow { margin-bottom: 14px; }

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--cbg); color: var(--c); font-size: 21px; margin-bottom: 16px; }
.svc { display: block; color: inherit; transition: border-color .15s, transform .15s; }
.svc:hover { border-color: var(--blue); transform: translateY(-2px); }
.svc p { margin-bottom: 14px; }
.more { color: var(--blue); font-weight: 700; font-size: 14px; }
.why .num { display: inline-block; font-weight: 800; color: var(--blue); background: #E6EFFE; border-radius: 8px; padding: 2px 10px; margin-bottom: 14px; font-size: 14px; }

/* product block */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: var(--alt); border: 1px solid var(--line); border-radius: 22px; padding: 40px; }
.tag { display: inline-flex; align-items: center; gap: 8px; background: var(--cbg); color: var(--c); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.product h3 { font-size: 34px; }
.product h3 small { display: block; font-size: 16px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 9px; color: var(--ink); font-weight: 600; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--mint); color: var(--navy); font-size: 11px; display: grid; place-items: center; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.product-shot { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(14, 26, 51, .09); }
.shot-bar { display: flex; align-items: center; gap: 6px; background: var(--navy); padding: 10px 14px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2B4374; }
.shot-bar > span { color: #C9D4EA; font-size: 13px; font-weight: 700; margin-left: 8px; }
.shot-body { padding: 18px; }
.shot-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.st { border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 10px; padding: 10px 12px; }
.st b { display: block; color: var(--ink); font-size: 18px; }
.st > span { font-size: 12px; color: var(--muted); }
.shot-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 18px 0; padding: 0 4px; border-bottom: 1px solid var(--line); }
.shot-bars i { flex: 1; background: #CFE0FD; border-radius: 6px 6px 0 0; }
.shot-bars i.hi { background: var(--blue); }
.shot-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 8px 0; border-top: 1px dashed var(--line); }
.dot-s { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.dot-s.ok { background: var(--mint); }
.dot-s.warn { background: #F5A524; }
.sample { font-size: 12px; color: var(--muted); text-align: center; margin: 0; padding: 0 0 10px; }

/* industries */
.inds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ind { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 12px; text-align: center; font-weight: 700; color: var(--ink); font-size: 15px; }
.ind i { display: block; font-size: 26px; color: var(--c); margin-bottom: 10px; }

/* works-with chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 700; color: var(--ink); font-size: 14px; }
.chip i { color: var(--blue); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.steps li { background: var(--navy2); border: 1px solid #1F3767; border-radius: var(--r); padding: 20px 16px; }
.steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--mint); color: var(--navy); font-weight: 800; margin-bottom: 12px; }
.steps li:nth-child(even) > span { background: var(--blue); color: #fff; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14px; color: #AEBBD6; margin: 0; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 18px 20px; font: inherit; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.faq-q i { color: var(--blue); transition: transform .2s; flex-shrink: 0; }
.faq-a { display: none; padding: 0 20px 16px; }
.faq-a p { margin: 0; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q i { transform: rotate(45deg); }

/* call to action band */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--blue); color: #E3EDFF; border-radius: 22px; padding: 40px 44px; }
.cta h2 { color: #fff; font-size: 30px; margin-bottom: 6px; }
.cta p { margin: 0; }
.cta .acts { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-px { position: absolute; right: -10px; top: -10px; display: grid; grid-template-columns: repeat(3, 22px); gap: 6px; opacity: .25; }
.cta-px i { width: 22px; height: 22px; border-radius: 5px; background: #fff; }

/* inner pages */
.two { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.feat .ico { width: 42px; height: 42px; font-size: 18px; margin: 0; flex-shrink: 0; }
.feat h3 { font-size: 16px; margin-bottom: 2px; }
.feat p { font-size: 14px; color: var(--muted); margin: 0; }
.apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.app { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 16px; text-align: center; }
.app .ico { margin: 0 auto 12px; }
.app h3 { font-size: 16px; margin-bottom: 4px; }
.app p { font-size: 14px; color: var(--muted); margin: 0; }
.svc-row { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row .ico { width: 64px; height: 64px; font-size: 26px; margin: 0; }
.svc-row h2 { font-size: 26px; }
.svc-row ul { margin: 0; padding-left: 20px; color: var(--text); }
.svc-row li { margin-bottom: 4px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: var(--alt); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.stat b { display: block; font-size: 30px; color: var(--blue); font-weight: 800; line-height: 1.1; }
.stat > span { color: var(--muted); font-size: 14px; }
.way { display: flex; gap: 16px; align-items: flex-start; }
.way .ico { margin: 0; flex-shrink: 0; }
.way h3 { margin-bottom: 4px; }
.way p { word-break: break-word; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); font-size: 14px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 500; color: var(--ink); border: 1px solid #CBD5E6; border-radius: 10px; padding: 11px 13px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form textarea { min-height: 120px; resize: vertical; }
.form .note { font-size: 13px; color: var(--muted); margin: 0; }
.scroll-mt { scroll-margin-top: 90px; }

/* footer */
.foot { background: var(--navy); color: #AEBBD6; padding: 60px 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 30px; }
.foot .logo-img { width: 200px; margin-bottom: 14px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot a { display: block; color: #AEBBD6; margin-bottom: 9px; }
.foot a:hover { color: var(--mint); }
.foot a.mail { word-break: break-all; }
.foot .ext { font-size: 11px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: var(--navy2); border: 1px solid #1F3767; display: grid; place-items: center; color: #fff; margin: 0; }
.social a:hover { background: var(--mint); color: var(--navy); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #1C2F57; margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: 14px; }

/* tablet */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .inds { grid-template-columns: repeat(3, 1fr); }
  .apps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-btn { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid #1C2F57; flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 12px; }
  .lang { margin: 8px 0; align-self: flex-start; }
  .nav-cta { margin-top: 6px; }
  .top-in { position: relative; }
  .hero-in, .product, .two { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; width: 100%; margin: 0 auto; }
  .pixels { margin: 0 auto; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; }
}
/* phone */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .logo-img { width: 150px; }
  .top-in { min-height: 64px; }
  .hero { padding: 40px 0 30px; }
  .hero h1, html[lang="bn"] .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-art { min-height: 0; }
  .pixels { gap: 5px; max-width: 260px; }
  .pixels i { border-radius: 4px; }
  .pixels i:nth-child(n+25) { display: none; }
  .float-card { position: static; margin-top: 10px; min-width: 0; box-shadow: none; }
  .fc1 { margin-top: 18px; }
  .facts { gap: 10px; margin-top: 30px; }
  .fact { padding: 14px; }
  .fact b { font-size: 24px; }
  .fact span { font-size: 13px; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2, html[lang="bn"] .sec-head h2 { font-size: 26px; }
  .sec-head p { font-size: 15px; }
  .page-head { padding: 40px 0 36px; }
  .page-head h1 { font-size: 30px; }
  .page-head p { font-size: 16px; }
  .grid2, .grid3, .grid4, .feat-list { grid-template-columns: 1fr; }
  .product { padding: 22px 18px; gap: 26px; border-radius: 16px; }
  .product h3 { font-size: 28px; }
  .row-btns .btn { flex: 1 1 100%; }
  .shot-tiles { gap: 6px; }
  .st { padding: 8px; }
  .st b { font-size: 15px; }
  .inds { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .apps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta { padding: 28px 22px; border-radius: 16px; }
  .cta h2 { font-size: 24px; }
  .cta .acts, .cta .acts .btn { width: 100%; }
  .svc-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .svc-row h2 { font-size: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .steps, .apps { grid-template-columns: 1fr; }
}

/* second product block: picture on the left on wide screens; the NexLogs search picture */
.product + .product { margin-top: 24px; }
.product.rev .product-shot { order: -1; }
.q-line { display: flex; gap: 8px; margin-bottom: 14px; }
.q-f { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-go { width: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--blue); color: #fff; }
.log-hit { display: flex; align-items: center; gap: 12px; border: 1px solid #D9CFFF; background: #F7F4FF; border-radius: 10px; padding: 10px 12px; }
.log-hit .ico { width: 38px; height: 38px; font-size: 16px; margin: 0; flex-shrink: 0; }
.log-hit b { display: block; color: var(--ink); }
.log-hit small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-hit > span:nth-child(2) { flex: 1; min-width: 0; }
.pill-ok { background: var(--mint); color: var(--navy); font-weight: 700; font-size: 12px; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.log-lines { font-family: Consolas, 'Courier New', monospace; font-size: 12px; color: var(--text); background: var(--alt); border-radius: 8px; padding: 10px 12px; margin: 12px 0 6px; }
.log-lines div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-lines em { color: var(--blue); font-style: normal; margin-right: 6px; }
@media (max-width: 960px) { .product.rev .product-shot { order: 0; } }

/* ---------- products page ---------- */
.ph-prod { padding-bottom: 40px; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; max-width: 900px; }
.pick { display: flex; align-items: center; gap: 16px; background: var(--navy2); border: 1px solid #1F3767; border-radius: 16px; padding: 18px 20px; color: #fff; transition: border-color .15s, transform .15s; }
.pick:hover { border-color: var(--mint); transform: translateY(-2px); }
.pick .ico { margin: 0; flex-shrink: 0; }
.pick-t { flex: 1; min-width: 0; }
.pick-t b { display: block; font-size: 20px; }
.pick-t small { display: block; color: #AEBBD6; font-size: 14px; line-height: 1.4; }
.pick-go { width: 34px; height: 34px; border-radius: 9px; background: var(--navy3); display: grid; place-items: center; color: var(--mint); flex-shrink: 0; }

.subnav { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; }
.subnav a i { color: var(--blue); }
.subnav a:hover, .subnav a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.subnav a:hover i, .subnav a.on i { color: var(--mint); }
.anchor { scroll-margin-top: 130px; }

.p-name { font-size: 40px; margin-bottom: 10px; }
.p-lead { font-size: 17px; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 24px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mini b { display: block; font-size: 24px; color: var(--blue); line-height: 1.1; }
.mini > span { font-size: 13px; color: var(--muted); }

.sub-head { margin: 56px 0 20px; }
.sub-head h3 { font-size: 26px; margin-bottom: 4px; }
.sub-head p { color: var(--muted); margin: 0; }
.sec.dark .sub-head p { color: #AEBBD6; }

.mod-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mod-group { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--r); padding: 22px; }
.mod-group h4 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.mod-group h4 i { width: 38px; height: 38px; border-radius: 10px; background: var(--cbg); color: var(--c); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.mod-group ul { list-style: none; margin: 0; padding: 0; }
.mod-group li { position: relative; padding: 8px 0 8px 22px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--text); }
.mod-group li:first-child { border-top: 0; }
.mod-group li::before { content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }

.plans-strip { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 24px; align-items: center; margin-top: 48px; background: var(--alt); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.ps-text h3 { font-size: 20px; margin-bottom: 4px; }
.ps-text p { margin: 0; color: var(--muted); font-size: 15px; }
.ps-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ps-plan { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: 10px 12px; }
.ps-plan b { display: block; color: var(--ink); }
.ps-plan small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }

/* NexLogs on the navy band */
.product.on-dark { background: var(--navy2); border-color: #1F3767; }
.product.on-dark .p-name { color: #fff; }
.product.on-dark .p-lead { color: #C9D4EA; }
.flow { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: fl; }
.flow li { position: relative; background: var(--navy2); border: 1px solid #1F3767; border-radius: var(--r); padding: 20px 18px; }
.flow li::before { counter-increment: fl; content: counter(fl); position: absolute; right: 14px; top: 12px; font-weight: 800; font-size: 26px; color: #2A447A; }
.flow li:not(:last-child)::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -26px; top: 50%; transform: translateY(-50%); color: var(--mint); font-size: 16px; }
.fl-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--cbg); color: var(--c); font-size: 19px; margin-bottom: 12px; }
.flow b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.flow small { display: block; color: #AEBBD6; font-size: 14px; line-height: 1.45; }
.dark-cards .card { background: var(--navy2); border-color: #1F3767; }
.dark-cards .card h3 { color: #fff; }
.dark-cards .card p { color: #AEBBD6; }

/* together */
.tog { display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr; gap: 16px; align-items: center; max-width: 980px; margin: 0 auto; }
.tog-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 16px; text-align: center; }
.tog-box .ico { margin: 0 auto 10px; }
.tog-box b { display: block; color: var(--ink); font-size: 18px; }
.tog-box small { display: block; color: var(--muted); font-size: 13px; }
.tog-link { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--navy); display: grid; place-items: center; }
.tog-card { background: #fff; border: 2px solid var(--blue); border-radius: 16px; padding: 18px; box-shadow: 0 16px 34px rgba(14, 26, 51, .09); }
.tc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tc-top b { display: block; color: var(--ink); }
.tc-top small { color: var(--muted); }
.tc-av { width: 42px; height: 42px; border-radius: 11px; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.tc-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.tc-row > span { color: var(--muted); }
.tc-row b { color: var(--ink); }
.tog-card .sample { padding: 8px 0 0; }

/* compare */
.cmp-wrap { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 15px; overflow-wrap: anywhere; }
.cmp thead th { border-top: 0; background: var(--alt); }
.cmp tbody th { color: var(--ink); width: 26%; font-weight: 700; }
.cmp td { color: var(--text); }
.cmp-n { display: inline-block; background: var(--cbg); color: var(--c); border-radius: 999px; padding: 4px 12px; font-weight: 800; }

@media (max-width: 960px) {
  .plans-strip { grid-template-columns: 1fr; }
  .plans-strip .btn { justify-self: start; }
  .flow { grid-template-columns: 1fr 1fr; gap: 16px; }
  .flow li::after { display: none; }
  .mod-groups { grid-template-columns: 1fr 1fr; }
  .tog { grid-template-columns: 1fr; max-width: 420px; }
  .tog-link { margin: 0 auto; transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .subnav { top: 64px; }
  .anchor { scroll-margin-top: 120px; }
  .picks { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .pick { padding: 14px; }
  .pick-t b { font-size: 18px; }
  .p-name { font-size: 32px; }
  .p-lead { font-size: 15px; }
  .mini { padding: 10px; }
  .mini b { font-size: 20px; }
  .sub-head { margin: 40px 0 16px; }
  .sub-head h3 { font-size: 21px; }
  .mod-groups { grid-template-columns: 1fr; }
  .ps-plans { grid-template-columns: 1fr; }
  .plans-strip { padding: 20px 18px; }
  .plans-strip .btn { width: 100%; }
  .flow { grid-template-columns: 1fr; }
  .cmp th, .cmp td { padding: 10px; font-size: 13px; }
  .cmp tbody th { width: 30%; }
}

/* ---------- products list + product detail pages ---------- */
.pd-hero { background: var(--navy); color: #C9D4EA; padding: 56px 0 60px; overflow: hidden; }
.pd-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pd-hero h1 { color: #fff; font-size: 52px; margin: 14px 0 12px; }
html[lang="bn"] .pd-hero h1 { font-size: 44px; }
.pd-hero .lead { font-size: 17px; max-width: 600px; }
.pd-hero .tag { margin-bottom: 0; }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.crumb:hover { color: #fff; }
.pd-hero .crumb + .tag { display: flex; width: max-content; max-width: 100%; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; max-width: 560px; }
.stat3 > div { background: var(--navy2); border: 1px solid #1F3767; border-radius: 12px; padding: 14px; }
.stat3 i { color: var(--mint); }
.stat3 b { display: block; color: #fff; font-size: 24px; font-weight: 800; line-height: 1.15; margin-top: 6px; }
.stat3 > div > span { font-size: 13px; color: #AEBBD6; }
.pd-shot .product-shot { box-shadow: 0 22px 50px rgba(0, 0, 0, .35); }
.stack { position: relative; min-height: 430px; }
.stack .product-shot { box-shadow: 0 22px 50px rgba(0, 0, 0, .35); }
.stack-a { width: 86%; }
.stack-b { position: absolute; width: 80%; right: 0; bottom: 0; }

.plist { display: grid; gap: 24px; }
.pcard { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.pcard:nth-child(even) .pcard-pic { order: 2; }
.pcard-pic { background: var(--cbg); border-radius: 16px; padding: 22px; }
.pcard-pic .product-shot { box-shadow: 0 14px 30px rgba(14, 26, 51, .10); }
.pcard-body h3 { font-size: 32px; margin: 4px 0 10px; }
.pcard-body p { color: var(--muted); margin-bottom: 20px; }

.qual { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.q { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; }
.q h3 { font-size: 17px; margin-bottom: 6px; }
.q p { color: var(--muted); font-size: 14px; margin: 0; }

.works { border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.works-t { text-align: center; font-weight: 800; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
html[lang="bn"] .works-t { letter-spacing: 0; text-transform: none; font-size: 15px; }

.why2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.why2 h2 { font-size: 34px; }
html[lang="bn"] .why2 h2 { font-size: 30px; }
.why2 p { color: var(--text); }
.why-pic { background: var(--cbg); border-radius: 22px; padding: 26px; display: grid; gap: 12px; }
.wp-row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 8px 20px rgba(14, 26, 51, .06); }
.wp-row:nth-child(even) { margin-left: 28px; }
.wp-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--cbg); color: var(--c); flex-shrink: 0; }
.wp-row b { display: block; color: var(--ink); line-height: 1.3; }
.wp-row small { display: block; color: var(--muted); font-size: 13px; }

.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; transition: border-color .15s, transform .15s; }
.fcard:hover { border-color: var(--c); transform: translateY(-2px); }
.fcard .ico { width: 46px; height: 46px; font-size: 19px; margin-bottom: 14px; }
.fcard h3 { font-size: 17px; margin-bottom: 6px; }
.fcard p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 1080px) {
  .qual { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .pd-hero-in, .why2, .pcard { grid-template-columns: 1fr; }
  .pcard:nth-child(even) .pcard-pic { order: 0; }
  .stack { min-height: 0; max-width: 520px; }
  .stack-a { width: 100%; }
  .stack-b { position: static; width: 100%; margin-top: 16px; }
  .pd-shot { max-width: 520px; }
  .feat-grid, .qual { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pd-hero { padding: 36px 0 40px; }
  .pd-hero h1, html[lang="bn"] .pd-hero h1 { font-size: 36px; }
  .pd-hero .lead { font-size: 15px; }
  .stat3 { gap: 8px; }
  .stat3 > div { padding: 10px; }
  .stat3 b { font-size: 18px; }
  .stat3 > div > span { font-size: 12px; }
  .stack-b { display: none; }
  .pcard { padding: 16px; gap: 20px; border-radius: 16px; }
  .pcard-pic { padding: 12px; }
  .pcard-body h3 { font-size: 26px; }
  .why2 { gap: 28px; }
  .why2 h2, html[lang="bn"] .why2 h2 { font-size: 24px; }
  .why-pic { padding: 14px; border-radius: 16px; }
  .wp-row:nth-child(even) { margin-left: 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fcard { padding: 14px; }
  .fcard .ico { width: 40px; height: 40px; font-size: 17px; margin-bottom: 10px; }
  .fcard h3 { font-size: 15px; }
  .fcard p { font-size: 13px; }
  .qual { grid-template-columns: 1fr 1fr; gap: 10px; }
  .q { padding: 14px; }
}
@media (max-width: 380px) {
  .feat-grid, .qual { grid-template-columns: 1fr; }
}

/* sample pictures keep their own dark text even inside the navy hero */
.product-shot { color: var(--text); }
/* grid columns may shrink below the width of the one-line log rows inside the sample pictures */
.pd-hero-in > *, .pcard > *, .why2 > *, .product > *, .two > * { min-width: 0; }

/* ---------- services list + service pages ---------- */
.pd-hero > .wrap > h1 { max-width: 780px; }
.svc-main { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--r); padding: 26px; color: inherit; transition: transform .15s, border-color .15s; }
.svc-main:hover { transform: translateY(-3px); border-color: var(--c); }
.svc-main h3 { font-size: 21px; }
.svc-main p { color: var(--muted); }
.svc-main ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.svc-main li { position: relative; padding: 6px 0 6px 20px; font-size: 15px; border-top: 1px dashed var(--line); }
.svc-main li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; overflow: hidden; }
.offer::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.offer:hover::after { transform: scaleX(1); }
.offer-n { position: absolute; right: 18px; top: 14px; font-size: 30px; font-weight: 800; color: #E7ECF5; }
.offer h3 { font-size: 18px; }
.offer p { color: var(--muted); margin: 0; font-size: 15px; }

.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 960px; margin: 0 auto; }
.tech-i { display: inline-flex; align-items: center; gap: 10px; background: var(--navy2); border: 1px solid #1F3767; color: #fff; border-radius: 12px; padding: 12px 18px; font-weight: 700; }
.tech-i i { color: var(--mint); font-size: 20px; }

.why-big { text-align: center; padding: 40px 28px; }
.why-big .ico { margin: 0 auto 10px; width: 64px; height: 64px; font-size: 28px; background: #fff; }
.why-big b { display: block; font-size: 64px; line-height: 1; color: var(--c); font-weight: 800; }
.why-big > span:last-child { display: block; color: var(--ink); font-weight: 700; max-width: 300px; margin: 10px auto 0; }
.work .ico { margin-bottom: 14px; }

/* service pictures */
.sa { position: relative; max-width: 470px; margin-left: auto; }
.sa-badge { position: absolute; left: -16px; bottom: -18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 12px; padding: 10px 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.sa-badge i { color: var(--mint-d); }
.sa-code { background: #0F1F3F; border: 1px solid #22396A; border-radius: 16px; overflow: hidden; }
.sa-code .shot-bar { background: #0B1834; }
.sa-lines { padding: 18px 20px 30px; font-family: Consolas, 'Courier New', monospace; font-size: 14px; color: #C9D4EA; }
.sa-lines p { margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-lines .in { padding-left: 22px; }
.sa-lines .in2 { padding-left: 44px; }
.sa-lines .k { color: #7FB0FF; font-style: normal; }
.sa-lines .f { color: var(--mint); font-style: normal; }
.sa-lines .v { color: #F5C26B; font-style: normal; }
.sa-lines .s { color: #9BE3C9; font-style: normal; }
.sa-phone { display: flex; justify-content: center; }
.ph { width: 250px; background: #fff; border: 8px solid #13264C; border-radius: 32px; padding: 16px 14px 22px; color: var(--text); }
.ph-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--ink); }
.ph-bill { background: var(--blue); color: #E3EDFF; border-radius: 16px; padding: 14px; }
.ph-bill small, .ph-bill span { display: block; font-size: 12px; }
.ph-bill b { display: block; color: #fff; font-size: 28px; line-height: 1.2; }
.ph-pay { margin: 12px 0; background: #E2136E; color: #fff; text-align: center; font-weight: 700; border-radius: 12px; padding: 10px; font-size: 14px; }
.ph-row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 10px 2px; font-size: 14px; color: var(--ink); }
.ph-row i { color: var(--blue); width: 18px; }
.ph-row span { flex: 1; }
.ph-row em { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.sa-phone .sa-badge { left: 0; }
.sa-design { background: #fff; border-radius: 18px; padding: 20px; }
.dz-board { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.dz-wire, .dz-final { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.dz-wire i, .dz-final i { display: block; height: 26px; border-radius: 6px; }
.dz-wire i { background: transparent; border: 2px dashed #C3CDDF; }
.dz-wire .w1, .dz-final .f1 { grid-column: 1 / -1; height: 18px; }
.dz-wire .w5, .dz-final .f5 { grid-column: 1 / -1; height: 40px; }
.dz-final .f1 { background: var(--navy); }
.dz-final .f2 { background: #E6EFFE; border-top: 4px solid var(--blue); }
.dz-final .f3 { background: #DDF8EF; border-top: 4px solid var(--mint-d); }
.dz-final .f4 { background: #FFF1D6; border-top: 4px solid #C77C00; }
.dz-final .f5 { background: #CFE0FD; }
.dz-arrow { color: var(--blue); }
.dz-sw { display: flex; gap: 8px; margin-top: 16px; padding-bottom: 14px; }
.dz-sw i { flex: 1; height: 26px; border-radius: 8px; }

@media (max-width: 960px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .sa { margin: 10px auto 0; }
}
@media (max-width: 640px) {
  .offer-grid { grid-template-columns: 1fr; gap: 12px; }
  .offer { padding: 18px; }
  .tech { gap: 8px; }
  .tech-i { padding: 9px 12px; font-size: 14px; }
  .tech-i i { font-size: 17px; }
  .why-big { padding: 28px 18px; }
  .why-big b { font-size: 48px; }
  .sa-badge { left: 8px; bottom: -14px; font-size: 13px; }
  .sa-lines { font-size: 12px; padding: 14px 14px 30px; }
  .sa-lines .in { padding-left: 14px; }
  .sa-lines .in2 { padding-left: 28px; }
  .ph { width: 230px; }
  .sa-design { padding: 14px; }
}
/* room for the badge under the service picture, so the hero does not cut it */
.pd-shot .sa { margin-bottom: 26px; }
.sa-code { overflow: visible; }
.sa-code .shot-bar { border-radius: 15px 15px 0 0; }

/* ---------- NexLogs packages + hardware ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pkg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid #6A48F0; border-radius: var(--r); padding: 20px; transition: transform .15s, border-color .15s; }
.pkg:hover { transform: translateY(-2px); border-color: #6A48F0; }
.pkg-n { font-weight: 800; color: #6A48F0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
html[lang="bn"] .pkg-n { text-transform: none; letter-spacing: 0; font-size: 15px; }
.pkg-u { color: var(--ink); font-weight: 700; margin: 6px 0 10px; }
.pkg-u i { color: var(--muted); margin-right: 4px; }
.pkg-p { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.pkg-p small { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.pkg-i { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 10px 0 12px; background: #DDF8EF; color: var(--mint-d); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 4px 10px; }
.pkg-hw { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.pkg-hw li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.pkg-hw li > span { color: var(--muted); }
.pkg-hw b { color: var(--ink); text-align: right; }
.pkg .btn { width: 100%; }
.pkg-note { display: flex; gap: 10px; align-items: flex-start; max-width: 920px; margin: 22px auto 0; color: var(--muted); font-size: 14px; }
.pkg-note i { color: var(--blue); margin-top: 4px; }

.hw-common { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.hw-common > span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 14px; color: var(--text); }
.hw-common i { display: block; color: var(--blue); font-size: 20px; margin-bottom: 8px; }
.hw-common b { display: block; color: var(--ink); margin-bottom: 2px; }
.hw-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.hw { width: 100%; border-collapse: collapse; }
.hw th, .hw td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.hw thead th { border-top: 0; background: var(--navy); color: #fff; font-size: 13px; }
.hw tbody tr:nth-child(even) { background: var(--alt); }
.hw td { color: var(--text); }
.hw td b { color: var(--ink); }

@media (max-width: 1080px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-common { grid-template-columns: repeat(2, 1fr); }
  .hw th, .hw td { white-space: normal; }
}
@media (max-width: 760px) {
  /* the table becomes one card per package */
  .hw-wrap { background: transparent; border: 0; border-radius: 0; }
  .hw thead { display: none; }
  .hw, .hw tbody, .hw tr, .hw td { display: block; width: 100%; }
  .hw tr { background: #fff !important; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
  .hw td { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding: 9px 14px; }
  .hw td.hw-pk { background: var(--navy); color: #fff; border-top: 0; }
  .hw td.hw-pk b { color: #fff; }
  .hw td[data-en]::before { color: var(--muted); font-weight: 600; }
  html[lang="en"] .hw td[data-en]::before { content: attr(data-en); }
  html[lang="bn"] .hw td[data-bn]::before { content: attr(data-bn); }
  .hw td > :last-child, .hw td { text-align: right; }
}
@media (max-width: 640px) {
  .pkg-grid { grid-template-columns: 1fr; gap: 12px; }
  .pkg-p { font-size: 26px; }
  .hw-common { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- NexLogs page: live stream, screens, pipeline, measured, usual vs NexLogs, record ---------- */
.pd-hero h1 .hl { color: var(--mint); }
.nl-live { background: #0F1F3F; border: 1px solid #22396A; border-radius: 16px; overflow: hidden; box-shadow: 0 22px 50px rgba(0, 0, 0, .35); }
.nl-live-top, .nl-live-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: #0B1834; font-size: 13px; color: #C9D4EA; font-weight: 700; }
.nl-live-foot { font-weight: 600; flex-wrap: wrap; }
.nl-live-foot i { color: var(--mint); margin-right: 4px; }
.dot-live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); margin-right: 6px; animation: nlpulse 1.6s infinite; }
@keyframes nlpulse { 50% { opacity: .3; } }
.nl-rate { color: var(--mint); }
.nl-rows { padding: 8px 0; font-family: Consolas, 'Courier New', monospace; font-size: 12.5px; }
.nl-row { display: grid; grid-template-columns: 64px 96px 1fr 36px; gap: 8px; padding: 6px 16px; color: #C9D4EA; border-top: 1px solid #16294F; }
.nl-row:first-child { border-top: 0; }
.nl-row em { color: #7FB0FF; font-style: normal; }
.nl-row b { color: var(--mint); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-row i { color: #F5C26B; font-style: normal; text-align: right; }
.sample-d { color: #6F80A6; font-size: 12px; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scr { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); }
.scr > h3 { font-size: 18px; margin: 16px 18px 4px; }
.scr > p { color: var(--muted); font-size: 14px; margin: 0 18px 18px; }
.scr-body { background: var(--alt); margin: 0; padding: 16px; min-height: 150px; border-bottom: 1px solid var(--line); }
.scr-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scr-tiles > div { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 8px; padding: 8px; }
.scr-tiles b { display: block; color: var(--ink); font-size: 18px; }
.scr-tiles span { font-size: 11px; color: var(--muted); }
.scr-svc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.scr-svc span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--ink); }
.scr-svc i.ok { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.scr-mono { font-family: Consolas, 'Courier New', monospace; font-size: 12.5px; }
.scr-mono div { padding: 5px 0; border-top: 1px dashed var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-mono div:first-child { border-top: 0; }
.scr-mono em { color: var(--blue); font-style: normal; margin-right: 6px; }
.scr .log-hit { margin-top: 4px; }
.sample.center { text-align: center; margin-top: 14px; }

.pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pipe li { position: relative; display: flex; flex-direction: column; background: var(--navy2); border: 1px solid #1F3767; border-radius: var(--r); padding: 22px 18px; }
.pipe-n { font-size: 30px; font-weight: 800; color: var(--mint); line-height: 1; margin-bottom: 12px; }
.pipe h3 { font-size: 18px; }
.pipe p { color: #AEBBD6; font-size: 14px; flex: 1; }
.pipe code { display: block; background: #0B1834; color: #9BE3C9; border-radius: 8px; padding: 8px 10px; font-size: 12px; overflow-wrap: anywhere; }

.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scale > div { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--r); padding: 22px 20px; }
.scale > div:nth-child(2) { border-left-color: var(--mint-d); }
.scale > div:nth-child(3) { border-left-color: #6A48F0; }
.scale > div:nth-child(4) { border-left-color: #C77C00; }
.scale b { display: block; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.scale b small { font-size: 16px; color: var(--muted); margin-left: 3px; }
.scale > div > span { color: var(--muted); font-size: 14px; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.vs-col { border-radius: 18px; padding: 26px; }
.vs-col h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; }
.vs-col li { position: relative; padding: 9px 0 9px 30px; border-top: 1px dashed var(--line); font-size: 15px; }
.vs-col li:first-child { border-top: 0; }
.vs-col li::before { font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; }
.vs-old { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.vs-old h3 { color: var(--muted); }
.vs-old li::before { content: "\f00d"; background: #FDE6E7; color: #E0434B; }
.vs-new { background: var(--navy); border: 1px solid var(--navy); color: #C9D4EA; }
.vs-new h3 { color: #fff; }
.vs-new h3 i { color: var(--mint); }
.vs-new li { border-top-color: #1F3767; }
.vs-new li::before { content: "\f00c"; background: var(--mint); color: var(--navy); }

.rec { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.rec > * { min-width: 0; }
.rec h2 { font-size: 32px; }
.rec p { color: #C9D4EA; }
.rec .checks li { color: #fff; }
.rec-box { background: #0F1F3F; border: 1px solid #22396A; border-radius: 16px; overflow: hidden; }
.rec-box .shot-bar { background: #0B1834; }
.rec-box pre { margin: 0; padding: 18px 20px; font-family: Consolas, 'Courier New', monospace; font-size: 13px; line-height: 1.7; color: #C9D4EA; white-space: pre-wrap; overflow-wrap: anywhere; }
.rec-box pre .c { color: #6F80A6; }
.rec-box pre .s { color: #F5C26B; }
.rec-box pre .ok { color: var(--mint); }
.rec-box .sample { color: #6F80A6; padding-bottom: 12px; }

@media (max-width: 1080px) {
  .pipe, .scale { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .vs, .rec { grid-template-columns: 1fr; }
  .nl-live { max-width: 560px; }
}
@media (max-width: 640px) {
  .screens, .pipe { grid-template-columns: 1fr; }
  .scale { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scale > div { padding: 14px; }
  .scale b { font-size: 20px; }
  .scale b small { font-size: 13px; }
  .scale > div > span { font-size: 12px; }
  .nl-row { grid-template-columns: 58px 1fr 30px; font-size: 11.5px; padding: 6px 12px; }
  .nl-row span { display: none; }
  .vs-col { padding: 18px; }
  .rec h2 { font-size: 24px; }
  .rec-box pre { font-size: 12px; padding: 14px; }
}
.mail-for { color: var(--muted); font-size: 13px; }
