:root {
  --bg: #080817;
  --surface: #12122a;
  --surface-soft: #18183a;
  --text: #f7f7ff;
  --muted: #b7b8cf;
  --purple: #8b3dff;
  --violet: #c13cff;
  --blue: #2396ff;
  --cyan: #21d8da;
  --green: #3ddb8f;
  --orange: #ff9d32;
  --pink: #ff4fa3;
  --yellow: #ffd84a;
  --line: rgba(255,255,255,.10);
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --radius: 26px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(139,61,255,.18), transparent 28rem),
    radial-gradient(circle at 95% 20%, rgba(35,150,255,.14), transparent 30rem),
    linear-gradient(180deg, #080817 0%, #0c0c22 55%, #090918 100%);
  font-family: Inter, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.lang-bn { font-family: "Noto Sans Bengali", "Segoe UI", Arial, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
  z-index: -1;
}
.glow-one { top: 15%; left: -150px; background: var(--purple); }
.glow-two { right: -150px; bottom: 12%; background: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(8,8,23,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img { width: 185px; max-height: 48px; object-fit: contain; object-position: left center; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: .95rem;
}
.desktop-nav a { transition: .2s ease; }
.desktop-nav a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.language-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 999px;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.language-pill {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1;
}
.language-pill.active {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 7px 20px rgba(96,68,255,.35);
}

.small-download {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(91,65,255,.30);
}

.hero {
  position: relative;
  padding: 92px 0 112px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 68px;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a9b4ff;
  font-size: .84rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 800;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(61,219,143,.12);
}

.hero h1 {
  margin: 20px 0 20px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 770px;
}
.hero h1 span { display: block; }
.gradient-text {
  background: linear-gradient(90deg, #c94dff, #7d68ff 42%, #2fc9ff 82%, #43e9b3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0 0 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.primary-button, .white-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button {
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 18px 40px rgba(84,69,255,.36);
}
.primary-button:hover, .white-button:hover { transform: translateY(-3px); }
.primary-button strong, .white-button strong { display: block; font-size: 1rem; }
.primary-button small, .white-button small { display: block; opacity: .76; font-size: .75rem; margin-top: 1px; }
.download-icon { font-size: 1.65rem; line-height: 1; }

.secondary-button {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  padding: 16px 20px;
  border-radius: 18px;
  color: #e9e9f5;
  font-weight: 700;
}
.secondary-button:hover { background: rgba(255,255,255,.09); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
  color: #a9abc1;
  font-size: .86rem;
}
.trust-row span::before { content: "✓"; color: var(--green); margin-right: 7px; }

.hero-visual { position: relative; }
.screenshot-shell {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  padding: 14px;
  box-shadow: var(--shadow);
  transform: perspective(1300px) rotateY(-7deg) rotateX(3deg);
}
.screenshot-shell::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: linear-gradient(135deg, rgba(143,61,255,.28), rgba(33,216,218,.14));
  filter: blur(48px);
  z-index: -1;
}
.screenshot-topbar { display: flex; gap: 7px; padding: 3px 4px 12px; }
.screenshot-topbar span { width: 9px; height: 9px; border-radius: 50%; background: #ff6285; }
.screenshot-topbar span:nth-child(2) { background: #ffd34d; }
.screenshot-topbar span:nth-child(3) { background: #48dc96; }
.screenshot-shell > img {
  border-radius: 19px;
  width: 100%;
  background: #101026;
  min-height: 330px;
  object-fit: contain;
}

.floating-card {
  position: absolute;
  min-width: 156px;
  padding: 12px 15px;
  border-radius: 15px;
  background: rgba(15,15,40,.91);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  backdrop-filter: blur(16px);
}
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: .87rem; }
.floating-card small { color: var(--muted); font-size: .72rem; }
.card-one { left: -48px; bottom: 18%; border-left: 3px solid var(--pink); }
.card-two { right: -38px; top: 18%; border-left: 3px solid var(--cyan); }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 72px;
  background: linear-gradient(to bottom right, transparent 49%, #101028 50%);
}

.stats-strip { background: #101028; border-bottom: 1px solid var(--line); padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stats-grid div { padding: 12px; border-right: 1px solid var(--line); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-size: 1.9rem; color: #fff; }
.stats-grid span { color: var(--muted); font-size: .85rem; }

.section { padding: 104px 0; }
.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading h2, .workflow-copy h2, .privacy-card h2, .download-card h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.section-heading p, .privacy-card p { color: var(--muted); margin: 0; font-size: 1.02rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -42px;
  top: -42px;
  filter: blur(4px);
  opacity: .18;
}
.feature-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.22); }
.feature-card h3 { margin: 18px 0 9px; font-size: 1.18rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.feature-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 1.25rem;
  font-weight: 900;
}
.feature-card.purple .feature-icon { background: rgba(139,61,255,.20); color: #be8cff; }
.feature-card.purple::after { background: var(--purple); }
.feature-card.blue .feature-icon { background: rgba(35,150,255,.20); color: #74bdff; }
.feature-card.blue::after { background: var(--blue); }
.feature-card.orange .feature-icon { background: rgba(255,157,50,.20); color: #ffc16f; }
.feature-card.orange::after { background: var(--orange); }
.feature-card.pink .feature-icon { background: rgba(255,79,163,.20); color: #ff96c9; }
.feature-card.pink::after { background: var(--pink); }
.feature-card.green .feature-icon { background: rgba(61,219,143,.20); color: #84f0bd; }
.feature-card.green::after { background: var(--green); }
.feature-card.cyan .feature-icon { background: rgba(33,216,218,.20); color: #79f0f2; }
.feature-card.cyan::after { background: var(--cyan); }

.workflow-section { background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.workflow-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.workflow-copy > p { color: var(--muted); }
.steps { margin-top: 34px; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 19px;
}
.step > span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(139,61,255,.28), rgba(35,150,255,.28));
  color: #c9d3ff;
}
.step h3 { margin: 1px 0 5px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

.workflow-panel {
  min-height: 480px;
  border-radius: 34px;
  padding: 38px;
  background:
    radial-gradient(circle at 20% 15%, rgba(139,61,255,.32), transparent 36%),
    radial-gradient(circle at 90% 75%, rgba(33,216,218,.24), transparent 34%),
    #12122e;
  border: 1px solid rgba(255,255,255,.13);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}
.waveform {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.waveform i {
  width: 7px;
  height: var(--h);
  border-radius: 99px;
  background: linear-gradient(to top, var(--purple), var(--blue), var(--cyan));
  animation: pulse 1.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--h) * -0.01s);
}
@keyframes pulse { to { transform: scaleY(.6); opacity: .7; } }

.result-card {
  margin: 34px auto 0;
  width: min(100%, 380px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(7,8,26,.64);
  border: 1px solid rgba(255,255,255,.14);
}
.result-badge {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(61,219,143,.18);
  color: #7df0b7;
  font-weight: 900;
}
.result-card strong, .result-card small { display: block; }
.result-card small { color: var(--muted); }

.privacy-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 45px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(33,216,218,.13), rgba(139,61,255,.13)),
    rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.14);
}
.privacy-icon {
  width: 95px; height: 95px;
  display: grid; place-items: center;
  border-radius: 28px;
  font-size: 2.2rem;
  background: rgba(255,255,255,.08);
}
.privacy-card h2 { font-size: clamp(2rem, 4vw, 3.3rem); }

.format-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.format-cloud span {
  padding: 11px 17px;
  border-radius: 999px;
  color: #dbdcf1;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.format-cloud span:nth-child(5n+1) { border-color: rgba(139,61,255,.45); }
.format-cloud span:nth-child(5n+2) { border-color: rgba(35,150,255,.45); }
.format-cloud span:nth-child(5n+3) { border-color: rgba(33,216,218,.45); }
.format-cloud span:nth-child(5n+4) { border-color: rgba(255,79,163,.45); }
.format-cloud span:nth-child(5n+5) { border-color: rgba(255,157,50,.45); }

.download-section { padding: 20px 0 100px; }
.download-card {
  padding: 48px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(125deg, #7e29ff, #5d4aff 43%, #118fe7 76%, #08bdbd);
  box-shadow: 0 28px 80px rgba(74,66,255,.30);
}
.download-card h2 { max-width: 720px; margin-bottom: 8px; }
.download-card p { margin: 0; color: rgba(255,255,255,.82); }
.section-kicker.light { color: rgba(255,255,255,.75); }
.white-button {
  flex: 0 0 auto;
  background: #fff;
  color: #16162d;
  padding: 16px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.white-button > span:first-child { font-size: 1.55rem; color: var(--purple); }

.site-footer {
  padding: 54px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(3,3,14,.62);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
}
.footer-brand img { width: 170px; max-height: 48px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 520px; color: var(--muted); font-size: .9rem; margin: 16px 0 0; }
.footer-links { display: flex; gap: 10px; color: #d4d5e8; font-size: .9rem; white-space: nowrap; }
.footer-links a:hover { color: #fff; }
.copyright {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
  color: #9294ac;
  font-size: .84rem;
  text-align: center;
}
.copyright p { margin: 0; }
.copyright a { color: #b6a0ff; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-one { transition-delay: .12s; }
.delay-two { transition-delay: .22s; }

.legal-page main { padding: 80px 0 100px; }
.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 28px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
}
.legal-card h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); margin: 0 0 8px; }
.legal-card .effective { color: #9da0bb; margin-bottom: 36px; }
.legal-card h2 { margin-top: 32px; font-size: 1.25rem; }
.legal-card p, .legal-card li { color: var(--muted); }
.back-link { color: #b9a2ff; font-weight: 700; display: inline-block; margin-bottom: 22px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero-grid, .workflow-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { max-width: 700px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .download-card { align-items: flex-start; flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid div:nth-child(2) { border-right: 0; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .site-header .small-download { display: none; }
  .brand img { width: 145px; }
  .nav-wrap { min-height: 66px; }
  .hero { padding: 68px 0 90px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .hero-text { font-size: 1rem; }
  .primary-button, .secondary-button { width: 100%; justify-content: center; }
  .screenshot-shell { transform: none; }
  .floating-card { position: static; margin-top: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .privacy-card { grid-template-columns: 1fr; padding: 30px; text-align: center; }
  .privacy-icon { margin: 0 auto; }
  .download-card { padding: 32px 25px; }
  .white-button { width: 100%; justify-content: center; }
  .footer-grid { align-items: center; flex-direction: column; text-align: center; }
  .footer-brand img { margin: 0 auto; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div { border-right: 0; }
  .legal-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .waveform i { animation: none; }
}
