/* ============================================================
   ABIR HOSSAIN — PRODUCT VIDEO PRODUCTION LANDING PAGE
   Visual Identity matched faithfully to https://abirhossen.com
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/BricolageGrotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   THEME TOKENS — DARK (Default foundation from abirhossen.com)
   ============================================================ */
:root {
  color-scheme: dark;

  /* Brand cyan-blue (#5DC9F1) */
  --accent-rgb: 93 201 241;
  --accent: rgb(var(--accent-rgb));
  --accent-glow: 102 221 255;
  --accent-text: rgb(var(--accent-rgb));
  --accent-ink-rgb: 6 21 29;
  --accent-ink: rgb(var(--accent-ink-rgb));

  /* Surface + ink channels */
  --bg-rgb: 14 26 36;        /* #0E1A24 */
  --bg-2-rgb: 20 36 51;      /* #142433 */
  --bg-3-rgb: 26 45 63;      /* #1A2D3F */
  --ink-rgb: 244 244 242;    /* #F4F4F2 */
  --ink-2-rgb: 167 180 191;  /* #A7B4BF */
  --ink-3-rgb: 92 107 122;   /* #5C6B7A */
  --warm-rgb: 232 201 160;   /* #E8C9A0 */
  --border-rgb: 37 56 74;    /* #25384A */

  --bg: rgb(var(--bg-rgb));
  --bg-2: rgb(var(--bg-2-rgb));
  --bg-3: rgb(var(--bg-3-rgb));
  --ink: rgb(var(--ink-rgb));
  --ink-2: rgb(var(--ink-2-rgb));
  --ink-3: rgb(var(--ink-3-rgb));
  --warm: rgb(var(--warm-rgb));
  --border: rgb(var(--border-rgb));

  /* iOS-style Liquid Glass (clearer lens, lit specular rim, inner glow) */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-strong: rgba(255, 255, 255, 0.115);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-soft: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.55);
  --glass-sheen:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 22px rgba(255, 255, 255, 0.05);

  /* Themed component surfaces */
  --nav-bg: rgba(12, 20, 29, 0.54);
  --nav-bg-scrolled: rgba(11, 18, 26, 0.78);
  --chip-bg: rgba(14, 26, 36, 0.72);

  /* Typography families */
  --font-display: 'Space Grotesk', 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;

  --container-max: 1240px;
  --nav-h: 64px;
}

/* ============================================================
   THEME TOKENS — LIGHT (Purpose-built luxury palette matching abirhossen.com)
   ============================================================ */
html.light {
  color-scheme: light;
  --accent-glow: 14 116 144;
  --accent-text: #0E7490;
  --bg-rgb: 248 249 251;
  --bg-2-rgb: 255 255 255;
  --bg-3-rgb: 240 243 247;
  --ink-rgb: 16 28 39;
  --ink-2-rgb: 82 96 110;
  --ink-3-rgb: 130 143 156;
  --warm-rgb: 168 130 84;
  --border-rgb: 224 229 236;

  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.80);
  --glass-border: rgba(16, 28, 39, 0.12);
  --glass-border-soft: rgba(16, 28, 39, 0.08);
  --glass-shadow: 0 20px 55px -26px rgba(20, 40, 70, 0.18);
  --glass-sheen:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(16, 28, 39, 0.04),
    inset 0 0 22px rgba(255, 255, 255, 0.42);

  --nav-bg: rgba(255, 255, 255, 0.64);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.84);
  --chip-bg: rgba(255, 255, 255, 0.84);
}

/* Smooth theme cross-fade only during toggle */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition:
    background-color 0.45s ease,
    background-image 0.45s ease,
    border-color 0.45s ease,
    color 0.35s ease,
    box-shadow 0.45s ease !important;
}

/* ============================================================
   BASE & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1100px 620px at 50% -8%, rgb(var(--accent-rgb) / 0.11), transparent 62%),
    radial-gradient(820px 520px at 100% 8%, rgba(232, 201, 160, 0.05), transparent 58%),
    radial-gradient(900px 640px at 0% 88%, rgb(var(--accent-rgb) / 0.06), transparent 62%),
    linear-gradient(180deg, #0E1A24 0%, #0B141D 52%, #0E1A24 100%);
  background-attachment: fixed;
}

html.light body {
  background-image:
    radial-gradient(1100px 620px at 50% -8%, rgb(var(--accent-rgb) / 0.10), transparent 62%),
    radial-gradient(820px 520px at 100% 8%, rgba(176, 138, 92, 0.09), transparent 58%),
    radial-gradient(900px 640px at 0% 88%, rgb(var(--accent-rgb) / 0.06), transparent 62%),
    linear-gradient(180deg, #FBFCFE 0%, #F2F5F9 52%, #FBFCFE 100%);
}

/* Bangla typography tuning — crisp rendering, zero clipped matras */
html[lang="bn"] body {
  font-family: var(--font-bn);
  letter-spacing: 0;
  line-height: 1.72;
}
html[lang="bn"] .font-display,
html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3 {
  font-family: var(--font-bn);
  letter-spacing: -0.01em;
}
html[lang="bn"] .hero-headline {
  line-height: 1.24;
  font-size: clamp(2.05rem, 4vw, 3.65rem);
}
html[lang="bn"] .sec-title {
  line-height: 1.22;
}
html[lang="bn"] .font-serif-i,
html[lang="bn"] .sec-subtitle {
  font-family: var(--font-bn);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}
html[lang="bn"] .eyebrow,
html[lang="bn"] .nav-link,
html[lang="bn"] .nav-cta,
html[lang="bn"] .badge-pill {
  letter-spacing: 0.02em;
  text-transform: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

:where(a, button, [tabindex], input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--accent);
}

.font-display {
  font-family: var(--font-display);
}
.font-serif-i {
  font-family: var(--font-serif);
  font-style: italic;
}

/* ============================================================
   GLOBAL AMBIENT BACKDROP, GRID, FILM-GRAIN NOISE & SCROLL FX
   ============================================================ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.site-bg span {
  position: absolute;
  display: block;
  border-radius: 9999px;
}

.site-bg .g1 {
  width: 640px;
  height: 640px;
  left: -12%;
  top: 2%;
  background: radial-gradient(circle at center, rgb(var(--accent-rgb) / 0.14), transparent 70%);
}
.site-bg .g2 {
  width: 780px;
  height: 780px;
  right: -14%;
  top: 34%;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.11), transparent 70%);
}
.site-bg .g3 {
  width: 580px;
  height: 580px;
  left: 26%;
  bottom: 2%;
  background: radial-gradient(circle at center, rgba(125, 211, 252, 0.08), transparent 72%);
}

html.light .site-bg .g1 {
  background: radial-gradient(circle at center, rgb(var(--accent-rgb) / 0.10), transparent 70%);
}
html.light .site-bg .g2 {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08), transparent 70%);
}
html.light .site-bg .g3 {
  background: radial-gradient(circle at center, rgba(125, 211, 252, 0.06), transparent 72%);
}

/* Subtle technical grid (matches abirhossen.com .grid-bg) */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgb(var(--accent-rgb) / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(var(--accent-rgb) / 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.72), transparent 72%);
          mask-image: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.72), transparent 72%);
}

/* Authentic Film-Grain Noise Texture (exact grain.webp tile + SVG fallback) */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.055;
  background-image:
    url("assets/images/grain.webp"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}
html.light .noise-overlay {
  opacity: 0.038;
}

/* Scroll Progress Hairline (cyan → champagne warm) */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--warm) 100%);
  z-index: 120;
  box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.65);
  pointer-events: none;
}

/* Bottom Cinematic Scroll-Reveal Veil */
.scroll-blur-veil {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.5vh;
  pointer-events: none;
  z-index: 40;
  background: linear-gradient(
    to top,
    rgb(var(--bg-rgb) / 0.85) 0%,
    rgb(var(--bg-rgb) / 0.48) 38%,
    rgb(var(--bg-rgb) / 0.16) 70%,
    rgb(var(--bg-rgb) / 0) 100%
  );
  transition: opacity 0.35s ease;
}
.scroll-blur-veil.is-hidden {
  opacity: 0;
}

/* ============================================================
   LAYOUT CONTAINERS & SECTION BLENDING
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
}

main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
}

/* Soft hairline section divider fading at ends (exact abirhossen.com .sec-soft) */
.sec-soft::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--glass-border) 22%,
    var(--glass-border) 78%,
    transparent 100%
  );
}

.sec-header {
  max-width: 720px;
}
.sec-header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0;
}

.sec-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.sec-subtitle {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  line-height: 1.32;
  color: rgb(var(--ink-rgb) / 0.88);
}

.sec-lead {
  margin: 16px 0 0;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  color: var(--ink-2);
  line-height: 1.72;
}

/* ============================================================
   LIQUID GLASS CORE SYSTEM (Panels, Pills, Specular Buttons)
   ============================================================ */
.glass {
  position: relative;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0.06) 100%),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-sheen), var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
          backdrop-filter: blur(18px) saturate(165%);
}

html.light .glass {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.24) 46%, rgba(255, 255, 255, 0.45) 100%),
    var(--glass-bg);
}

/* Specular top edge reflection for prominent liquid glass surfaces */
.glass-specular::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0.65;
}

.card-lift {
  transition:
    transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.38s ease,
    background-color 0.35s ease;
}

.card-lift:hover {
  transform: translateY(-5px);
  border-color: rgb(var(--accent-rgb) / 0.48);
  box-shadow:
    var(--glass-sheen),
    0 18px 42px -22px rgba(0, 0, 0, 0.55),
    0 0 36px -14px rgb(var(--accent-rgb) / 0.36);
}
html.light .card-lift:hover {
  box-shadow:
    var(--glass-sheen),
    0 18px 40px -24px rgba(20, 40, 70, 0.22),
    0 0 34px -14px rgb(var(--accent-rgb) / 0.30);
}

/* Magnetic Liquid Glass Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.32s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.25s ease;
}
html[lang="bn"] .btn {
  font-family: var(--font-bn);
  letter-spacing: 0;
}

/* Cursor-tracking radial light reflection */
.mag-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.28) 0%,
    rgb(var(--accent-rgb) / 0.14) 38%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mag-btn:hover::after {
  opacity: 1;
}

/* Sweeping liquid sheen */
.btn-shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.38) 50%, transparent 72%);
  transform: translateX(-110%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn-shimmer:hover::before {
  transform: translateX(110%);
}

/* Primary Accent Liquid Button */
.btn-primary {
  background: linear-gradient(180deg, #74D4F6 0%, var(--accent) 100%);
  color: var(--accent-ink);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 6px rgba(6, 21, 29, 0.18),
    0 12px 34px -10px rgb(var(--accent-rgb) / 0.62);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 16px 42px -8px rgb(var(--accent-rgb) / 0.76);
}
.btn-primary:active {
  transform: translateY(0) scale(0.985);
}

/* Liquid Glass Secondary Button */
.btn-glass {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0.08) 100%),
    rgba(14, 26, 36, 0.42);
  color: #F4F4F2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px -14px rgba(0, 0, 0, 0.52);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
}
.btn-glass:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--accent-rgb) / 0.62);
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0%, rgba(93, 201, 241, 0.10) 100%),
    rgba(14, 26, 36, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 36px -10px rgb(var(--accent-rgb) / 0.42);
}

/* Themed liquid glass button outside the dark hero */
.btn-glass-themed {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.06) 100%),
    var(--glass-bg);
  color: var(--ink);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-sheen), 0 10px 28px -14px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(175%);
          backdrop-filter: blur(16px) saturate(175%);
}
.btn-glass-themed:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--accent-rgb) / 0.55);
  color: var(--accent-text);
  box-shadow: var(--glass-sheen), 0 14px 36px -12px rgb(var(--accent-rgb) / 0.38);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.btn:hover .ic-arrow {
  transform: translateX(3px);
}
.btn:hover .ic-up-right {
  transform: translate(2px, -2px);
}

/* Pulsing live dot */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
}
.pulse-dot::before,
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--accent);
}
.pulse-dot::after {
  animation: pulseRing 1.9s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(3.1); opacity: 0; }
}

/* ============================================================
   FLOATING LIQUID-GLASS NAVIGATION ISLAND (Exact abirhossen.com DNA)
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
#nav.nav-hidden {
  transform: translateY(-130%);
}

@media (min-width: 640px) {
  #nav {
    padding: 16px 24px 0;
  }
}

.nav-island {
  position: relative;
  pointer-events: auto;
  max-width: 1120px;
  margin-inline: auto;
  height: var(--nav-h);
  padding-inline: 16px 14px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--nav-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(22px) saturate(185%) brightness(1.06);
          backdrop-filter: blur(22px) saturate(185%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 -10px 24px -16px rgba(0, 0, 0, 0.45),
    0 12px 38px -10px rgba(8, 18, 30, 0.46),
    0 2px 8px -2px rgba(8, 18, 30, 0.24);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 640px) {
  .nav-island {
    padding-inline: 22px 18px;
  }
}

/* Wet-glass top gloss reflection */
.nav-island::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 32%,
    rgba(255, 255, 255, 0) 58%
  );
}
/* Bright specular hairline along top rim */
.nav-island::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0.65;
}

.nav-island > * {
  position: relative;
  z-index: 1;
}

#nav.scrolled .nav-island {
  background: var(--nav-bg-scrolled);
  border-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(26px) saturate(195%) brightness(1.05);
          backdrop-filter: blur(26px) saturate(195%) brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -12px 28px -16px rgba(0, 0, 0, 0.52),
    0 16px 46px -10px rgba(8, 18, 30, 0.54);
}

html.light .nav-island {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 -10px 24px -16px rgba(30, 52, 82, 0.12),
    0 12px 36px -12px rgba(30, 52, 82, 0.18);
}
html.light .nav-island::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.18) 38%, transparent 64%);
}
html.light .nav-island::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98), transparent);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-brand:hover .nav-logo-img {
  filter: drop-shadow(0 0 9px rgb(var(--accent-glow)));
  transform: scale(1.06) rotate(-2deg);
}

.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: none;
}
@media (min-width: 480px) {
  .nav-brand-name {
    display: inline;
  }
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.025em;
  padding: 5px 0;
  transition: color 0.22s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgb(var(--accent-glow)), rgba(255, 255, 255, 0.65));
  box-shadow: 0 0 6px rgb(var(--accent-glow));
  transition: width 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 640px) {
  .nav-actions {
    gap: 10px;
  }
}

/* Liquid Glass Bilingual Switcher (EN / বাংলা) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 2px 6px rgba(0, 0, 0, 0.22);
}
html.light .lang-switch {
  background: rgba(16, 28, 39, 0.05);
  box-shadow: inset 0 1px 2px rgba(16, 28, 39, 0.08);
}

.lang-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 9999px;
  line-height: 1.1;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.lang-btn[data-lang="bn"] {
  font-family: var(--font-bn);
  font-size: 0.82rem;
  padding-inline: 12px;
}
.lang-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 4px 14px -3px rgb(var(--accent-rgb) / 0.65);
}
.lang-btn:not(.is-active):hover {
  color: var(--ink);
}

/* Theme toggle button (exact abirhossen.com style) */
.icon-glass-btn {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--ink-2);
  box-shadow: var(--glass-sheen);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.icon-glass-btn:hover {
  color: var(--accent-text);
  border-color: rgb(var(--accent-rgb) / 0.5);
  transform: translateY(-1px);
  box-shadow: var(--glass-sheen), 0 0 22px -6px rgb(var(--accent-rgb) / 0.35);
}
.icon-glass-btn svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .ic {
  position: absolute;
  display: grid;
  place-items: center;
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.theme-toggle .ic-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.theme-toggle .ic-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}
html.light .theme-toggle .ic-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
html.light .theme-toggle .ic-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Nav CTA pill (exact abirhossen.com .nav-cta) */
.nav-cta {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgb(var(--accent-rgb) / 0.13);
  border: 1px solid rgb(var(--accent-rgb) / 0.40);
  color: rgb(var(--accent-glow));
  box-shadow: var(--glass-sheen);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
html.light .nav-cta {
  color: var(--accent-text);
  background: rgb(var(--accent-rgb) / 0.18);
}
.nav-cta:hover {
  background: rgb(var(--accent-rgb) / 0.24);
  border-color: rgb(var(--accent-rgb) / 0.65);
  box-shadow: 0 8px 30px -10px rgb(var(--accent-rgb) / 0.5);
  transform: translateY(-1px);
}
@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

.hamburger {
  display: inline-grid;
}
@media (min-width: 860px) {
  .hamburger {
    display: none;
  }
}

@media (max-width: 768px) {
  #nav {
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
  }
  .nav-island {
    height: 54px;
    padding-inline: 12px 10px;
  }
  .nav-logo-img {
    width: 32px;
    height: 32px;
  }
  .icon-glass-btn {
    width: 36px;
    height: 36px;
  }
}

/* Mobile Liquid-Glass Fullscreen Drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: rgba(11, 20, 29, 0.92);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
          backdrop-filter: blur(28px) saturate(175%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
html.light .mobile-menu {
  background: rgba(248, 249, 251, 0.94);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-head {
  height: 70px;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border-soft);
}
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.mobile-menu-list a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  transition: color 0.25s ease, transform 0.25s ease;
}
html[lang="bn"] .mobile-menu-list a {
  font-family: var(--font-bn);
}
.mobile-menu-list a:hover {
  color: var(--accent-text);
  transform: translateX(6px);
}
.mobile-menu-foot {
  padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--glass-border-soft);
}

/* ============================================================
   HERO SECTION — FULL-BLEED PERSONAL PORTRAIT (Hero.png)
   Always dark cinematic backdrop (both themes) so Hero.png
   melts seamlessly without harsh edges, matching abirhossen.com!
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: #0E1A24;
  color: #F4F4F2;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed desktop hero image — Abir on left, open studio blue haze on right */
.hero-media-desktop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  display: block;
}

/* Directional studio readability overlay: keeps Abir's face & jacket 100% clear on left,
   deepens the right blue-haze zone subtly for crisp typography, melts bottom edge into page */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to left,
      rgba(9, 20, 30, 0.90) 0%,
      rgba(9, 20, 30, 0.72) 34%,
      rgba(9, 20, 30, 0.34) 52%,
      rgba(9, 20, 30, 0.04) 68%,
      rgba(9, 20, 30, 0.14) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(9, 20, 30, 0.38) 0%,
      rgba(9, 20, 30, 0) 20%,
      rgba(9, 20, 30, 0) 76%,
      rgba(14, 26, 36, 0.96) 100%
    );
}
html.light .hero-overlay {
  background:
    linear-gradient(
      to left,
      rgba(9, 20, 30, 0.90) 0%,
      rgba(9, 20, 30, 0.72) 34%,
      rgba(9, 20, 30, 0.34) 52%,
      rgba(9, 20, 30, 0.04) 68%,
      rgba(9, 20, 30, 0.14) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(9, 20, 30, 0.38) 0%,
      rgba(9, 20, 30, 0) 20%,
      rgba(9, 20, 30, 0) 80%,
      rgba(14, 26, 36, 0.88) 100%
    );
}

/* Mobile portrait wrapper (hidden on desktop, displays full uncropped Hero.png cleanly on mobile) */
.hero-media-mobile {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: calc(var(--nav-h) + 52px);
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero-spacer {
  min-height: 1px;
}

.hero-copy {
  max-width: 600px;
  justify-self: start;
}

/* Professional Identity Liquid-Glass Pill */
.hero-identity {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 9999px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%),
    rgba(11, 22, 33, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    0 12px 30px -14px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
}

.hero-id-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

.hero-id-sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-id-role {
  font-size: 0.82rem;
  font-weight: 500;
  color: #79D6F7;
  letter-spacing: 0.04em;
}

.hero-headline {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 4.35vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.28);
}

.hero-accent {
  background: linear-gradient(120deg, #8AE0FF 0%, #5DC9F1 55%, #E8C9A0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.28vw, 1.14rem);
  line-height: 1.72;
  color: rgba(244, 244, 242, 0.86);
  max-width: 54ch;
}

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

.hero-trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 0.82rem;
  color: rgba(214, 232, 245, 0.78);
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust-item svg {
  width: 15px;
  height: 15px;
  color: #5DC9F1;
  flex-shrink: 0;
}

/* Scroll cue indicator at bottom of desktop hero */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 244, 242, 0.78);
  background: rgba(14, 26, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero-scroll-cue:hover {
  color: #FFFFFF;
  border-color: rgb(var(--accent-rgb) / 0.55);
  transform: translateX(-50%) translateY(-2px);
}
.hero-scroll-cue svg {
  width: 14px;
  height: 14px;
  animation: bobDown 2s ease-in-out infinite;
}
@keyframes bobDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Responsive Tablet & Mobile Hero — clean composition, NEVER overlaps Abir's face */
@media (max-width: 1023px) {
  .hero {
    min-height: 0;
    display: block;
    padding-bottom: 44px;
  }
  .hero-media-desktop,
  .hero-overlay,
  .hero-spacer,
  .hero-scroll-cue {
    display: none;
  }
  .hero-media-mobile {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 310px;
    max-height: 540px;
    margin-top: 64px;
    overflow: hidden;
    background: #0E1A24;
  }
  .hero-m-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% 4%;
  }
  .hero-m-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(to bottom, #0E1A24 0%, rgba(14, 26, 36, 0.55) 10%, rgba(14, 26, 36, 0) 26%),
      linear-gradient(to bottom, rgba(14, 26, 36, 0) 58%, rgba(14, 26, 36, 0.72) 82%, #0E1A24 100%);
  }
  .hero-inner {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -18px;
  }
  .hero-copy {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .hero-media-mobile {
    aspect-ratio: 4 / 3.4;
    min-height: 300px;
  }
  .hero-m-img {
    object-position: 30% 10%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    padding-block: 15px;
  }
}

/* ============================================================
   SECTION 01 — PROMOTIONAL VIDEO SHOWCASE (Directly Below Hero)
   Supports native aspect ratio (vertical 9:16 OR landscape 16:9)
   without cropping or distortion + full audio & playback controls
   ============================================================ */
.video-section {
  position: relative;
}

.video-layout {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

/* When video is vertical (9:16), pair nicely side-by-side on desktop;
   when landscape (16:9), showcase generously centered above highlights */
.video-layout.is-portrait {
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 960px) {
  .video-layout.is-portrait {
    grid-template-columns: minmax(300px, 410px) 1fr;
    gap: 52px;
  }
}

.video-stage-wrap {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}
.video-layout.is-portrait .video-stage-wrap {
  max-width: 410px;
}

/* Outer liquid-glass bezel (inspired by abirhossen.com .ugc-card / .vc-slide) */
.video-glass-shell {
  position: relative;
  padding: 12px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 48%, rgba(93, 201, 241, 0.09) 100%),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow:
    var(--glass-sheen),
    0 28px 70px -28px rgba(0, 0, 0, 0.62),
    0 0 55px -24px rgb(var(--accent-rgb) / 0.32);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
          backdrop-filter: blur(22px) saturate(170%);
}
html.light .video-glass-shell {
  box-shadow:
    var(--glass-sheen),
    0 26px 64px -28px rgba(20, 40, 70, 0.24),
    0 0 46px -22px rgb(var(--accent-rgb) / 0.28);
}

.video-viewport {
  position: relative;
  width: 100%;
  border-radius: 19px;
  overflow: hidden;
  background: #07111A;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  aspect-ratio: var(--video-ar, 16 / 9);
}

.promo-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #07111A;
  cursor: pointer;
}

/* Top floating live badge */
.video-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.video-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E6FBFF;
  background: rgba(8, 16, 24, 0.62);
  border: 1px solid rgb(var(--accent-rgb) / 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
html[lang="bn"] .video-pill {
  text-transform: none;
  letter-spacing: 0.01em;
}

.video-sound-quick {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgb(var(--accent-rgb) / 0.48);
  background: rgba(8, 16, 24, 0.62);
  color: #E6FBFF;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.video-sound-quick:hover {
  transform: scale(1.07);
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(8, 16, 24, 0.8);
}
.video-sound-quick svg {
  width: 18px;
  height: 18px;
}

/* Center Liquid-Glass Play/Pause Button */
.video-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: 78px;
  height: 78px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.28), rgba(93, 201, 241, 0.22) 60%, rgba(11, 20, 29, 0.65) 100%);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.65),
    0 18px 46px -8px rgba(0, 0, 0, 0.65),
    0 0 40px -6px rgb(var(--accent-rgb) / 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease, box-shadow 0.3s ease;
}
.video-center-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.8),
    0 22px 54px -8px rgba(0, 0, 0, 0.72),
    0 0 54px -4px rgb(var(--accent-rgb) / 0.72);
}
.video-center-play svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
}
.video-viewport.is-playing .video-center-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
}

/* Custom Liquid-Glass Bottom Playback Controls Dock */
.video-controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 7;
  padding: 10px 14px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(9, 18, 27, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 12px 32px -10px rgba(0, 0, 0, 0.68);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-viewport.is-playing.controls-idle .video-controls,
.video-viewport.is-playing.controls-idle .video-top-bar {
  opacity: 0;
  transform: translateY(6px);
}
.video-viewport:hover .video-controls,
.video-viewport:hover .video-top-bar,
.video-viewport:focus-within .video-controls,
.video-viewport:focus-within .video-top-bar {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Seekbar */
.video-seek-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-range {
  -webkit-appearance: none;
          appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  outline: none;
}
.video-range::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.8);
  transition: transform 0.18s ease;
}
.video-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.video-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.8);
}

.video-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.video-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #F4F4F2;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.vc-btn:hover {
  background: rgb(var(--accent-rgb) / 0.22);
  border-color: rgb(var(--accent-rgb) / 0.55);
  color: #FFFFFF;
}
.vc-btn svg {
  width: 17px;
  height: 17px;
}

.video-time {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(244, 244, 242, 0.82);
  font-variant-numeric: tabular-nums;
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.volume-slider {
  width: 72px;
}
@media (max-width: 480px) {
  .volume-slider {
    width: 52px;
  }
}

/* Video highlights grid */
.video-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 920px;
  margin-inline: auto;
  width: 100%;
}
@media (min-width: 680px) {
  .video-layout:not(.is-portrait) .video-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vh-card {
  padding: 20px 22px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vh-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgb(var(--accent-rgb) / 0.13);
  border: 1px solid rgb(var(--accent-rgb) / 0.30);
  color: var(--accent-text);
}
.vh-ico svg {
  width: 19px;
  height: 19px;
}
.vh-card h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.vh-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============================================================
   SECTION 02 — SERVICES & 3-STEP WORKFLOW
   ============================================================ */
.services-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 680px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .svc-card {
    grid-column: span 2;
  }
  .svc-card--wide {
    grid-column: span 3;
  }
}

.svc-card {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.svc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.svc-ico {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgb(var(--accent-rgb) / 0.13);
  border: 1px solid rgb(var(--accent-rgb) / 0.30);
  color: var(--accent-text);
  transition: transform 0.32s ease, background 0.32s ease;
}
.svc-card:hover .svc-ico {
  transform: rotate(-6deg) scale(1.07);
  background: rgb(var(--accent-rgb) / 0.22);
}
.svc-ico svg {
  width: 23px;
  height: 23px;
}

.svc-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.svc-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.svc-card p {
  margin: 10px 0 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.65;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border-soft);
}
.svc-tags span {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 9999px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-soft);
  color: var(--ink-2);
}

/* 3-Step Process Strip */
.process-block {
  margin-top: 56px;
}
.process-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.process-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.38), transparent);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-card {
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process-step {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-text);
}
.process-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.process-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ============================================================
   SECTION 03 — ABOUT ABIR HOSSAIN
   ============================================================ */
.about-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.about-lede {
  margin: 0;
  font-size: clamp(1.16rem, 1.6vw, 1.42rem);
  line-height: 1.58;
  font-weight: 500;
  color: var(--ink);
}

.about-body {
  margin: 18px 0 0;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.78;
}

.about-callout {
  margin: 24px 0 0;
  padding: 18px 22px;
  border-radius: 0 16px 16px 0;
  border-left: 2.5px solid var(--accent);
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.10), rgb(var(--accent-rgb) / 0.02) 72%, transparent);
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.68;
}

.stack-chips {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.stack-chip {
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-sheen);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.stack-chip:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--accent-rgb) / 0.5);
  background: rgb(var(--accent-rgb) / 0.11);
  color: var(--accent-text);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.cred-card {
  padding: 20px 22px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.cred-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--accent-text);
  background: rgb(var(--accent-rgb) / 0.12);
  border: 1px solid rgb(var(--accent-rgb) / 0.3);
}
.cred-ico svg {
  width: 20px;
  height: 20px;
}
.cred-k {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.cred-v {
  margin: 5px 0 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.cred-d {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============================================================
   SECTION 04 — DIRECT EMAIL CONTACT & ENQUIRY HUB (NO PHONE)
   ============================================================ */
.contact-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--glass-border-soft);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.connect-bigword {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5.5rem, 22vw, 19rem);
  letter-spacing: -0.04em;
  color: rgb(var(--accent-rgb) / 0.032);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.contact-grid {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: stretch;
  }
}

.email-hub {
  border-radius: 28px;
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.email-pill-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgb(var(--accent-rgb) / 0.08);
  border: 1px solid rgb(var(--accent-rgb) / 0.30);
}
.email-pill-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-text);
}
.email-address {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.48rem);
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
  transition: color 0.2s ease;
}
.email-address:hover {
  color: var(--accent-text);
}

.email-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.email-cta-stack .btn {
  width: 100%;
}

.email-meta-list {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--glass-border-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.email-meta-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.email-meta-list svg {
  width: 16px;
  height: 16px;
  color: var(--accent-text);
  flex-shrink: 0;
}

/* Glass Enquiry Composer Form */
.enquiry-form {
  border-radius: 28px;
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
html[lang="bn"] .field-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
}

.field {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field::placeholder {
  color: var(--ink-3);
}
.field:focus {
  outline: none;
  border-color: rgb(var(--accent-rgb) / 0.65);
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.15);
  background: var(--glass-bg-strong);
}
select.field option {
  background: #142433;
  color: #F4F4F2;
}
html.light select.field option {
  background: #FFFFFF;
  color: #101C27;
}

.form-status {
  margin: 0;
  font-size: 0.86rem;
  text-align: center;
  color: var(--accent-text);
  min-height: 20px;
}

/* FAQ Accordion (exact abirhossen.com .glass accordion) */
.faq-wrap {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  max-width: 780px;
  margin-inline: auto;
}
.faq-title {
  margin: 0 0 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--ink);
}
.faq-list {
  border-radius: 22px;
  overflow: hidden;
}
.faq-item + .faq-item {
  border-top: 1px solid var(--glass-border-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--accent-text);
}
.faq-chev {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-2);
  transition: transform 0.25s ease, color 0.25s ease;
}
.faq-item[open] .faq-chev {
  transform: rotate(45deg);
  color: var(--accent-text);
}
.faq-body {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============================================================
   FINAL SECTION — DEDICATED WEBSITE CTA (abirhossen.com)
   Signature cyan-infused liquid glass finale inspired by abirhossen.com
   ============================================================ */
.final-cta-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 128px);
  background:
    radial-gradient(85% 95% at 50% 0%, rgb(var(--accent-rgb) / 0.22), transparent 68%),
    linear-gradient(180deg, transparent 0%, rgb(var(--accent-rgb) / 0.08) 100%);
}

/* Subtle background brand marquee (matches abirhossen.com footer atmosphere) */
.final-marquees {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.65;
}
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.marquee-l .marquee-track {
  animation: scrollLeft 42s linear infinite;
}
.marquee-r .marquee-track {
  animation: scrollRight 48s linear infinite;
}
@keyframes scrollLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes scrollRight {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.mq-row {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: rgb(var(--accent-rgb) / 0.055);
}
html.light .mq-row {
  color: rgba(14, 116, 144, 0.06);
}

.final-cta-card {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
  border-radius: 34px;
  padding: clamp(36px, 6vw, 68px) clamp(24px, 5vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.final-brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgb(var(--accent-rgb) / 0.45);
  box-shadow: 0 0 34px -6px rgb(var(--accent-rgb) / 0.55);
}

.final-cta-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.final-cta-desc {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  color: var(--ink-2);
  line-height: 1.68;
}

/* Large Prominent Liquid-Glass "Visit My Website" Button */
.visit-site-btn {
  margin-top: 10px;
  padding: 20px 44px;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  font-weight: 700;
  border-radius: 9999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(93, 201, 241, 0.22) 52%, rgba(93, 201, 241, 0.34) 100%),
    rgba(14, 26, 36, 0.65);
  color: #FFFFFF;
  border: 1.5px solid rgb(var(--accent-rgb) / 0.72);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.68),
    inset 0 -2px 10px rgba(93, 201, 241, 0.22),
    0 18px 50px -12px rgb(var(--accent-rgb) / 0.58),
    0 0 0 1px rgb(var(--accent-rgb) / 0.16);
  -webkit-backdrop-filter: blur(22px) saturate(195%);
          backdrop-filter: blur(22px) saturate(195%);
}
html.light .visit-site-btn {
  background:
    linear-gradient(180deg, #74D4F6 0%, var(--accent) 100%);
  color: var(--accent-ink);
  border-color: rgba(14, 116, 144, 0.35);
}
.visit-site-btn:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: #9EE5FF;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
    0 24px 62px -10px rgb(var(--accent-rgb) / 0.78),
    0 0 40px -6px rgb(var(--accent-rgb) / 0.5);
}

.final-domain-note {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 28px 0 38px;
  border-top: 1px solid var(--glass-border-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer-links a:hover {
  color: var(--accent-text);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS (Progressive, GPU-friendly, never stuck hidden)
   ============================================================ */
html.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }

/* Pause off-screen marquee animations */
.is-offscreen .marquee-track {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot::after,
  .hero-scroll-cue svg,
  .btn-shimmer::before { animation: none !important; transition: none !important; }
}

@media (max-width: 600px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
  .visit-site-btn {
    width: 100%;
    padding: 18px 24px;
  }
  .video-glass-shell {
    padding: 8px;
    border-radius: 22px;
  }
  .video-viewport {
    border-radius: 15px;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }
  .promo-video {
    aspect-ratio: var(--video-ar, 16 / 9);
    height: auto;
  }
  .video-top-bar {
    top: 8px;
    left: 8px;
    right: 8px;
  }
  .video-pill {
    padding: 5px 10px;
    font-size: 0.68rem;
  }
  .video-sound-quick {
    width: 34px;
    height: 34px;
  }
  .video-center-play {
    top: 38%;
    width: 54px;
    height: 54px;
  }
  .video-center-play svg {
    width: 22px;
    height: 22px;
  }
  .video-controls {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 8px;
    opacity: 1 !important;
    transform: none !important;
  }
}
