@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("assets/NotoSansBengali.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1c2c;
  --ink-soft: #163049;
  --muted: #5a6b7c;
  --soft: #8a9aab;
  --line: rgba(15, 40, 62, 0.12);
  --signal: #0c6e6b;
  --signal-deep: #095754;
  --paper: #e7eef3;
  --paper-deep: #d5e0e9;
  --surface: #f4f7fa;
  --night: #0b1c2c;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Bricolage Grotesque", "Noto Sans Bengali", sans-serif;
  --body: "Noto Sans Bengali", "Bricolage Grotesque", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 12% -4%, rgba(12, 110, 107, 0.1), transparent 55%),
    radial-gradient(1100px 620px at 88% 8%, rgba(22, 48, 73, 0.08), transparent 58%),
    linear-gradient(180deg, #dfe8ef 0%, var(--paper) 32%, var(--surface) 72%, #fbfcfd 100%);
  font-family: var(--body);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px clamp(20px, 4vw, 40px);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 220ms var(--ease),
    border-color 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(244, 247, 250, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  margin-left: 6px;
  color: #fff !important;
  background: var(--ink) !important;
  border-radius: 10px;
}

.nav-cta:hover {
  background: var(--ink-soft) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 200ms var(--ease), opacity 200ms ease;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 96px 0 0;
  overflow: clip;
}

.hero-copy {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 28px 0 36px;
  text-align: center;
  animation: rise-in 900ms var(--ease) both;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 9vw, 7.2rem);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.55;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  animation: rise-in 900ms var(--ease) 140ms both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--signal);
}

.button-primary:hover {
  background: var(--signal-deep);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-plane {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: min(62dvh, 720px);
  margin-top: 8px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(11, 28, 44, 0.04) 38%, rgba(11, 28, 44, 0.55) 100%);
  animation: plane-in 1200ms var(--ease) 80ms both;
}

.hero-plane-image {
  width: min(100%, 420px);
  height: auto;
  max-height: min(68dvh, 760px);
  object-fit: cover;
  object-position: center top;
  border-radius: 28px 28px 0 0;
  transform-origin: center bottom;
  will-change: transform;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--signal);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product {
  padding: 112px 0 40px;
}

.product-intro,
.download-inner,
.contact-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.product-intro {
  margin-bottom: 72px;
}

.product h2,
.download h2,
.contact h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.product-lead,
.download-lead,
.contact-lead {
  margin: 18px 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 56px 0;
}

.chapter-flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.chapter-flip .chapter-copy {
  order: 2;
}

.chapter-flip .chapter-visual {
  order: 1;
}

.chapter-index {
  margin: 0 0 16px;
  color: var(--signal);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chapter h3 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.chapter-copy > p:not(.chapter-index) {
  margin: 16px 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.role-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.role-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.chapter-visual {
  margin: 0;
  justify-self: center;
  width: min(100%, 340px);
}

.chapter-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.2;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--ink);
}

.trust {
  padding: 88px 24px 40px;
}

.trust-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 40px 0 8px;
  border-top: 1px solid var(--line);
}

.trust h2 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.trust-lead {
  margin: 18px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.trust-points li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.trust-points strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.trust-points span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.download {
  padding: 104px 24px;
  background:
    linear-gradient(180deg, rgba(213, 224, 233, 0.35), rgba(213, 224, 233, 0.7));
  border-block: 1px solid rgba(15, 40, 62, 0.08);
}

.desktop-stage {
  width: min(100%, 760px);
  margin: 44px auto 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.desktop-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 250, 0.95);
}

.desktop-dots {
  display: inline-flex;
  gap: 6px;
}

.desktop-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(15, 40, 62, 0.18);
}

.desktop-title {
  color: var(--soft);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.desktop-screen {
  display: grid;
  place-items: start center;
  min-height: 320px;
  max-height: 440px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(12, 110, 107, 0.1), transparent 60%),
    linear-gradient(180deg, #d7e2ea 0%, #c5d3df 100%);
}

.desktop-screen img {
  width: min(42%, 280px);
  margin-top: 28px;
  border-radius: 22px 22px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.platform-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.platform {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 200ms var(--ease), border-color 200ms ease, background 200ms ease;
}

.platform:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 110, 107, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

.platform-mark {
  display: inline-flex;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.platform-name {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.platform-meta {
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 550;
}

.platform.is-ready .platform-meta {
  color: var(--signal);
}

.contact {
  padding: 104px 24px;
  text-align: center;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
}

.contact h2 {
  max-width: 14ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  transform: translate(-50%, 16px);
  max-width: min(92vw, 420px);
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--night);
  color: #fff;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.chapter.reveal.is-visible .chapter-visual {
  animation: visual-settle 900ms var(--ease) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes plane-in {
  from {
    opacity: 0;
    transform: translateY(56px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes visual-settle {
  from {
    opacity: 0.4;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-actions,
  .hero-plane,
  .reveal,
  .chapter.reveal.is-visible .chapter-visual,
  .button,
  .platform,
  .toast {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-plane-image {
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .chapter,
  .chapter-flip {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }

  .chapter-flip .chapter-copy,
  .chapter-flip .chapter-visual {
    order: initial;
  }

  .chapter-visual {
    width: min(100%, 300px);
  }

  .platform-row {
    grid-template-columns: 1fr 1fr;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(244, 247, 250, 0.98);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding-top: 84px;
  }

  .hero-copy {
    width: min(100% - 40px, var(--max));
    padding-top: 12px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4rem);
  }

  .hero-plane {
    min-height: min(54dvh, 520px);
  }

  .hero-plane-image {
    width: min(100%, 300px);
    border-radius: 22px 22px 0 0;
  }

  .product {
    padding-top: 80px;
  }

  .product-intro {
    margin-bottom: 40px;
  }

  .download,
  .contact {
    padding: 72px 20px;
  }

  .trust {
    padding: 56px 20px 24px;
  }

  .trust-points {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .desktop-screen {
    min-height: 260px;
    max-height: 340px;
  }

  .desktop-screen img {
    width: min(58%, 220px);
  }

  .platform-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    width: min(100% - 40px, var(--max));
  }
}
