:root {
  --bg: #030712;
  --surface: rgba(11, 19, 38, 0.84);
  --surface-strong: rgba(15, 23, 42, 0.94);
  --acc: #38bdf8;
  --acc-rgb: 56, 189, 248;
  --sec: #10b981;
  --sec-rgb: 16, 185, 129;
  --text: #f8fafc;
  --soft: #cbd5e1;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.22);
  --font-display: 'Plus Jakarta Sans', 'Hind Siliguri', 'Noto Sans Bengali', -apple-system, sans-serif;
  --font-body: 'Inter', 'Noto Sans Bengali', 'Hind Siliguri', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

#stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: var(--bg);
  transform-origin: top left;
}

#stage.ratio-9-16 {
  width: 1080px;
  height: 1920px;
}

#bgCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 72% at 50% 45%, transparent 40%, rgba(2, 5, 14, 0.78) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.74) 0%, transparent 15%, transparent 82%, rgba(3, 7, 18, 0.90) 100%);
}

/* Top HUD */
.top-hud {
  position: absolute;
  top: 34px;
  left: 68px;
  right: 68px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ratio-9-16 .top-hud {
  top: 72px;
  left: 56px;
  right: 56px;
  gap: 18px;
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--acc), var(--sec));
  box-shadow: 0 0 22px rgba(var(--acc-rgb), 0.75);
}

.hud-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hud-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  max-width: 65%;
}

.hud-logo-img {
  height: 32px;
  max-width: 140px;
  object-fit: contain;
  border-radius: 6px;
  display: none;
}

.hud-logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acc), var(--sec));
  box-shadow: 0 0 14px rgba(var(--acc-rgb), 0.9);
  flex-shrink: 0;
}

.hud-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(var(--acc-rgb), 0.14);
  border: 1px solid rgba(var(--acc-rgb), 0.42);
  color: var(--acc);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hud-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
}

/* Main Content Stage */
.act-layer {
  position: absolute;
  top: 138px;
  left: 68px;
  right: 68px;
  bottom: 158px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ratio-9-16 .act-layer {
  top: 205px;
  left: 56px;
  right: 56px;
  bottom: 290px;
}

.scene-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.ratio-9-16 .scene-grid {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 44px;
  align-content: center;
}

.scene-centered {
  width: 100%;
  max-width: 1460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.ratio-9-16 .scene-centered {
  max-width: 960px;
  gap: 34px;
}

/* Typography & Kinetic Elements */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(var(--acc-rgb), 0.15);
  border: 1px solid rgba(var(--acc-rgb), 0.45);
  color: var(--acc);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ratio-9-16 .kicker {
  font-size: 24px;
  padding: 11px 24px;
}

.headline {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 22px;
  word-break: break-word;
}

.ratio-9-16 .headline {
  font-size: 64px;
  line-height: 1.18;
}

.headline.lang-bn {
  line-height: 1.26;
  letter-spacing: 0;
}

.headline-word {
  display: inline-block;
  margin-right: 0.24em;
  will-change: transform, opacity;
}

.headline-word.accent-word {
  background: linear-gradient(120deg, var(--acc), var(--sec));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-bar {
  width: 110px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--acc), var(--sec));
  box-shadow: 0 0 20px rgba(var(--acc-rgb), 0.65);
  margin-bottom: 24px;
}

.scene-centered .accent-bar {
  margin-left: auto;
  margin-right: auto;
}

.subheadline {
  font-size: 29px;
  line-height: 1.46;
  color: var(--soft);
  font-weight: 500;
  max-width: 920px;
}

.ratio-9-16 .subheadline {
  font-size: 32px;
  line-height: 1.48;
}

.subheadline.lang-bn {
  line-height: 1.56;
}

/* Bullets & Feature Cards */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  width: 100%;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ratio-9-16 .bullet-item {
  font-size: 27px;
  padding: 20px 24px;
}

.bullet-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(var(--acc-rgb), 0.28), rgba(var(--sec-rgb), 0.25));
  border: 1px solid rgba(var(--acc-rgb), 0.55);
  color: var(--acc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

/* Visual Frame / Mockup Card */
.visual-card {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid rgba(var(--acc-rgb), 0.35);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(var(--acc-rgb), 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ratio-9-16 .visual-card {
  height: 620px;
}

.visual-topbar {
  height: 44px;
  padding: 0 20px;
  background: rgba(2, 6, 23, 0.86);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.visual-url {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.visual-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(var(--acc-rgb), 0.22), rgba(3, 7, 18, 0.96) 72%);
}

.visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-procedural {
  width: 100%;
  height: 100%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proc-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 220px;
  padding: 18px 0;
}

.proc-bar {
  flex: 1;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, var(--acc), rgba(var(--sec-rgb), 0.5));
  box-shadow: 0 0 24px rgba(var(--acc-rgb), 0.35);
}

/* Metric Grid */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  margin-top: 24px;
}

.ratio-9-16 .metrics-row {
  grid-template-columns: 1fr;
  gap: 22px;
}

.metric-card {
  position: relative;
  padding: 34px 28px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid rgba(var(--acc-rgb), 0.32);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  text-align: left;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--acc), var(--sec));
}

.metric-value {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff 20%, var(--acc));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 23px;
  font-weight: 600;
  color: var(--soft);
}

/* Feature Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 22px;
}

.ratio-9-16 .cards-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
}

.feature-num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--acc), var(--sec));
  color: #020617;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text);
}

/* Quote Focus */
.quote-box {
  width: 100%;
  max-width: 1380px;
  padding: 54px 62px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid rgba(var(--acc-rgb), 0.38);
  border-left: 10px solid var(--acc);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.ratio-9-16 .quote-box {
  padding: 44px 36px;
}

/* CTA Finale */
.cta-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(var(--acc-rgb), 0.25), rgba(var(--sec-rgb), 0.22));
  border: 2px solid rgba(var(--acc-rgb), 0.55);
  box-shadow: 0 0 60px rgba(var(--acc-rgb), 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
}

.cta-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cta-monogram {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--acc), var(--sec));
  color: #020617;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(var(--acc-rgb), 0.55);
  margin-top: 12px;
}

.cta-domain {
  font-size: 24px;
  font-weight: 600;
  color: var(--soft);
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* Synchronized Lower-Third Captions */
.caption-wrap {
  position: absolute;
  left: 68px;
  right: 68px;
  bottom: 42px;
  z-index: 35;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.ratio-9-16 .caption-wrap {
  left: 48px;
  right: 48px;
  bottom: 135px;
}

.caption-pill {
  max-width: 88%;
  padding: 16px 32px;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.88);
  border: 1px solid rgba(var(--acc-rgb), 0.40);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.42;
  text-align: center;
  opacity: 0;
}

.ratio-9-16 .caption-pill {
  max-width: 96%;
  font-size: 30px;
  padding: 18px 28px;
}

/* Watermark */
.studio-badge {
  position: absolute;
  right: 68px;
  bottom: 14px;
  z-index: 32;
  font-size: 14px;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.65);
  letter-spacing: 0.06em;
}

.ratio-9-16 .studio-badge {
  right: 56px;
  bottom: 54px;
  font-size: 17px;
}
