:root {
  --primary: #204b83;
  --secondary: #4094ff;
  --white: #ffffff;
  --bg: #eef5ff;
  --panel: #ffffff;
  --panel-2: #dbe9ff;
  --text: #204b83;
  --muted: #49688d;
  --line: rgba(32, 75, 131, 0.14);
  --gold: #204b83;
  --gold-2: #4094ff;
  --accent: #4094ff;
  --success: #204b83;
  --shadow: 0 18px 50px rgba(32, 75, 131, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    "Hind Siliguri", "Noto Sans Bengali", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(64, 148, 255, 0.2),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(32, 75, 131, 0.18),
      transparent 25%
    ),
    linear-gradient(180deg, #f7fbff 0%, #e8f2ff 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 18px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 99990;
  isolation: isolate;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
  padding-inline: 16px;
  margin: 10px auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.18)
    ),
    linear-gradient(135deg, rgba(64, 148, 255, 0.16), rgba(32, 75, 131, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    0 18px 40px rgba(32, 75, 131, 0.1);
}

.menu-toggle,
.menu-close,
.menu-overlay {
  display: none;
}

.menu-toggle,
.menu-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.75),
      rgba(255, 255, 255, 0.32)
    ),
    linear-gradient(135deg, rgba(64, 148, 255, 0.18), rgba(255, 255, 255, 0.08));
  color: var(--primary);
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 14px 28px rgba(32, 75, 131, 0.14);
}

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.header-menu {
  display: none;
}

.desktop-nav,
.desktop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img,
.brand-logo {
  width: auto;
  height: 46px;
  max-width: min(220px, 42vw);
  object-fit: contain;
  border-radius: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-badge,
.badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.brand-title {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--gold-2);
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav,
.actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav {
  justify-content: center;
  flex: 1 1 auto;
}

.nav a,
.lang-switch span {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.62),
      rgba(255, 255, 255, 0.2)
    ),
    linear-gradient(135deg, rgba(64, 148, 255, 0.12), rgba(255, 255, 255, 0.06));
  color: rgba(32, 75, 131, 0.86);
  font-size: 0.95rem;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 18px rgba(32, 75, 131, 0.08);
}

.nav a:hover,
.lang-switch span:hover,
.nav a:focus-visible,
.lang-switch span:focus-visible,
.btn:focus-visible,
.page-link:focus-visible,
.menu-toggle:focus-visible,
.menu-close:focus-visible {
  color: var(--primary);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.32)
    ),
    linear-gradient(135deg, rgba(64, 148, 255, 0.22), rgba(255, 255, 255, 0.1));
}

.nav a:focus-visible,
.lang-switch span:focus-visible,
.btn:focus-visible,
.page-link:focus-visible,
.menu-toggle:focus-visible,
.menu-close:focus-visible {
  outline: 2px solid rgba(64, 148, 255, 0.35);
  outline-offset: 2px;
}

.actions {
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 10px 22px rgba(32, 75, 131, 0.1);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 14px 28px rgba(32, 75, 131, 0.13);
}

.btn-primary {
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.04)
    ),
    linear-gradient(135deg, rgba(32, 75, 131, 0.92), rgba(64, 148, 255, 0.84));
}

.btn-secondary {
  color: var(--primary);
  border-color: rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3)),
    linear-gradient(135deg, rgba(64, 148, 255, 0.16), rgba(255, 255, 255, 0.14));
}

.hero {
  padding: 52px 0 28px;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.split,
.feature,
.feature-banner,
.footer-grid {
  display: grid;
  gap: 20px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split,
.feature,
.feature-banner {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.eyebrow,
.tag {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow {
  background: rgba(64, 148, 255, 0.12);
  color: var(--accent);
}

.tag {
  background: rgba(32, 75, 131, 0.1);
  color: var(--success);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.3rem, 2vw, 2.5rem);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-copy p {
  font-size: 1.05rem;
  max-width: 66ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-stats,
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat,
.card,
.toc,
.table-wrap,
.feature-banner {
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(232, 242, 255, 0.96)
  );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat,
.card,
.toc {
  padding: 22px;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-2);
  font-size: 1.35rem;
}

.hero-media,
.hero-visual {
  position: relative;
}

.hero-media img,
.hero-visual img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  border: 1px solid rgba(32, 75, 131, 0.12);
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(280px, calc(100% - 36px));
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(32, 75, 131, 0.12);
}

.section {
  padding: 28px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 20px;
}

.toc ol {
  columns: 2;
  gap: 28px;
  padding-left: 18px;
  margin: 0;
}

.toc a {
  word-break: break-word;
}

.toc li,
.card li {
  margin-bottom: 10px;
  color: var(--muted);
}

.card ul,
.card ol,
ul,
ol {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--gold-2);
  font-weight: 700;
}

.footer {
  padding: 36px 0 60px;
  color: var(--muted);
}

.footer-box {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.page-link {
  display: block;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(232, 242, 255, 0.96)
  );
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.page-link:hover {
  transform: translateY(-2px);
  border-color: rgba(64, 148, 255, 0.45);
}

.spec-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.spec-item {
  display: grid;
  grid-template-columns: minmax(110px, 140px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.spec-list-compare .spec-item {
  grid-template-columns: minmax(88px, 120px) repeat(2, minmax(0, 1fr));
}

.spec-label {
  color: var(--gold-2);
  font-weight: 700;
}

.spec-value {
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.spec-item-head .spec-value {
  color: var(--text);
  font-weight: 700;
}

.page-link strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-size: 1.1rem;
}

.small {
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .feature,
  .feature-banner,
  .footer-grid,
  .link-grid,
  .hero-stats,
  .stats {
    grid-template-columns: 1fr;
  }

  .toc ol {
    columns: 1;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .desktop-actions,
  .desktop-nav {
    flex: 1 1 auto;
  }

  .actions,
  .nav,
  .desktop-actions,
  .desktop-nav {
    justify-content: flex-start;
  }

  .brand {
    justify-content: center;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header {
    position: sticky;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    flex-wrap: nowrap;
  }

  .brand img,
  .brand-logo {
    height: 40px;
    max-width: min(190px, 60vw);
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 10px;
  }

  .brand {
    justify-content: flex-start;
    min-width: 0;
  }

  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .header-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99999;
    width: min(320px, 86vw);
    padding: 22px 18px 20px;
    background: linear-gradient(180deg, #ffffff, #edf5ff);
    border-right: 1px solid var(--line);
    box-shadow: 0 22px 60px rgba(15, 40, 75, 0.22);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .header {
    z-index: 99998;
  }

  body.menu-open .header-menu {
    transform: translateX(0);
  }

  .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    min-width: 42px;
    min-height: 42px;
    border-radius: 12px;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 99997;
    border: 0;
    padding: 0;
    background: rgba(15, 32, 58, 0.42);
    cursor: pointer;
  }

  body.menu-open .menu-overlay {
    display: block;
  }

  .nav,
  .actions {
    overflow: visible;
    padding: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav a,
  .lang-switch span {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    white-space: normal;
    font-size: 0.92rem;
    width: 100%;
    padding-inline: 14px;
  }

  .actions {
    gap: 8px;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 220px;
    min-width: 0;
  }

  .hero {
    padding: 28px 0 18px;
  }

  .section {
    padding: 20px 0;
  }

  h1 {
    font-size: clamp(1.95rem, 8vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.95rem);
  }

  h3 {
    font-size: 1.12rem;
  }

  p,
  li,
  th,
  td {
    font-size: 0.97rem;
  }

  .stat,
  .card,
  .toc,
  .footer-box,
  .page-link {
    padding: 18px;
  }

  .hero-note {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .hero-media img,
  .hero-visual img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 640px;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.55;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand img,
  .brand-logo {
    height: 36px;
    max-width: 168px;
  }

  .nav a,
  .lang-switch span,
  .btn {
    min-height: 44px;
  }

  .header-menu {
    width: min(300px, 90vw);
    padding: 20px 16px 18px;
  }

  .hero-actions,
  .actions {
    gap: 8px;
  }

  .hero-stats,
  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .feature,
  .feature-banner,
  .footer-grid,
  .link-grid {
    gap: 14px;
  }

  .stat strong {
    font-size: 1.2rem;
  }

  .toc ol,
  .card ul,
  .card ol,
  ul,
  ol {
    padding-left: 16px;
  }

  th,
  td {
    padding: 12px;
  }

  .spec-item,
  .spec-list-compare .spec-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .small {
    font-size: 0.88rem;
  }
}
