:root {
  --bg: #070d18;
  --panel: rgba(14, 24, 42, 0.78);
  --dark: rgba(5, 10, 19, 0.9);

  --text: #f4f7ff;
  --muted: #a8b4c7;
  --soft: #6f7f99;

  --blue: #3f7cff;
  --cyan: #00d8ff;
  --saffron: #ffad33;
  --orange: #ff7a1a;
  --green: #35ff9b;
  --purple: #8b5cff;

  --border: rgba(255,255,255,0.13);
  --shadow: 0 32px 100px rgba(0,0,0,0.36);

  --mono: "Courier New", Consolas, Monaco, monospace;
  --clean: Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mono);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.hero-bg-video {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.1) contrast(1.1);
}

.hero-bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(63,124,255,0.35), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(255,173,51,0.18), transparent 30%),
    linear-gradient(135deg, rgba(7,13,24,0.88), rgba(16,24,39,0.9), rgba(7,13,24,0.94));
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--saffron), var(--orange));
}

nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(7,13,24,0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  width: min(1180px, calc(100% - 36px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(63,124,255,0.35))
    drop-shadow(0 0 22px rgba(255,173,51,0.18));
}

.brand-text strong {
  display: block;
  font-size: 14px;
}

.brand-text span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--saffron);
}

.nav-cta {
  padding: 10px 16px;
  background: var(--saffron);
  color: #101827 !important;
  font-weight: 900;
}

main {
  width: min(1420px, calc(100% - 56px));
  margin: auto;
}

section {
  padding: 55px 0;
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: var(--clean);
}

h1 {
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.078em;
  max-width: 780px;
}

h2 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h3 {
  font-size: 28px;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

p {
  font-family: var(--clean);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
  padding: 70px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--saffron);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--saffron);
}

.tagline {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--green);
  font-size: 14px;
}

.tagline::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

.hero-copy {
  margin-top: 26px;
  max-width: 670px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.065);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--saffron));
  box-shadow: 0 18px 55px rgba(63,124,255,0.26);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.26);
}

.hero-stage {
  position: relative;
  min-height: 700px;
}

.cinematic-frame {
  position: absolute;
  inset: 0 0 0 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: var(--dark);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cinematic-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  filter: saturate(1.15) contrast(1.08) brightness(0.96);
}

.cinematic-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,13,24,0.02), rgba(7,13,24,0.42)),
    radial-gradient(circle at 30% 18%, rgba(63,124,255,0.13), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(255,173,51,0.1), transparent 34%);
}

.cinematic-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.45;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 34px),
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,0.1) 50%, transparent 58%);
  animation: slowScan 9s linear infinite;
}

@keyframes slowScan {
  from {
    transform: translateX(-80%);
  }

  to {
    transform: translateX(80%);
  }
}

.hero-portrait {
  position: absolute;
  right: 0;
  bottom: 44px;
  width: 260px;
  height: 330px;
  z-index: 8;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(7,13,24,0.8);
  box-shadow: 0 28px 90px rgba(0,0,0,0.35);
  overflow: hidden;
}

.hero-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: portraitFade 16s infinite;
}

.hero-portrait img:nth-child(1) {
  animation-delay: 0s;
}

.hero-portrait img:nth-child(2) {
  animation-delay: 4s;
}

.hero-portrait img:nth-child(3) {
  animation-delay: 8s;
}

.hero-portrait img:nth-child(4) {
  animation-delay: 12s;
}

@keyframes portraitFade {
  0%,
  20% {
    opacity: 1;
    transform: scale(1);
  }

  25%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.hud-card {
  position: absolute;
  z-index: 9;
  min-width: 170px;
  padding: 16px;
  background: rgba(8, 15, 28, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 18px 60px rgba(0,0,0,0.24);
  animation: hudFloat 5.5s ease-in-out infinite;
}

.hud-card small {
  display: block;
  color: var(--soft);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hud-card strong {
  display: block;
  font-family: var(--clean);
  font-size: 20px;
  letter-spacing: -0.045em;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hud-card strong.text-switching {
  opacity: 0;
  transform: translateY(8px);
}

.hud-one {
  left: 0;
  top: 150px;
}

.hud-two {
  right: 18px;
  top: 110px;
  animation-delay: 0.7s;
}

.hud-three {
  left: 70px;
  bottom: 78px;
  animation-delay: 1.2s;
}

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

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

.wire-orbit {
  position: absolute;
  z-index: 6;
  width: 170px;
  height: 170px;
  left: 58px;
  top: 330px;
  border: 1px solid rgba(0,216,255,0.28);
  border-radius: 50%;
  opacity: 0.72;
  animation: orbitFloat 6s ease-in-out infinite, orbitPulse 4s ease-in-out infinite;
}

.wire-orbit::before,
.wire-orbit::after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(255,173,51,0.28);
  border-radius: 50%;
  transform: rotate(60deg);
}

.wire-orbit::after {
  inset: 48px;
  border-color: rgba(255,255,255,0.26);
  transform: rotate(-40deg);
}

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

  50% {
    transform: translateY(-14px) rotate(12deg);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(0,216,255,0);
  }

  50% {
    box-shadow: 0 0 40px rgba(0,216,255,0.18);
  }
}

.wire-cube {
  position: absolute;
  right: 84px;
  bottom: 400px;
  z-index: 6;
  width: 90px;
  height: 90px;
  opacity: 0.8;
  transform-style: preserve-3d;
  animation: cubeSpin 12s linear infinite;
}

.cube-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,173,51,0.42);
  background: rgba(255,173,51,0.035);
  box-shadow: 0 0 24px rgba(255,173,51,0.12);
}

.cube-face:nth-child(1) {
  transform: translateZ(45px);
}

.cube-face:nth-child(2) {
  transform: rotateY(90deg) translateZ(45px);
}

.cube-face:nth-child(3) {
  transform: rotateY(180deg) translateZ(45px);
}

.cube-face:nth-child(4) {
  transform: rotateY(-90deg) translateZ(45px);
}

.cube-face:nth-child(5) {
  transform: rotateX(90deg) translateZ(45px);
}

.cube-face:nth-child(6) {
  transform: rotateX(-90deg) translateZ(45px);
}

@keyframes cubeSpin {
  from {
    transform: rotateX(-18deg) rotateY(0);
  }

  to {
    transform: rotateX(-18deg) rotateY(360deg);
  }
}

.s3d-orb {
  display: none !important;
}

.section-panel {
  position: relative;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: 0.25s;
}

.section-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(63,124,255,0.17), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(255,173,51,0.12), transparent 28%);
}

.section-panel > * {
  position: relative;
  z-index: 2;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-kicker {
  color: var(--saffron);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-head p,
.panel-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card {
  min-height: 275px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  transition: 0.28s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.078);
}

.card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,124,255,0.22), transparent 64%);
}

.card.orange::before {
  background: radial-gradient(circle, rgba(255,173,51,0.25), transparent 64%);
}

.card.cyan::before {
  background: radial-gradient(circle, rgba(0,216,255,0.18), transparent 64%);
}

.card.purple::before {
  background: radial-gradient(circle, rgba(139,92,255,0.2), transparent 64%);
}

.card-index {
  position: relative;
  z-index: 2;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 70px;
}

.card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  line-height: 1.68;
  font-size: 15px;
}

.terminal-card {
  background: rgba(4,8,15,0.74);
  min-height: 460px;
}

.terminal-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--saffron);
}

.dot:nth-child(2) {
  background: var(--cyan);
}

.dot:nth-child(3) {
  background: var(--blue);
}

.terminal-line {
  color: #dce8ff;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 6px;
}

.terminal-line span {
  color: var(--green);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stat {
  padding: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.stat strong {
  display: block;
  font-family: var(--clean);
  font-size: 26px;
  color: var(--saffron);
  letter-spacing: -0.05em;
  margin-bottom: 5px;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.flow-step {
  min-height: 160px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.055);
}

.flow-step strong {
  display: block;
  color: var(--saffron);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}

.flow-step h4 {
  font-size: 18px;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.flow-step p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.sayvah-card {
  background:
    linear-gradient(135deg, rgba(5,10,20,0.94), rgba(14,34,76,0.88)),
    radial-gradient(circle at 80% 10%, rgba(255,173,51,0.24), transparent 36%);
}

.sayvah-mockups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.app-shot {
  min-height: 280px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.media-card {
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.28);
}

.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,10,19,0.82));
  pointer-events: none;
}

.media-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
}

.media-overlay p {
  color: rgba(255,255,255,0.76);
}

.model-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.model-shot {
  min-height: 260px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  overflow: hidden;
}

.model-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.45s;
}

.model-shot:hover img {
  transform: scale(1.045);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.contact-links {
  display: grid;
  gap: 12px;
  min-width: 270px;
}

.contact-links a {
  text-decoration: none;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--muted);
  transition: 0.25s;
}

.contact-links a:hover {
  color: var(--saffron);
  transform: translateX(4px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s, transform 0.75s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: wordIn 0.68s ease forwards;
  animation-delay: calc(var(--i) * 0.045s);
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .section-head,
  .grid-2,
  .grid-3,
  .media-grid,
  .contact-card,
  .model-gallery,
  .flow-grid,
  .sayvah-mockups {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 720px;
  }

  .cinematic-frame {
    inset: 20px 0 0 0;
  }

  .hero-portrait {
    right: 20px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 560px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  section {
    padding: 34px 0;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-stage {
    display: block;
    min-height: auto;
    margin-top: 34px;
  }

  .cinematic-frame {
    position: relative;
    inset: auto;
    height: 430px;
  }

  .hero-portrait,
  .hud-card,
  .wire-orbit,
  .wire-cube,
  .s3d-orb {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin-top: 12px;
  }

  .hero-portrait img {
    height: 280px;
  }

  .wire-orbit,
  .wire-cube,
  .s3d-orb {
    display: none;
  }

  .section-panel {
    padding: 22px;
  }

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

  .contact-links {
    min-width: unset;
  }

}

/* =========================
   HERO WIDER CINEMATIC LAYOUT
========================= */

@media(min-width: 981px) {
  .hero {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 58px;
  }

  .hero-stage {
    min-height: 760px;
  }

  .cinematic-frame {
    inset: 0;
  }

  .hero-portrait {
    width: 285px;
    height: 360px;
    right: -38px;
    bottom: 36px;
  }

  .hud-one {
    left: -42px;
    top: 170px;
  }

  .hud-two {
    right: -32px;
    top: 120px;
  }

  .hud-three {
    left: 72px;
    bottom: 95px;
  }

  .wire-orbit {
    left: 34px;
    top: 385px;
  }

  .wire-cube {
    right: 92px;
    bottom: 450px;
  }
}

/* =========================
   EXTRA HERO HUD + HOLOGRAPHICS
========================= */

.hud-four {
  left: 245px;
  top: 48px;
  animation-delay: 1.6s;
}

.hud-five {
  right: 115px;
  bottom: 215px;
  animation-delay: 2s;
}

.hud-six {
  left: -26px;
  bottom: 260px;
  animation-delay: 2.4s;
}

.holo-ring,
.holo-crosshair,
.holo-scanline {
  position: absolute;
  z-index: 7;
  pointer-events: none;
}

.holo-ring {
  width: 140px;
  height: 140px;
  border: 1px solid rgba(0,216,255,0.24);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(0,216,255,0.1);
  animation: holoPulse 4.5s ease-in-out infinite;
}

.holo-ring::before,
.holo-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,173,51,0.18);
}

.holo-ring::before {
  inset: 24px;
}

.holo-ring::after {
  inset: 52px;
  border-color: rgba(255,255,255,0.16);
}

.holo-ring-one {
  right: 250px;
  top: 305px;
}

.holo-ring-two {
  left: 225px;
  bottom: 170px;
  width: 95px;
  height: 95px;
  animation-delay: 1.2s;
}

.holo-crosshair {
  right: 68px;
  top: 360px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255,173,51,0.22);
  opacity: 0.65;
  animation: crosshairDrift 6s ease-in-out infinite;
}

.holo-crosshair::before,
.holo-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255,173,51,0.28);
}

.holo-crosshair::before {
  width: 1px;
  height: 140%;
  left: 50%;
  top: -20%;
}

.holo-crosshair::after {
  height: 1px;
  width: 140%;
  left: -20%;
  top: 50%;
}

.holo-scanline {
  left: 0;
  right: 0;
  top: 54%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,216,255,0.55), transparent);
  opacity: 0.55;
  animation: heroScanline 5s ease-in-out infinite;
}

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

  50% {
    transform: scale(1.12);
    opacity: 0.88;
  }
}

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

  50% {
    transform: translate(-12px, 10px);
  }
}

@keyframes heroScanline {
  0% {
    transform: translateY(-160px);
    opacity: 0;
  }

  35% {
    opacity: 0.55;
  }

  70% {
    opacity: 0.55;
  }

  100% {
    transform: translateY(160px);
    opacity: 0;
  }
}

@media(max-width: 980px) {
  .hud-four,
  .hud-five,
  .hud-six,
  .holo-ring,
  .holo-crosshair,
  .holo-scanline {
    display: none;
  }
}


/* =========================
   HERO IMAGE + 3D PREVIEW IMPROVEMENTS
========================= */

@media(min-width: 981px) {
  .hero-portrait {
    right: -72px;
    bottom: 34px;
  }

  .hud-five {
    right: -58px;
    bottom: 8px;
    z-index: 12;
  }
}

.hero-model-preview {
  position: absolute;
  left: -34px;
  bottom: 35px;
  width: 215px;
  height: 150px;
  z-index: 8;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,10,19,0.82);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.hero-model-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  animation: modelPreviewFade 20s infinite;
}

.hero-model-preview img:nth-child(1) {
  animation-delay: 0s;
}

.hero-model-preview img:nth-child(2) {
  animation-delay: 5s;
}

.hero-model-preview img:nth-child(3) {
  animation-delay: 10s;
}

.hero-model-preview img:nth-child(4) {
  animation-delay: 15s;
}

@keyframes modelPreviewFade {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  8%,
  24% {
    opacity: 1;
    transform: scale(1);
  }

  32%,
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

.model-preview-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 10px 12px;
  background: rgba(5,10,19,0.78);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}

.model-preview-label small {
  display: block;
  color: var(--soft);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.model-preview-label strong {
  display: block;
  font-family: var(--clean);
  font-size: 14px;
}

.hud-card {
  animation:
    hudFloat 5.5s ease-in-out infinite,
    hudFadeIn 1.2s ease both;
}

.hud-one { animation-delay: 0.1s, 0.2s; }
.hud-two { animation-delay: 0.7s, 0.45s; }
.hud-three { animation-delay: 1.2s, 0.7s; }
.hud-four { animation-delay: 1.6s, 0.95s; }
.hud-five { animation-delay: 2s, 1.2s; }
.hud-six { animation-delay: 2.4s, 1.45s; }

@keyframes hudFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.cinematic-frame::after {
  animation:
    slowScan 9s linear infinite,
    heroBreath 6s ease-in-out infinite;
}

@keyframes heroBreath {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.58;
  }
}

@media(max-width: 980px) {
  .hero-model-preview {
    display: none;
  }
}

/* =========================
   ABOUT RAJAN V2
========================= */

.about-v2-panel {
  overflow: hidden;
}

.about-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-main-card {
  min-height: 520px;
}

.about-right-stack {
  display: grid;
  gap: 18px;
}

.about-terminal {
  min-height: 360px;
}

.terminal-command {
  color: var(--green);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.terminal-command span {
  color: var(--saffron);
  margin-right: 8px;
}

.terminal-response {
  color: #dce8ff;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.about-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.about-photo-strip img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
  filter: saturate(1.04) contrast(1.04);
  transition: 0.35s ease;
}

.about-photo-strip img:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(255,173,51,0.45);
}

/* Horizontal scroll */

.about-horizontal-wrap {
  margin-top: 34px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

.about-horizontal-wrap::-webkit-scrollbar {
  height: 8px;
}

.about-horizontal-wrap::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
}

.about-horizontal-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blue), var(--saffron));
}

.about-horizontal-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.about-scroll-card {
  width: min(420px, 82vw);
  min-height: 280px;
  scroll-snap-align: start;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035)),
    rgba(5,10,19,0.64);
  position: relative;
  overflow: hidden;
}

.about-scroll-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -90px;
  right: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,216,255,0.18), transparent 65%);
}

.about-scroll-card span {
  display: block;
  color: var(--saffron);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 45px;
}

.about-scroll-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.about-scroll-card.image-card {
  padding: 0;
  width: 260px;
}

.about-scroll-card.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Timeline */

.about-timeline {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.timeline-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.timeline-item {
  padding: 18px;
  min-height: 180px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 42px;
  height: 3px;
  background: var(--saffron);
  box-shadow: 0 0 20px rgba(255,173,51,0.45);
}

.timeline-item strong {
  display: block;
  color: var(--cyan);
  font-size: 13px;
  margin-bottom: 28px;
}

.timeline-item h4 {
  font-size: 17px;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Responsive */

@media(max-width: 980px) {
  .about-v2-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .about-main-card {
    min-height: auto;
  }

  .about-photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-photo-strip img {
    height: 230px;
  }
}

@media(max-width: 560px) {
  .about-photo-strip img {
    height: 190px;
  }

  .about-scroll-card {
    min-height: 260px;
  }
}