/* ═══════════════ BanglaKey Landing Page ═══════════════ */
:root {
  --emerald-500: #10B981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --red-500: #DC2626;
}

.landing-page {
  margin: 0;
  padding: 0;
  background: var(--slate-900);
  color: #F8FAFC;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

.bn { font-family: 'Noto Sans Bengali', 'Inter', sans-serif; }

/* ═════════ Nav ═════════ */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
}

.landing-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
}

.brand-text b {
  display: block;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.landing-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 7px;
  transition: all .15s;
}

.landing-nav ul a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .15s;
}

.btn svg {
  width: 14px;
  height: 14px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--emerald-500), var(--emerald-600));
  color: white;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 4px 12px -4px rgba(16, 185, 129, .5);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.btn-outline {
  color: white;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 13px 24px;
  font-size: 14px;
}

/* ═════════ Hero ═════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 60% at 50% 55%, rgba(16, 185, 129, 0.10) 0%, transparent 70%), #050813;
}

#smoke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.7;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 62% at 50% 54%, rgba(5, 8, 19, 0.94) 0%, rgba(5, 8, 19, 0.88) 30%, rgba(5, 8, 19, 0.70) 55%, rgba(5, 8, 19, 0.35) 75%, rgba(5, 8, 19, 0) 92%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6EE7B7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-500);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.slogan {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 10px 0 22px;
  color: #ECFDF5;
  text-shadow: 0 0 80px rgba(16, 185, 129, 0.25);
}

.slogan .bar {
  display: inline-block;
  vertical-align: 0.08em;
  width: 0.08em;
  height: 1em;
  background: var(--emerald-500);
  margin: 0 0.08em 0 0.04em;
  border-radius: 2px;
  animation: blink 1.1s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.subhead {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.subhead em {
  font-style: normal;
  color: white;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Browser extension buttons */
.hero-ext {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 22px 0 6px;
  flex-wrap: wrap;
}

.ext-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.ext-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.ext-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.ext-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.ext-btn-small {
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.ext-btn-large {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
}

.hero-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  width: 13px;
  height: 13px;
  color: var(--emerald-500);
}

.scroll-ind {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.scroll-ind .line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-8px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ═════════ Demo Section ═════════ */
.section {
  padding: 100px 40px;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--emerald-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.1;
}

.section-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

.demo-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg, #131B2D 0%, #0C1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5), 0 0 0 1px rgba(16, 185, 129, .15);
  position: relative;
}

.demo-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.35), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-chrome .dot.r { background: #FF605C; }
.demo-chrome .dot.y { background: #FFBD44; }
.demo-chrome .dot.g { background: #00CA4E; }

.demo-chrome .addr {
  margin-left: auto;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .35);
  font-family: 'JetBrains Mono', monospace;
}

.demo-body {
  padding: 44px 32px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.demo-col h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin: 0 0 12px;
}

.demo-type {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  color: rgba(255, 255, 255, .85);
  min-height: 140px;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.demo-type .caret {
  display: inline-block;
  width: 2px;
  height: 24px;
  background: var(--emerald-500);
  margin-left: 3px;
  vertical-align: -4px;
  animation: blink 1s steps(2) infinite;
}

.demo-out {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), rgba(16, 185, 129, 0.02));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 22px 24px;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 28px;
  line-height: 1.4;
  color: white;
  min-height: 140px;
  display: flex;
  align-items: center;
}

.demo-foot {
  padding: 16px 32px 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chip-word {
  padding: 6px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: all .15s;
}

.chip-word:hover, .chip-word.on {
  background: rgba(16, 185, 129, .15);
  border-color: rgba(16, 185, 129, .4);
  color: #A7F3D0;
}

/* ═════════ Features ═════════ */
.features {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all .2s;
}

.feature:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.03);
  transform: translateY(-2px);
}

.f-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6EE7B7;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.f-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6);
}

/* ═════════ CTA ═════════ */
.cta {
  padding: 80px 40px 60px;
  text-align: center;
  position: relative;
}

.cta-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px;
  background: radial-gradient(ellipse at top, rgba(16, 185, 129, 0.18), transparent 70%), linear-gradient(180deg, #0F1A2E, #0A101C);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: 'ক';
  position: absolute;
  right: -40px;
  bottom: -80px;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 320px;
  color: var(--emerald-500);
  opacity: .06;
  line-height: 1;
  font-weight: 700;
}

.cta-card h2 {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.cta-card p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, .65);
  margin: 0 0 28px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═════════ Footer ═════════ */
.landing-footer {
  padding: 30px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
  flex-wrap: wrap;
  gap: 12px;
}

.landing-footer .f-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-footer .f-left img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.landing-footer a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  margin-left: 16px;
}

.landing-footer a:hover {
  color: white;
}

/* ═════════ Responsive ═════════ */
@media (max-width: 720px) {
  .landing-nav {
    padding: 14px 20px;
  }

  .landing-nav ul {
    display: none;
  }

  .demo-body {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 20px;
  }

  .hero-meta {
    gap: 14px;
    font-size: 11.5px;
  }
}
