:root{
    --bg:#0F0925;
    --bg-soft:#140d33;
    --bg-elevated:#1a1442;
    --bg-elevated-2:#211a52;
    --cyan:#24C6FF;
    --cyan-soft: rgba(36,198,255,.16);
    --cyan-line: rgba(36,198,255,.35);
    --white:#FFFFFF;
    --muted: rgba(255,255,255,.62);
    --muted-2: rgba(255,255,255,.36);
    --border: rgba(255,255,255,.09);
    --border-strong: rgba(255,255,255,.16);
    --display: 'Bebas Neue', sans-serif;
    --heading: 'Montserrat', sans-serif;
    --body: 'Inter', sans-serif;
    --ease: cubic-bezier(.16,.84,.44,1);
  }

  *,*::before,*::after{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  }

  body{
    margin:0;
    background: var(--bg);
    color: var(--white);
    font-family: var(--body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection{ background: var(--cyan); color: var(--bg); }

  a{ color: inherit; text-decoration: none; }
  button{ font-family: inherit; cursor: pointer; }

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

  .wrap{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
  }

  h1,h2,h3,h4{ margin:0; font-family: var(--heading); font-weight: 700; }

  .eyebrow{
    font-family: 'DM Mono', monospace;
    font-family: var(--body);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
  }
  .eyebrow::before{
    content:"";
    width: 22px;
    height: 1px;
    background: var(--cyan);
    display: inline-block;
  }
  .eyebrow .tc{
    font-variant-numeric: tabular-nums;
    color: var(--muted-2);
    letter-spacing: .1em;
    font-weight: 400;
    margin-left: 2px;
  }

  .display{
    font-family: var(--display);
    text-transform: uppercase;
    line-height: .92;
    letter-spacing: .005em;
  }

  /* ---------- focus ---------- */
  a:focus-visible, button:focus-visible{
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* ---------- buttons ---------- */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
    white-space: nowrap;
  }
  .btn-solid{
    background: var(--cyan);
    color: var(--bg);
    box-shadow: 0 0 0 0 rgba(36,198,255,0);
  }
  .btn-solid:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -8px rgba(36,198,255,.55);
  }
  .btn-outline{
    background: transparent;
    color: var(--white);
    border-color: var(--border-strong);
  }
  .btn-outline:hover{
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
  }

  /* ================= NAV ================= */
  header.nav{
    position: fixed;
    top:0; left:0; right:0;
    z-index: 100;
    padding: 18px 0;
    background: linear-gradient(to bottom, rgba(15,9,37,.92), rgba(15,9,37,0));
    backdrop-filter: blur(6px);
    transition: background .4s ease, padding .4s ease, border-color .4s ease;
    border-bottom: 1px solid transparent;
  }
  header.nav.scrolled{
    background: rgba(15,9,37,.86);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav-inner{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 24px;
  }
  .nav-logo img{ height: 22px; width:auto; }
  .nav-links{
    display:flex;
    align-items:center;
    gap: 34px;
    list-style:none;
    margin:0; padding:0;
  }
  .nav-links a{
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
    position: relative;
    padding: 4px 0;
    transition: color .3s ease;
  }
  .nav-links a::after{
    content:"";
    position:absolute; left:0; bottom:0;
    width:0; height:1px;
    background: var(--cyan);
    transition: width .3s var(--ease);
  }
  .nav-links a:hover{ color: var(--white); }
  .nav-links a:hover::after{ width:100%; }
  .nav-cta{ display:flex; align-items:center; gap:18px; }
  .nav-cta .btn{ padding: 11px 22px; font-size: 12px; }
  .nav-burger{
    display:none;
    width: 40px; height:40px;
    align-items:center; justify-content:center;
    background:none; border:1px solid var(--border-strong); border-radius:8px;
    color:var(--white);
  }

  /* ================= HERO ================= */
  section#hero{
    position: relative;
    min-height: 100vh;
    display:flex;
    align-items:center;
    padding: 150px 0 100px;
    overflow: hidden;
  }
  .hero-glow{
    position:absolute;
    top: -20%;
    right: -10%;
    width: 60vw; height: 60vw;
    max-width: 900px; max-height: 900px;
    background: radial-gradient(circle, rgba(36,198,255,.22), rgba(36,198,255,0) 70%);
    filter: blur(10px);
    pointer-events:none;
  }
  .hero-glow-2{
    position:absolute;
    bottom: -20%;
    left: -10%;
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(36,198,255,.10), rgba(36,198,255,0) 70%);
    pointer-events:none;
  }
  .hero-grid{
    display:grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items:center;
    position: relative;
    z-index: 2;
  }
  .hero-eyebrow{ margin-bottom: 26px; }
  h1.display.hero{
  font-size: clamp(52px, 8vw, 116px);
  color: var(--white);
  margin: 0 0 16px 0; /* এই 16px হলো gap */
}

h1.display.hero .accent{
  color: var(--cyan);
}
  .hero-sub{
    max-width: 520px;
    margin: 28px 0 40px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
  }
  .hero-ctas{ display:flex; gap: 16px; flex-wrap: wrap; }
  .hero-stats{
    display:flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
  }
  .hero-stat .num{
    font-family: var(--display);
    font-size: 34px;
    color: var(--cyan);
    line-height:1;
  }
  .hero-stat .lbl{
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-top: 6px;
  }
  .hero-visual{
    position: relative;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .hero-visual-frame{
    position:relative;
    width: 100%;
    aspect-ratio: 1050 / 600;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255,255,255,.03), rgba(255,255,255,0));
    padding: 10px;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  }
  #hero-lottie{ width:100%; height:100%; }
  .hero-visual-tag{
    position:absolute;
    bottom: -18px; left: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    display:flex;
    align-items:center;
    gap:8px;
  }
  .hero-visual-tag .dot{
    width:7px; height:7px; border-radius:50%;
    background: var(--cyan);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse{
    0%,100%{ opacity: 1; transform: scale(1); }
    50%{ opacity: .4; transform: scale(1.3); }
  }

  /* ================= SECTION SHARED ================= */
  section{ position: relative; padding: 140px 0; }
  .section-head{
    display:flex;
    align-items:flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 64px;
    flex-wrap: wrap;
  }
  .section-title{
    font-size: clamp(38px, 5vw, 64px);
    margin-top: 18px;
    color: var(--white);
  }
  .section-title .accent{ color: var(--cyan); }
  .section-desc{
    max-width: 420px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    padding-bottom: 6px;
  }

  /* ================= WORK ================= */
  section#work{ background: var(--bg); }
  .work-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .work-card{
    position:relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    cursor: pointer;
    transition: border-color .4s ease, transform .5s var(--ease);
  }
  .work-card:hover{ border-color: var(--cyan-line); transform: translateY(-6px); }
  .work-card.wide{ grid-column: span 2; }
  .work-thumb{
    position:relative;
    width:100%;
    aspect-ratio: 16/10;
    overflow:hidden;
  }
  .work-card.wide .work-thumb{ aspect-ratio: 21/9; }
  .work-thumb img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}

.work-card:hover .work-thumb img{
  transform: scale(1.06);
}
  .work-thumb::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(to top, rgba(9,5,22,.92) 0%, rgba(9,5,22,.15) 45%, rgba(9,5,22,.05) 100%);
  }
  .work-duration{
    position:absolute;
    top: 16px; right:16px;
    z-index: 3;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    letter-spacing: .06em;
    background: rgba(10,6,26,.65);
    border: 1px solid var(--border-strong);
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--muted);
  }
  .work-play{
    position:absolute;
    top:50%; left: 50%;
    transform: translate(-50%,-50%) scale(.7);
    width: 58px; height:58px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(15,9,37,.35);
    display:flex; align-items:center; justify-content:center;
    z-index: 3;
    opacity: 0;
    transition: opacity .4s ease, transform .4s var(--ease);
  }
  .work-card:hover .work-play{ opacity: 1; transform: translate(-50%,-50%) scale(1); }
  .work-play svg{ width: 18px; height:18px; fill: var(--white); margin-left: 3px; }
  .work-info{
    position:absolute;
    left:22px; right:22px; bottom:18px;
    z-index: 3;
  }
  .work-cat{
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 6px;
    font-weight: 600;
  }
  .work-name{
    font-family: var(--heading);
    font-weight: 700;
    font-size: 21px;
  }
  .work-scrub{
    position:absolute;
    left: 22px; right: 22px; bottom: 0;
    height: 2px;
    background: rgba(255,255,255,.15);
    z-index: 3;
    overflow:hidden;
    transform: translateY(2px);
  }
  .work-scrub-fill{
    height:100%; width:0%;
    background: var(--cyan);
    transition: width .1s linear;
  }
  .work-card:hover .work-scrub-fill{ animation: scrubfill 2.6s linear infinite; }
  @keyframes scrubfill{
    0%{ width:0%; }
    100%{ width:100%; }
  }

  /* ================= SERVICES ================= */
  section#services{ background: var(--bg-soft); }
  .service-row{
    position: relative;
    display:grid;
    grid-template-columns: 90px 1fr 1fr 40px;
    align-items:center;
    gap: 24px;
    padding: 30px 22px;
    border-top: 1px solid var(--border);
    overflow: hidden;
    transition: padding-left .4s var(--ease);
  }
  .service-row:last-child{ border-bottom: 1px solid var(--border); }
  .service-row::before{
    content:"";
    position:absolute; inset:0;
    background: var(--cyan-soft);
    transform: translateX(-101%);
    transition: transform .5s var(--ease);
    z-index:0;
  }
  .service-row:hover::before{ transform: translateX(0); }
  .service-row:hover{ padding-left: 34px; }
  .service-row > *{ position:relative; z-index:1; }
  .service-track{
    font-family: var(--display);
    font-size: 15px;
    letter-spacing: .06em;
    color: var(--muted-2);
  }
  .service-row:hover .service-track{ color: var(--cyan); }
  .service-name{
    font-family: var(--heading);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 30px);
  }
  .service-desc{
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    max-width: 460px;
  }
  .service-arrow{
    justify-self:end;
    color: var(--muted-2);
    transition: transform .4s var(--ease), color .4s ease;
  }
  .service-row:hover .service-arrow{ transform: translateX(6px); color: var(--cyan); }

  @media (max-width: 860px){
    .service-row{ grid-template-columns: 50px 1fr; }
    .service-desc, .service-arrow{ grid-column: 2; }
  }

  /* ================= PROCESS ================= */
  section#process{ background: var(--bg); }
  .process-line-wrap{
    position: relative;
    margin-top: 20px;
  }
  .process-line{
    position: absolute;
    top: 27px; left: 0; right:0;
    height: 2px;
    background: var(--border-strong);
  }
  .process-line-fill{
    position:absolute;
    top:0; left:0;
    height:100%;
    width: 0%;
    background: var(--cyan);
    box-shadow: 0 0 12px 0 var(--cyan);
  }
  .process-grid{
    position: relative;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .process-step{ position: relative; padding-top: 70px; }
  .process-dot{
    position:absolute;
    top: 18px; left:0;
    width: 18px; height:18px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-strong);
    transition: border-color .4s ease, background .4s ease, box-shadow .4s ease;
  }
  .process-step.is-active .process-dot{
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: 0 0 0 6px var(--cyan-soft);
  }
  .process-code{
    font-size: 11px;
    color: var(--muted-2);
    letter-spacing: .1em;
    margin-bottom: 10px;
    display:block;
  }
  .process-title{
    font-family: var(--display);
    font-size: 30px;
    margin-bottom: 12px;
  }
  .process-desc{
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
  }
  @media (max-width: 860px){
    .process-grid{ grid-template-columns: 1fr; gap: 44px; }
    .process-line{ top:0; bottom:0; left: 27px; right: auto; width:2px; height:auto; }
    .process-line-fill{ width:100%; height:0%; }
    .process-step{ padding-top:0; padding-left: 60px; }
    .process-dot{ top: 4px; left: 18px; }
  }

  /* ================= ABOUT ================= */
  section#about{ background: var(--bg-soft); }
  .about-grid{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items:start;
  }
  .about-text p{
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 20px;
  }
  .about-text strong{ color: var(--white); font-weight: 600; }
  .about-panel{
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
  }
  .about-panel-head{
    display:flex; align-items:center; justify-content: space-between;
    margin-bottom: 24px;
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted-2);
  }
  .about-panel-head .rec{ color: var(--cyan); display:flex; align-items:center; gap:6px; }
  .about-panel-head .rec .d{ width:6px; height:6px; border-radius:50%; background:var(--cyan); }
  .about-row{
    display:flex;
    justify-content: space-between;
    align-items:baseline;
    padding: 18px 0;
    border-top: 1px solid var(--border);
  }
  .about-row:first-of-type{ border-top:none; }
  .about-row .k{ color: var(--muted); font-size: 13px; letter-spacing:.03em; }
  .about-row .v{ font-family: var(--display); font-size: 26px; color: var(--cyan); }

  /* ================= CTA ================= */
  section#cta{
    background: radial-gradient(ellipse at 50% 30%, rgba(36,198,255,.16), rgba(15,9,37,0) 60%), var(--bg);
    text-align:center;
    padding: 180px 0;
  }
  .cta-title{
    font-size: clamp(48px, 9vw, 128px);
    color: var(--white);
  }
  .cta-title .accent{ color: var(--cyan); }
  .cta-sub{
    color: var(--muted);
    font-size: 17px;
    max-width: 480px;
    margin: 24px auto 44px;
  }

  /* ================= FOOTER ================= */
  footer{
    padding: 60px 0 90px; /* +34px clears the fixed scrubber bar */
    border-top: 1px solid var(--border);
    background: var(--bg);
  }
  .footer-top{
    display:flex;
    justify-content: space-between;
    align-items:flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 44px;
  }
  .footer-logo img{ height: 20px; margin-bottom: 14px; }
  .footer-tagline{ color: var(--muted-2); font-size: 13px; max-width: 240px; line-height: 1.6; }
  .footer-cols{ display:flex; gap: 64px; flex-wrap:wrap; }
  .footer-col h4{
    font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted-2); margin-bottom: 16px; font-weight: 600;
  }
  .footer-col a{
    display:block;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color .3s ease;
  }
  .footer-col a:hover{ color: var(--cyan); }
  .footer-bottom{
    display:flex;
    justify-content: space-between;
    align-items:center;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--muted-2);
  }

  /* ================= reveal utility ================= */
  .reveal{ opacity: 0; transform: translateY(30px); }

  @media (max-width: 900px){
    .nav-links{ display:none; }
    .hero-grid{ grid-template-columns: 1fr; }
    .hero-visual{ order:-1; margin-bottom: 20px; }
    .work-grid{ grid-template-columns: 1fr; }
    .work-card.wide{ grid-column: span 1; }
    .about-grid{ grid-template-columns: 1fr; }
    .scrubber-code{ display:none; }
  }
  @media (max-width: 560px){
    .hero-stats{ gap: 24px; flex-wrap: wrap; }
    .hero-ctas .btn{ flex:1; justify-content:center; }
    section{ padding: 90px 0; }
    section#hero{ padding: 120px 0 70px; }
    .scrubber-tick .label{ display:none; }
    .nav-logo img{ height: 20px; }
    footer{ padding: 50px 0 calc(70px + 34px); }
    .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 8px; }
  }
/* Hero থেকে MOTION FIXER heading সরানোর পর subtitle বড় করা */
#hero .eyebrow{
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: .14em;
  line-height: 1.4;
  gap: 0;
}

/* “—” / cyan line remove করা */
#hero .eyebrow::before{
  display: none;
}
/* Hero stats-এর number ও নিচের text center align */
.hero-stat{
  text-align: center;
}
/* Portfolio video popup */
.video-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open{
  display: flex;
}

.video-modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(7px);
}

.video-modal-box{
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #090516;
  border: 1px solid rgba(36, 198, 255, .4);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
}

.video-modal-frame{
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-modal-frame iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 9px;
}

.video-modal-close{
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: #24C6FF;
  color: #0F0925;
  font-size: 28px;
  line-height: 30px;
  cursor: pointer;
}