/* Easy EMI Locker — v2 */

:root {
  --ink: #0b1c33;
  --ink-soft: #243447;
  --ink-muted: #5a6b82;
  --paper: #f4f7fb;
  --paper-2: #e8eef6;
  --white: #ffffff;
  --brand: #1a4fb8;
  --brand-deep: #123a8a;
  --brand-soft: #dce8ff;
  --signal: #f58220;
  --alert: #e86a17;
  --line: rgba(11, 28, 51, 0.1);
  --shadow-soft: 0 24px 60px rgba(11, 28, 51, 0.12);
  --radius: 4px;
  --nav-h: 72px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-bangla-display: "IBM Plex Sans Bengali", "Noto Sans Bengali", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 1.5rem));
  margin-inline: auto;
}

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hero {
  color: var(--white);
}

.site-header.is-hero.is-scrolled {
  color: var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  min-height: var(--nav-h);
}

/* Lets the centre nav shrink instead of forcing the row to overflow. */
.nav-inner > nav {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.82rem, 3.6vw, 1.05rem);
  letter-spacing: -0.03em;
  min-width: 0;
  max-width: min(58vw, 220px);
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
}

.brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { flex: 0 0 auto; }

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

/* Shown only once the desktop nav appears; on smaller screens the same link
   lives in the mobile drawer, so it must not crowd the hamburger. */
.btn.nav-retailer-login {
  display: none;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.7rem;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-header.is-scrolled .lang-toggle,
.site-header:not(.is-hero) .lang-toggle {
  color: var(--ink);
  border-color: rgba(11, 28, 51, 0.28);
  background: rgba(255, 255, 255, 0.75);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled .nav-toggle,
.site-header:not(.is-hero) .nav-toggle,
.site-header.is-menu-open .nav-toggle {
  color: var(--ink);
  border-color: rgba(11, 28, 51, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.nav-toggle-bars i {
  position: absolute;
  left: 0;
  display: block;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s ease, top 0.28s var(--ease);
}

.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 5.5px; }
.nav-toggle-bars i:nth-child(3) { top: 11px; width: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  top: 5.5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
  top: 5.5px;
  width: 18px;
  transform: rotate(-45deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 148px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  z-index: 60;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.88rem;
}

.lang-menu button:hover,
.lang-menu button[aria-selected="true"] {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

html[data-lang="bn"] body,
html[lang="bn"] body {
  font-family: "Noto Sans Bengali", "DM Sans", system-ui, sans-serif;
}

html[data-lang="bn"] .brand-name,
html[lang="bn"] .brand-name,
html[data-lang="bn"] .footer-brand .brand-name,
html[lang="bn"] .footer-brand .brand-name {
  font-family: var(--font-display);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer.open {
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(11, 28, 51, 0.42);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}

.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100svh - var(--nav-h));
  padding: 0.5rem 1rem 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(11, 28, 51, 0.18);
  transform: translateY(-12px);
  opacity: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.32s var(--ease), opacity 0.28s var(--ease);
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateY(0);
  opacity: 1;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
}

.mobile-drawer-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.85rem 0.85rem 0.85rem 1rem;
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.mobile-drawer-links a:last-child {
  border-bottom: 0;
}

.mobile-drawer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: background 0.2s ease;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a:focus-visible {
  color: var(--brand);
  background: rgba(26, 79, 184, 0.05);
  padding-left: 1.15rem;
  outline: none;
}

.mobile-drawer-links a:hover::before,
.mobile-drawer-links a:focus-visible::before {
  background: var(--brand);
}

.mobile-drawer-cta {
  padding-top: 0.25rem;
}

.mobile-drawer-cta .btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

body.nav-open {
  overflow: hidden;
}

.site-header.is-menu-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-menu-open .lang-toggle {
  color: var(--ink);
  border-color: rgba(11, 28, 51, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: var(--ink);
}

.btn-primary:hover {
  background: #ffc93d;
}

.btn-ghost {
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.btn-brand {
  background: var(--brand);
  color: var(--white);
}

.btn-brand:hover {
  background: var(--brand-deep);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  perspective: 1200px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 36, 0.5) 0%, rgba(8, 18, 36, 0.35) 42%, rgba(8, 18, 36, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 18, 36, 0.72) 0%, rgba(8, 18, 36, 0.35) 48%, rgba(8, 18, 36, 0.45) 100%);
}

.hero-glow {
  position: absolute;
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  right: -4%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.22) 0%, rgba(26, 79, 184, 0.12) 42%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 6.2vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0 0 0.85rem;
  max-width: 14ch;
  color: #fff;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.9s var(--ease) 0.15s forwards;
}

html[data-lang="bn"] .hero-brand,
html[lang="bn"] .hero-brand {
  font-family: var(--font-bangla-display);
  max-width: 11ch;
  font-size: clamp(2.15rem, 6.4vw, 4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 700;
  color: var(--signal);
  margin: 0 0 1.75rem;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 0.9s var(--ease) 0.35s forwards;
}

.hero-lead .brand-name {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.hero .btn-group {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.9s var(--ease) 0.5s forwards;
}

.hero-scroll {
  position: absolute;
  right: max(1.25rem, calc((100% - 1120px) / 2));
  bottom: 1.75rem;
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  writing-mode: vertical-rl;
  animation: scrollNudge 2.4s ease-in-out infinite;
}

/* ---------- Hero 3D stage ---------- */
.hero-stage {
  position: relative;
  height: min(58vh, 420px);
  min-height: 300px;
  display: grid;
  place-items: center;
  perspective: 1100px;
  transform-style: preserve-3d;
  opacity: 0;
  animation: riseIn 1s var(--ease) 0.45s forwards;
}

.hero-stage-inner {
  position: relative;
  width: min(100%, 320px);
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.phone-3d {
  position: absolute;
  inset: 8% auto auto 50%;
  width: 190px;
  height: 380px;
  margin-left: -95px;
  transform-style: preserve-3d;
  transform: rotateX(8deg);
  animation: phoneFloat 5.5s ease-in-out infinite;
  z-index: 2;
}

.phone-spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: phoneFlip360 14s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
  will-change: transform;
}

.phone-face {
  --face: 0;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--face) * 120deg)) translateZ(112px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.phone-shell {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(160deg, #243552 0%, #0b1c33 55%, #071422 100%);
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 72px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050b14;
  z-index: 3;
}

.phone-screen {
  position: absolute;
  inset: 14px 10px 12px;
  border-radius: 20px;
  overflow: hidden;
}

.screen-retailer {
  background: #f2efe8;
  color: #8a4f12;
  padding: 0;
}

.screen-lock {
  background:
    radial-gradient(circle at 50% 28%, rgba(245, 130, 32, 0.28), transparent 55%),
    linear-gradient(180deg, #12233d 0%, #0a1526 100%);
  display: grid;
  place-items: center;
}

.screen-logo {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(165deg, #16315f 0%, #0b1c33 55%, #071322 100%);
  display: grid;
  place-items: center;
  padding: 1.1rem;
}

.phone-logo {
  width: 82%;
  max-width: 148px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.35));
  animation: logoPulse 3.6s ease-in-out infinite;
}

.retailer-ui {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.retailer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  min-height: 34px;
  padding: 0.55rem 0.45rem 0.3rem;
  background: #e8891a;
  color: #fff;
}

.retailer-bar-title {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.retailer-bar-title svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}

.retailer-bar-btn {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  opacity: 0.95;
}

.retailer-bar-btn svg {
  width: 14px;
  height: 14px;
}

.retailer-hero-panel {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 0.85rem 0.75rem 1rem;
  background: #e8891a;
  border-radius: 0 0 14px 14px;
}

.retailer-hero-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.retailer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem 0.55rem 0.65rem;
  flex: 1;
  min-height: 0;
}

.retailer-qr,
.retailer-grid button {
  border: 0;
  margin: 0;
  cursor: default;
  color: #9a5a16;
  background: #efe6d8;
  box-shadow: 0 1px 0 rgba(154, 90, 22, 0.08);
  font-family: inherit;
}

.retailer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-height: 58px;
  padding: 0.55rem 0.4rem;
  border-radius: 8px;
}

.retailer-qr svg {
  width: 28px;
  height: 28px;
}

.retailer-qr span,
.retailer-grid button span {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
}

.retailer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  flex: 1;
}

.retailer-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 0;
  padding: 0.4rem 0.25rem;
  border-radius: 8px;
}

.retailer-grid button svg {
  width: 18px;
  height: 18px;
}

.phone-3d-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -28px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(14px);
  transform: translateZ(-40px) rotateX(80deg);
  animation: shadowPulse 5.5s ease-in-out infinite;
}

.lock-ui {
  text-align: center;
  padding: 1rem;
  color: #fff;
}

.lock-ui-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  animation: lockPop 3.8s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(245, 130, 32, 0.4));
}

.lock-ui-icon svg {
  width: 100%;
  height: 100%;
}

.lock-ui-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.lock-ui-sub {
  margin: 0.35rem 0 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.lock-ui-bar {
  width: 120px;
  height: 6px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.lock-ui-bar span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--alert), var(--signal));
  animation: barPulse 2.4s ease-in-out infinite;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 4px;
  background: rgba(11, 28, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55);
  animation: dotPing 2s ease-out infinite;
}

.chip-dot-alert {
  background: var(--alert);
  box-shadow: 0 0 0 0 rgba(232, 106, 23, 0.5);
}

.float-chip-a {
  top: 18%;
  left: -8%;
  animation: chipFloatA 4.8s ease-in-out infinite;
}

.float-chip-b {
  bottom: 22%;
  right: -10%;
  animation: chipFloatB 5.2s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  inset: 8% -6%;
  border: 1px solid rgba(245, 130, 32, 0.32);
  border-radius: 50%;
  transform: rotateX(68deg) translateZ(-20px);
  animation: ringSpin 12s linear infinite;
  pointer-events: none;
}

.orbit-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  top: 50%;
  left: -5px;
  box-shadow: 0 0 16px rgba(245, 130, 32, 0.7);
}

@keyframes phoneFloat {
  0%, 100% { transform: rotateX(8deg) translateY(0); }
  50% { transform: rotateX(8deg) translateY(-14px); }
}

@keyframes phoneFlip360 {
  0%, 22% { transform: rotateY(0deg); }
  33%, 55% { transform: rotateY(-120deg); }
  66%, 88% { transform: rotateY(-240deg); }
  100% { transform: rotateY(-360deg); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes shadowPulse {
  0%, 100% { transform: translateZ(-40px) rotateX(80deg) scale(1); opacity: 0.55; }
  50% { transform: translateZ(-40px) rotateX(80deg) scale(0.86); opacity: 0.35; }
}

@keyframes lockPop {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.06); }
}

@keyframes chipFloatA {
  0%, 100% { transform: translate3d(0, 0, 60px); }
  50% { transform: translate3d(8px, -12px, 80px); }
}

@keyframes chipFloatB {
  0%, 100% { transform: translate3d(0, 0, 50px); }
  50% { transform: translate3d(-10px, 10px, 70px); }
}

@keyframes ringSpin {
  to { transform: rotateX(68deg) translateZ(-20px) rotate(360deg); }
}

@keyframes glowPulse {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 0.95; transform: scale(1.08); }
}

@keyframes signalShine {
  to { background-position: 220% center; }
}

@keyframes barPulse {
  0%, 100% { width: 42%; }
  50% { width: 78%; }
}

@keyframes dotPing {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 0.9; }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
}

.section-copy {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ---------- How it works ---------- */
.how {
  background: var(--white);
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.step.in-view {
  opacity: 1;
  transform: none;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--alert);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  margin: 0 0 0.4rem;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 36rem;
}

/* ---------- Two apps ---------- */
.apps {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(26, 79, 184, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(240, 180, 41, 0.12), transparent 50%),
    var(--paper);
}

.app-grid {
  display: grid;
  gap: 1.5rem;
}

.app-panel {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.app-visual {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}

.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.app-panel:hover .app-visual img {
  transform: scale(1.04);
}

.app-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.app-copy p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.app-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.app-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 600;
  font-size: 0.95rem;
}

.app-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  background: var(--signal);
  border-radius: 1px;
}

/* ---------- Capabilities ---------- */
.capabilities {
  background: var(--ink);
  color: var(--white);
}

.capabilities .eyebrow {
  color: var(--signal);
}

.capabilities .section-copy {
  color: rgba(255, 255, 255, 0.7);
}

.cap-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cap-item {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.cap-item.in-view {
  opacity: 1;
  transform: none;
}

.cap-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cap-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.cap-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 38rem;
}

.cap-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alert);
  font-weight: 700;
}

/* ---------- Why ---------- */
.why {
  background: var(--white);
}

.why-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.why-visual {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.why-points {
  display: grid;
  gap: 1.5rem;
}

.why-point h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.why-point p {
  margin: 0;
  color: var(--ink-muted);
}

/* ---------- Download ---------- */
.download {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #123a8a 0%, #1a4fb8 48%, #0b1c33 100%);
  color: var(--white);
}

.download::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.35), transparent 60%);
  pointer-events: none;
}

.download .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.faq-q svg {
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p,
.faq-a ul {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
}

.faq-a ul {
  padding-left: 1.15rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.contact-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.contact-block:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-block h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.contact-block a {
  color: var(--brand);
  font-weight: 700;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-wa {
  margin-top: 1.75rem;
}

.whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-pill:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.34);
  text-decoration: none;
}

.whatsapp-pill svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0d2240 0%, #081526 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 0;
}

.footer-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% -10%, rgba(26, 79, 184, 0.45), transparent 60%),
    radial-gradient(ellipse 45% 40% at 92% 18%, rgba(240, 180, 41, 0.12), transparent 55%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04) 50%, transparent);
}

.footer-atmosphere::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--signal) 55%, var(--alert) 100%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 3.75rem 0 2rem;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-block {
  max-width: 26rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  text-decoration: none;
}

.footer-brand:hover {
  color: var(--white);
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 6px 14px rgba(26, 79, 184, 0.35));
}

.footer-desc {
  max-width: 26rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.footer-follow {
  margin: 1.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), color 0.25s ease;
}

.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 0.7rem;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:last-child {
  margin-bottom: 0;
}

.footer-col a:hover {
  color: var(--signal);
}

.footer-col-contact a {
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom p {
  margin: 0;
}

.footer-tag {
  color: rgba(245, 130, 32, 0.82);
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0 1rem 0 0.85rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
}

.whatsapp-fab-label {
  display: none;
}

/* ---------- Bottom nav tabs (mobile) ---------- */
.bottom-nav {
  display: none;
}

@media (min-width: 960px) {
  .whatsapp-fab {
    bottom: 1.5rem;
    right: 1.5rem;
    padding-right: 1.1rem;
  }

  .whatsapp-fab-label {
    display: inline;
  }
}

@media (max-width: 959px) {
  .bottom-nav {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    margin: 0;
    background: #ffffff;
    border-top: 1px solid rgba(11, 28, 51, 0.12);
    box-shadow: 0 -10px 30px rgba(11, 28, 51, 0.12);
  }

  .bottom-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    height: 64px;
    padding: 0.35rem 0.2rem;
    color: #5a6b82;
    font-size: 0.66rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: transparent;
  }

  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  .bottom-nav-item span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom-nav-item.is-active {
    color: var(--brand);
    background: rgba(26, 79, 184, 0.06);
  }

  .bottom-nav-item.is-active::before {
    background: var(--brand);
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .whatsapp-fab {
    display: none;
  }

  .whatsapp-fab-label {
    display: none;
  }

  .whatsapp-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Motion helpers ---------- */
@keyframes riseIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }

  .hero-brand,
  .hero-lead,
  .hero .btn-group,
  .hero-stage {
    opacity: 1;
    transform: none;
  }

  .phone-3d {
    transform: none;
  }

  .phone-spin {
    transform: rotateY(0deg) !important;
    animation: none !important;
  }
}

/* ---------- Mobile-first tweaks ---------- */
@media (max-width: 959px) {
  :root {
    --nav-h: 64px;
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .nav-inner {
    gap: 0.5rem;
  }

  .lang-toggle {
    min-height: 40px;
    padding: 0 0.55rem;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-layout {
    gap: 1.25rem;
    padding: calc(var(--nav-h) + 1.25rem + env(safe-area-inset-top)) 0 2.5rem;
    width: min(1120px, calc(100% - 1.75rem));
  }

  .hero-brand {
    font-size: clamp(1.85rem, 8.5vw, 2.6rem);
    max-width: 12ch;
    margin-bottom: 0.75rem;
  }

  html[data-lang="bn"] .hero-brand,
  html[lang="bn"] .hero-brand {
    max-width: 10ch;
    font-size: clamp(1.9rem, 8.4vw, 2.65rem);
    font-weight: 800;
  }

  .hero-lead {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
  }

  .hero .btn-group {
    display: grid;
    width: 100%;
    gap: 0.65rem;
  }

  .hero .btn {
    width: 100%;
  }

  .hero-stage {
    order: 2;
    height: 300px;
    min-height: 280px;
    margin-top: 0.25rem;
  }

  .hero-stage-inner {
    width: min(100%, 260px);
  }

  .phone-3d {
    width: 150px;
    height: 300px;
    margin-left: -75px;
    inset: 4% auto auto 50%;
  }

  .phone-face {
    transform: rotateY(calc(var(--face) * 120deg)) translateZ(90px);
  }

  .float-chip {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
  }

  .float-chip-a {
    top: 10%;
    left: 0;
  }

  .float-chip-b {
    bottom: 12%;
    right: 0;
  }

  .orbit-ring {
    inset: 12% 2%;
  }

  .hero-scroll {
    display: none;
  }

  .hero-glow {
    width: 70vw;
    height: 70vw;
    top: 8%;
    right: -20%;
    opacity: 0.7;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .section-copy {
    font-size: 0.98rem;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    flex: 1 1 100%;
  }

  .download-inner .btn-group {
    display: grid;
  }

  .faq-q {
    font-size: 0.98rem;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }

  .footer-col-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    padding: 3rem 0 calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  .socials a {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .brand {
    max-width: 46vw;
  }

  .brand-name {
    font-size: 0.78rem;
  }

  .hero-stage {
    height: 260px;
    min-height: 240px;
  }

  .phone-3d {
    width: 132px;
    height: 264px;
    margin-left: -66px;
  }

  .phone-face {
    transform: rotateY(calc(var(--face) * 120deg)) translateZ(80px);
  }

  .float-chip-a,
  .float-chip-b {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }

  .step {
    border: 0;
    padding: 1.5rem 0 2rem;
    border-top: 1px solid var(--line);
  }

  .step:nth-child(1),
  .step:nth-child(2) {
    border-top: 0;
  }

  .app-grid {
    gap: 2.5rem;
  }

  .app-panel {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .app-panel.reverse .app-visual {
    order: 2;
  }

  .cap-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.5rem;
  }

  .why-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

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

  .footer-top {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
    gap: 3rem;
    align-items: start;
  }

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

  .footer-col-contact {
    grid-column: auto;
  }
}

@media (min-width: 960px) {
  .brand {
    max-width: none;
    font-size: 1.05rem;
    gap: 0.7rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .container {
    width: min(1120px, calc(100% - 2.5rem));
  }

  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    min-height: calc(100svh - 2rem);
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero-stage {
    height: min(70vh, 520px);
  }

  .phone-3d {
    width: 210px;
    height: 420px;
    margin-left: -105px;
  }

  .phone-face {
    transform: rotateY(calc(var(--face) * 120deg)) translateZ(124px);
  }

  .nav-links {
    display: flex;
  }

  .btn.nav-retailer-login {
    display: inline-flex;
  }

  /* Room enough for the full brand name once the burger is gone. */
  .brand {
    max-width: none;
  }

  .nav-toggle,
  .mobile-drawer {
    display: none !important;
  }

  .hero .btn-group {
    display: flex;
    width: auto;
  }

  .hero .btn {
    width: auto;
  }

  .btn-group .btn {
    flex: 0 0 auto;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .step,
  .step:nth-child(1),
  .step:nth-child(2) {
    border-top: 0;
    border-bottom: 0;
    padding-top: 0;
  }

  .step + .step {
    border-left: 1px solid var(--line);
    padding-left: 1.5rem;
  }

  .download-inner {
    grid-template-columns: 1.4fr auto;
    align-items: end;
  }
}

/* No-JS fallback for the language switcher. */
.lang-menu-noscript {
  position: static;
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.lang-menu-noscript a {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  text-decoration: none;
}

/* ---------------------------------------------------------------- pricing */

.pricing {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.6rem 1.6rem;
  box-shadow: 0 10px 30px rgba(11, 28, 51, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-soft);
}

.price-card.is-popular {
  border-color: var(--brand);
  box-shadow: 0 18px 46px rgba(26, 79, 184, 0.18);
}

.price-flag {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--signal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(245, 130, 32, 0.35);
}

.price-head h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

[data-lang="bn"] .price-head h3 { font-family: var(--font-bangla-display); }

.price-sub {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.15rem 0 0.15rem;
}

.price-currency {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.price-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.price-rate {
  margin: 0 0 1.15rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.price-facts {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.price-facts li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.price-facts li::before {
  content: "";
  width: 0.72rem;
  height: 0.42rem;
  flex-shrink: 0;
  margin-right: 0.35rem;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg) translateY(-2px);
}

.price-facts strong { font-weight: 700; }

.price-desc {
  margin: 0 0 1.25rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.price-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.price-footnote {
  margin: 2rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.pricing-empty {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
}

.pricing-empty p { margin: 0 0 1.25rem; color: var(--ink-muted); }

@media (max-width: 560px) {
  .price-card { padding: 1.9rem 1.25rem 1.4rem; }
}

/* ------------------------------------------------------------ offer band */

.offer {
  /* Sits tight under the hero rather than reading as a separate screen. */
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--paper);
}

.btn-signal {
  background: var(--signal);
  color: #fff;
  border: 1px solid var(--signal);
}

.btn-signal:hover {
  background: var(--alert);
  border-color: var(--alert);
  color: #fff;
}

.offer-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(115deg, var(--brand-deep) 0%, var(--brand) 55%, #0b1c33 100%);
  box-shadow: 0 22px 55px rgba(11, 28, 51, 0.28);
}

/* Warm wash behind the credit chip, echoing the hero's accent. */
.offer-glow {
  position: absolute;
  inset: -40% auto -40% -10%;
  width: 46%;
  background: radial-gradient(circle at 30% 50%, rgba(245, 130, 32, 0.55), transparent 68%);
  pointer-events: none;
}

.offer-badge-wrap { position: relative; z-index: 1; }

.offer-credit-chip {
  display: grid;
  place-items: center;
  width: clamp(74px, 12vw, 96px);
  height: clamp(74px, 12vw, 96px);
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 12px 30px rgba(245, 130, 32, 0.45);
  line-height: 1;
  text-align: center;
}

.offer-credit-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

[data-lang="bn"] .offer-credit-num { font-family: var(--font-bangla-display); }

.offer-credit-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-top: 0.15rem;
  padding: 0 0.35rem;
}

.offer-body { position: relative; z-index: 1; min-width: 0; }

.offer-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.offer-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.9vw, 2rem);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

[data-lang="bn"] .offer-title { font-family: var(--font-bangla-display); line-height: 1.35; }

.offer-copy {
  margin: 0;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
}

.offer-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.66);
}

.offer-action { position: relative; z-index: 1; }

.offer-cta {
  white-space: nowrap;
  padding-inline: clamp(1.1rem, 2.4vw, 1.8rem);
}

@media (max-width: 860px) {
  .offer-card {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 1.25rem;
  }

  .offer-action { grid-column: 1 / -1; }
  .offer-cta { width: 100%; justify-content: center; }
}

@media (max-width: 520px) {
  .offer-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .offer-glow { inset: -50% -20% auto -20%; width: auto; height: 60%; }
  .offer-copy { margin-inline: auto; }
}
