@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --bg: #04070d;
  --panel: #09101b;
  --text: #f4f7ff;
  --muted: #8994a8;
  --line: rgba(255, 255, 255, 0.09);
  --blue: #6eb7ff;
  --cyan: #9ad5ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.section {
  padding: 150px 0;
  position: relative;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #8ebeff;
  direction: ltr;
  text-align: right;
  margin-bottom: 24px;
}

.site-header {
  height: 76px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: linear-gradient(180deg, rgba(3, 6, 12, 0.9), transparent);
  backdrop-filter: blur(8px);
}

.brand {
  font:
    800 21px Arial,
    sans-serif;
  letter-spacing: 3px;
  direction: ltr;
}

.brand span {
  color: var(--blue);
}

nav {
  display: flex;
  gap: 34px;
  color: #a8b2c5;
  font-size: 13px;
}

nav a {
  transition: 0.25s;
}

nav a:hover {
  color: #fff;
}

.header-btn {
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(38, 93, 155, 0.18),
      transparent 32%
    ),
    #04070d;
}

.hero-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(72, 145, 222, 0.14),
    transparent 68%
  );
  filter: blur(10px);
}

.particles {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: radial-gradient(
    circle,
    rgba(130, 190, 255, 0.55) 1px,
    transparent 1px
  );
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, #000, transparent 70%);
  animation: drift 18s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(800px, 90%);
}

.hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.15;
  font-weight: 500;
}

.hero h1 strong {
  font-weight: 800;
  background: linear-gradient(90deg, #fff, #74b9ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 620px;
  margin: 26px auto 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(122, 187, 255, 0.4);
  background: rgba(80, 145, 220, 0.08);
  padding: 13px 22px;
  border-radius: 40px;
  font-size: 13px;
  transition: 0.3s;
}

.primary-btn:hover {
  background: rgba(80, 145, 220, 0.2);
  transform: translateY(-3px);
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}

.section h2 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.15;
  font-weight: 600;
}

.section h2 span {
  color: #8bc7ff;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 2.1;
  max-width: 520px;
}

.scroll-story {
  height: 620vh;
  position: relative;
}

.scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #03060c;
}

.scroll-sticky canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}

.sequence-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 5, 10, 0.8),
      transparent 55%,
      rgba(2, 5, 10, 0.15)
    ),
    linear-gradient(0deg, rgba(2, 5, 10, 0.55), transparent 45%);
  pointer-events: none;
}

.sequence-copy {
  position: absolute;
  top: 50%;
  right: 9%;
  transform: translateY(-50%);
  width: min(430px, 38%);
  opacity: 0;
  transition: opacity 0.35s;
}

.sequence-copy h2 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.15;
}

.sequence-copy p {
  margin-bottom: 12px;
}

.copy-a {
  opacity: 1;
}

.scroll-progress {
  position: absolute;
  left: 30px;
  top: 20%;
  height: 60%;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 0;
  background: #8bc7ff;
}

.technology {
  background: linear-gradient(#04070d, #07101b);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 70px;
}

.section-head > p {
  color: var(--muted);
  max-width: 400px;
  line-height: 2;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.tech-grid article {
  padding: 34px 25px;
  border-left: 1px solid var(--line);
  min-height: 230px;
}

.tech-grid article:last-child {
  border-right: 1px solid var(--line);
}

.tech-grid span {
  font: 12px Arial;
  color: #6e9dca;
}

.tech-grid h3 {
  font:
    500 24px Arial,
    sans-serif;
  margin: 45px 0 18px;
  direction: ltr;
}

.tech-grid p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.architecture-box {
  height: 600px;
  margin-top: 50px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at center,
    rgba(47, 111, 176, 0.14),
    transparent 35%
  );
}

.arch-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border: 1px solid #80bdf3;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font: bold 19px Arial;
  box-shadow: 0 0 80px rgba(86, 163, 235, 0.18);
}

.arch-center small {
  font-size: 9px;
  color: #7ea6ca;
  letter-spacing: 3px;
}

.arch-node {
  position: absolute;
  padding: 15px 25px;
  border: 1px solid rgba(125, 187, 244, 0.35);
  background: rgba(8, 18, 30, 0.8);
  font: 12px Arial;
  letter-spacing: 1px;
}

.n1 {
  top: 17%;
  left: 12%;
}

.n2 {
  top: 20%;
  right: 12%;
}

.n3 {
  bottom: 18%;
  left: 14%;
}

.n4 {
  bottom: 20%;
  right: 14%;
}

.line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #77b9ef, transparent);
  transform-origin: left;
}

.l1 {
  width: 34%;
  left: 22%;
  top: 32%;
  transform: rotate(23deg);
}

.l2 {
  width: 34%;
  right: 22%;
  top: 34%;
  transform: rotate(157deg);
}

.l3 {
  width: 34%;
  left: 24%;
  bottom: 32%;
  transform: rotate(-23deg);
}

.l4 {
  width: 34%;
  right: 23%;
  bottom: 34%;
  transform: rotate(203deg);
}

.contact {
  padding: 180px 0;
}

.contact-box {
  text-align: center;
}

.contact-box .eyebrow {
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 45px;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 42px;
  border-top: 1px solid var(--line);
  color: #69758a;
  font-size: 11px;
  direction: ltr;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  to {
    background-position: 580px 580px;
  }
}

@media (max-width: 800px) {
  .site-header {
    padding: 0 18px;
  }

  nav {
    display: none;
  }

  .header-btn {
    padding: 8px 12px;
  }

  .section {
    padding: 100px 0;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .split,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
    gap: 30px;
  }

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

  .tech-grid article:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .sequence-copy {
    right: 6%;
    width: 88%;
    top: auto;
    bottom: 12%;
    transform: none;
  }

  .scroll-progress {
    left: 15px;
  }

  .architecture-box {
    height: 450px;
  }

  .arch-node {
    padding: 10px 13px;
    font-size: 9px;
  }

  .n1 {
    left: 5%;
  }

  .n2 {
    right: 5%;
  }

  .n3 {
    left: 5%;
  }

  .n4 {
    right: 5%;
  }

  footer {
    padding: 25px 18px;
  }
}

.team-photo {
  position: absolute;
  left: 25px;
  bottom: 0;
  width: 420px;
  z-index: 10;
  pointer-events: none;

  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 35px rgba(90, 170, 255, 0.08));

  animation: teamFloat 10s ease-in-out infinite;
}

.team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes teamFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@media (max-width: 800px) {
  .team-photo {
    left: 10px;
    bottom: 10px;
    width: 220px;
  }
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(110, 183, 255, 0.05),
    rgba(154, 213, 255, 0.5),
    rgba(110, 183, 255, 0.05),
    transparent
  );
  box-shadow: 0 0 12px rgba(110, 183, 255, 0.25);
  z-index: 8;
  pointer-events: none;
  animation: scanMove 7s linear infinite;
}

@keyframes scanMove {
  0% {
    top: -2px;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* === LOADER GLITCH === */
.loader {
  position: fixed;
  inset: 0;
  background: #04070d;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
  overflow: hidden;
}

.loader.done {
  opacity: 0;
  pointer-events: none;
}

.loader-noise {
  position: absolute;
  inset: -50%;
  background-image: 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.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.12;
  animation: noiseMove 0.15s steps(2) infinite;
}

@keyframes noiseMove {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-3%, 2%);
  }

  50% {
    transform: translate(2%, -3%);
  }

  75% {
    transform: translate(-2%, -2%);
  }

  100% {
    transform: translate(3%, 3%);
  }
}

.loader-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 0px,
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: 0.5;
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: loaderShake 0.5s ease-in-out infinite;
}

@keyframes loaderShake {
  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-1px, 1px);
  }

  40% {
    transform: translate(1px, -1px);
  }

  60% {
    transform: translate(-1px, 0);
  }

  80% {
    transform: translate(1px, 1px);
  }
}

.loader-logo {
  font:
    900 clamp(56px, 10vw, 110px)/1 Arial,
    sans-serif;
  letter-spacing: 8px;
  color: #f4f7ff;
  position: relative;
  direction: ltr;
  text-shadow:
    0 0 20px rgba(110, 183, 255, 0.5),
    0 0 40px rgba(110, 183, 255, 0.3);
}

.loader-logo.glitch::before,
.loader-logo.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loader-logo.glitch::before {
  color: #ff0040;
  animation: glitchTop 2.5s infinite steps(2, end);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.loader-logo.glitch::after {
  color: #00fff0;
  animation: glitchBottom 2.5s infinite steps(2, end);
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitchTop {
  0%,
  100% {
    transform: translate(0);
  }

  2% {
    transform: translate(4px, -2px);
  }

  4% {
    transform: translate(-3px, 2px);
  }

  6% {
    transform: translate(0);
  }

  42% {
    transform: translate(0);
  }

  44% {
    transform: translate(-5px, 3px);
  }

  46% {
    transform: translate(3px, -1px);
  }

  48% {
    transform: translate(0);
  }
}

@keyframes glitchBottom {
  0%,
  100% {
    transform: translate(0);
  }

  2% {
    transform: translate(-4px, 2px);
  }

  4% {
    transform: translate(3px, -2px);
  }

  6% {
    transform: translate(0);
  }

  52% {
    transform: translate(0);
  }

  54% {
    transform: translate(5px, -3px);
  }

  56% {
    transform: translate(-3px, 1px);
  }

  58% {
    transform: translate(0);
  }
}

.loader-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    600 12px Arial,
    sans-serif;
  letter-spacing: 3px;
  color: #8994a8;
  direction: ltr;
}

.loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6eb7ff;
  box-shadow: 0 0 12px #6eb7ff;
  animation: dotPulse 1s infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

.loader-progress {
  width: 280px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.loader-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6eb7ff, #9ad5ff, #6eb7ff);
  box-shadow: 0 0 15px #6eb7ff;
  width: 0%;
  transition: width 0.2s ease;
  animation: progressGlitch 3s infinite;
}

@keyframes progressGlitch {
  0%,
  90%,
  100% {
    transform: translateX(0);
  }

  92% {
    transform: translateX(-3px) scaleY(2);
  }

  94% {
    transform: translateX(3px) scaleY(0.5);
  }

  96% {
    transform: translateX(0);
  }
}

.loader-percent {
  font:
    700 14px Arial,
    sans-serif;
  letter-spacing: 4px;
  color: #9ad5ff;
  direction: ltr;
  animation: textFlicker 3s infinite;
}

@keyframes textFlicker {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  52% {
    opacity: 0.4;
  }

  54% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  72% {
    opacity: 0.2;
  }

  74% {
    opacity: 1;
  }
}

.loader-lines {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.loader-lines i {
  width: 30px;
  height: 1px;
  background: rgba(110, 183, 255, 0.4);
  animation: lineMove 1.5s infinite;
}

.loader-lines i:nth-child(2) {
  animation-delay: 0.2s;
  background: #6eb7ff;
  width: 45px;
}

.loader-lines i:nth-child(3) {
  animation-delay: 0.4s;
  width: 25px;
}

@keyframes lineMove {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.loader-text {
  font:
    500 10px Arial,
    sans-serif;
  letter-spacing: 2px;
  color: #69758a;
  margin-top: 10px;
  direction: ltr;
  animation: textFlicker 4s infinite;
}

/* === PAGE GLITCH ON LOAD === */
body.glitch-in {
  animation: pageGlitch 0.8s steps(5) forwards;
}

@keyframes pageGlitch {
  0% {
    filter: blur(8px) hue-rotate(90deg);
    transform: translate(0);
  }

  20% {
    filter: blur(0) hue-rotate(0);
    transform: translate(-5px, 3px) skewX(2deg);
  }

  40% {
    filter: blur(2px) contrast(1.5);
    transform: translate(5px, -2px) skewX(-2deg);
  }

  60% {
    filter: blur(0);
    transform: translate(-2px, 1px);
  }

  80% {
    filter: blur(1px) invert(0.1);
    transform: translate(2px, -1px);
  }

  100% {
    filter: none;
    transform: translate(0);
  }
}

body.glitch-in::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.25) 0px,
    rgba(0, 0, 0, 0.25) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 9998;
  animation: scanFade 0.8s forwards;
}

@keyframes scanFade {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 800px) {
  .loader-logo {
    letter-spacing: 4px;
  }

  .loader-progress {
    width: 220px;
  }
}

/* === SEQUENCE COPY REVEAL ANIMATION === */
.sequence-copy {
  opacity: 0 !important;
  transform: translateY(80px) translateZ(0);
  filter: blur(8px);
  transition:
    opacity 0.5s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  will-change: transform, opacity, filter;
}

.sequence-copy.active {
  opacity: 1 !important;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered reveal for child elements */
.sequence-copy.active p,
.sequence-copy.active h2 {
  opacity: 0;
  transform: translateY(28px);
  animation: revealChild 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sequence-copy.active p {
  animation-delay: 0.12s;
}

.sequence-copy.active h2 {
  animation-delay: 0.3s;
}

.sequence-copy.active h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: revealChild 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

@keyframes revealChild {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* When leaving (not active), quick fade out */
.sequence-copy:not(.active) {
  transition:
    opacity 0.25s ease,
    transform 0.4s ease,
    filter 0.3s ease;
}

/* === FILM GRAIN === */
.film-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: 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.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.15s steps(3) infinite;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-5%, -5%);
  }

  40% {
    transform: translate(7%, -3%);
  }

  60% {
    transform: translate(-3%, 7%);
  }

  80% {
    transform: translate(5%, 5%);
  }
}

/* === VIGNETTE === */
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.45) 85%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

/* === VIEWFINDER CORNERS === */
.vf-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 6;
  pointer-events: none;
}

.vf-corner::before,
.vf-corner::after {
  content: "";
  position: absolute;
  background: rgba(154, 213, 255, 0.6);
  box-shadow: 0 0 8px rgba(154, 213, 255, 0.4);
}

.vf-corner::before {
  width: 100%;
  height: 1px;
}

.vf-corner::after {
  width: 1px;
  height: 100%;
}

.vf-tl {
  top: 32px;
  left: 32px;
}

.vf-tl::before {
  top: 0;
  left: 0;
}

.vf-tl::after {
  top: 0;
  left: 0;
}

.vf-tr {
  top: 32px;
  right: 32px;
}

.vf-tr::before {
  top: 0;
  right: 0;
}

.vf-tr::after {
  top: 0;
  right: 0;
}

.vf-bl {
  bottom: 80px;
  left: 32px;
}

.vf-bl::before {
  bottom: 0;
  left: 0;
}

.vf-bl::after {
  bottom: 0;
  left: 0;
}

.vf-br {
  bottom: 80px;
  right: 32px;
}

.vf-br::before {
  bottom: 0;
  right: 0;
}

.vf-br::after {
  bottom: 0;
  right: 0;
}

/* === HUD TOP (Frame Counter + Timecode) === */
.hud-top {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  padding: 0 90px;
  display: flex;
  justify-content: space-between;
  z-index: 7;
  pointer-events: none;
  font:
    600 11px "Courier New",
    monospace;
  letter-spacing: 2px;
  color: #9ad5ff;
  direction: ltr;
  text-shadow: 0 0 10px rgba(110, 183, 255, 0.5);
}

.hud-frame,
.hud-time {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(3, 6, 12, 0.5);
  padding: 8px 14px;
  border: 1px solid rgba(110, 183, 255, 0.2);
  backdrop-filter: blur(4px);
}

.hud-label {
  color: #69758a;
  font-size: 9px;
}

.hud-value {
  color: #fff;
  font-weight: 700;
}

.hud-slash {
  color: #69758a;
}

.hud-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b5c;
  box-shadow: 0 0 10px #ff3b5c;
  animation: recBlink 1.2s infinite;
}

@keyframes recBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* === CROSSHAIR === */
.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  z-index: 6;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.ch-h,
.ch-v {
  position: absolute;
  background: rgba(154, 213, 255, 0.7);
  box-shadow: 0 0 6px rgba(154, 213, 255, 0.5);
}

.ch-h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.ch-v {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

.ch-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(154, 213, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: crossPulse 2s ease-in-out infinite;
}

@keyframes crossPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

/* === GLITCH BARS === */
.glitch-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  overflow: hidden;
}

.glitch-bar {
  position: absolute;
  left: 0;
  right: 0;
  background: rgba(154, 213, 255, 0.08);
  mix-blend-mode: screen;
}

/* === HUD BOTTOM === */
.hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 7;
  font:
    500 10px "Courier New",
    monospace;
  letter-spacing: 1.5px;
  color: #8994a8;
  direction: ltr;
  border-top: 1px solid rgba(110, 183, 255, 0.15);
  background: linear-gradient(0deg, rgba(3, 6, 12, 0.8), transparent);
}

.hud-bottom b {
  color: #9ad5ff;
  margin-right: 4px;
  font-weight: 700;
}

.hud-bottom span {
  transition: color 0.3s;
}

.hud-status #hudStatus {
  color: #9ad5ff;
}

/* === PARALLAX TEAM PHOTO === */
.team-photo {
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

.sequence-copy {
  transition:
    opacity 0.5s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  will-change: transform;
}

@media (max-width: 800px) {
  .vf-corner {
    width: 25px;
    height: 25px;
  }

  .vf-tl,
  .vf-tr {
    top: 20px;
  }

  .vf-bl,
  .vf-br {
    bottom: 60px;
  }

  .vf-tl,
  .vf-bl {
    left: 20px;
  }

  .vf-tr,
  .vf-br {
    right: 20px;
  }

  .hud-top {
    top: 25px;
    padding: 0 50px;
    font-size: 9px;
  }

  .hud-top > div {
    padding: 6px 10px;
    gap: 6px;
  }

  .crosshair {
    width: 40px;
    height: 40px;
  }

  .ch-circle {
    width: 22px;
    height: 22px;
  }

  .hud-bottom {
    padding: 10px 15px;
    font-size: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hud-bottom span:nth-child(3) {
    display: none;
  }
}
/* === RESPONSIVE FIX === */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
}
.scroll-sticky {
  height: 100vh;
  height: 100dvh;
}

@media (max-width: 800px) {
  .sequence-copy {
    top: auto;
    bottom: 10%;
    right: 5%;
    width: 90%;
  }

  .sequence-copy h2 {
    font-size: clamp(28px, 7.5vw, 46px);
  }

  .scroll-story {
    height: 480vh;
  }
}
