@font-face {
  font-family: 'Orbitron';
  src: url('assets/fonts/orbitron-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('assets/fonts/orbitron-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('assets/fonts/orbitron-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('assets/fonts/rajdhani-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('assets/fonts/rajdhani-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('assets/fonts/rajdhani-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #f2f3f5;
  --muted: #bbc3d3;
  --line: rgba(190, 212, 255, 0.18);
  --accent: #ff9e41;
  --accent-soft: #ffc785;
  --panel: rgba(10, 16, 30, 0.76);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 14% 20%, rgba(64, 147, 255, 0.1), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(255, 158, 65, 0.08), transparent 30%),
    linear-gradient(160deg, #06080f 0%, #070d1c 55%, #06070c 100%);
}

body {
  position: relative;
  overflow-x: hidden;
}

.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(165deg, rgba(6, 10, 18, 0.2), rgba(6, 10, 18, 0.58)),
    url('assets/images/bg-parallax.jpg');
  background-size: 62px 62px, 62px 62px, cover, cover;
  background-position: center, center, center, center;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  filter: contrast(1.2) saturate(1.05);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.bg-glow {
  position: fixed;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  filter: blur(42px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  animation: floaty 11s ease-in-out infinite alternate;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.bg-glow-a {
  left: -8rem;
  top: 12rem;
  background: #4a6dff;
}

.bg-glow-b {
  right: -8rem;
  bottom: 10rem;
  background: #ff9b3d;
  animation-delay: 1.8s;
}

.shell {
  width: min(1160px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  padding: 1rem 0 3rem;
}

.module-header {
  min-height: auto;
  padding: 1rem 0 0.5rem;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.72);
  padding: 0.38rem 0.9rem;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: visible;
}

.topbar::after {
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 158, 65, 0.95), rgba(108, 189, 255, 0.95), transparent);
  opacity: 0.8;
  animation: navSweep 4s linear infinite;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo .logo-svg {
  width: clamp(250px, 28vw, 410px);
  height: auto;
  aspect-ratio: 920 / 300;
  display: block;
  border: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  animation: logoPulse 4.2s ease-in-out infinite;
}

.logo .logo-inline {
  width: clamp(340px, 40vw, 560px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.menu {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.03rem;
  text-transform: uppercase;
}

.menu a:hover { color: var(--text); }

.nav-cta {
  text-decoration: none;
  color: #23170a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 999px;
  padding: 0.42rem 0.92rem;
  box-shadow: 0 0 16px rgba(255, 158, 65, 0.35);
}

.hero-shell {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.hero-copy {
  order: 2;
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(13, 22, 41, 0.86), rgba(8, 12, 22, 0.82));
  border-radius: 1.1rem;
}

.eyebrow {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.12rem;
  color: var(--accent-soft);
  font-size: 0.72rem;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  margin: 0.6rem 0 0.9rem;
  line-height: 1.1;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.02rem; }
h4 { font-size: 0.94rem; }

p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  max-width: 60ch;
}

.hero-copy p + p {
  margin-top: 0.6rem;
}

.pill-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill-row span {
  border: 1px solid rgba(255, 158, 65, 0.45);
  color: #ffd3a5;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.88rem;
}

.btn {
  margin-top: 1.2rem;
  display: inline-block;
  text-decoration: none;
  color: #1f1408;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  padding: 0.75rem 1rem;
  border-radius: 0.45rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.hero-image {
  order: 1;
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(165deg, rgba(10, 18, 34, 0.92), rgba(6, 10, 20, 0.9));
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.hero-image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  max-height: min(76vh, 760px);
  object-fit: contain;
  filter: grayscale(0.1) contrast(1.08);
}

.fire-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 74% 38%, rgba(255, 158, 65, 0.4), transparent 25%),
    linear-gradient(to bottom, rgba(6, 8, 12, 0.05), rgba(6, 8, 12, 0.56));
  pointer-events: none;
}

.section {
  position: relative;
  isolation: isolate;
  margin-top: 2.2rem;
  padding: 2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

#gallery.section {
  overflow: visible;
  padding-bottom: 6.5rem;
}

#modules.section {
  overflow: visible;
  padding-bottom: 6rem;
}

.panel-text p { margin-top: 0.55rem; }

.stats {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.stats div {
  border: 1px solid rgba(255, 158, 65, 0.32);
  border-radius: 0.7rem;
  background: rgba(255, 158, 65, 0.08);
  padding: 0.65rem;
}

.stats strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-soft);
  font-size: 1.2rem;
}

.stats span {
  color: #d6dae1;
  font-size: 0.92rem;
}

.gallery {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  background: #111827;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.08);
}

.card h3,
.card p { padding: 0 0.75rem; }

.card h3 { margin-top: 0.75rem; }

.card p {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.module-link {
  display: inline-block;
  margin: 0 0.75rem 0.95rem;
  text-decoration: none;
  color: #24170a;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 0.35rem;
  padding: 0.32rem 0.62rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.04rem;
}

.vr-card .vr-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  background: var(--accent);
  color: #201207;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.08rem;
  padding: 0.22rem 0.43rem;
  border-radius: 0.3rem;
}

.vr-card .vr-ring {
  position: absolute;
  top: 32%;
  left: 50%;
  z-index: 2;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 191, 120, 0.88);
  box-shadow: 0 0 18px rgba(255, 158, 65, 0.55), inset 0 0 12px rgba(255, 158, 65, 0.35);
  transform: translate(-50%, -50%);
  animation: vrPulse 2.2s ease-in-out infinite;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.split-panel article {
  border: 1px solid rgba(190, 212, 255, 0.16);
  border-radius: 0.8rem;
  padding: 1rem;
  background: rgba(13, 20, 35, 0.68);
}

.split-panel article p + p {
  margin-top: 0.7rem;
}

.info-strip {
  margin-top: 2.4rem;
  background: #eceef1;
  padding: 2rem 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.features article {
  background: #ffffff;
  border: 1px solid #d8dde5;
  border-radius: 0.9rem;
  padding: 1rem;
}

.features p {
  color: #525b69;
  font-size: 0.95rem;
}

.features a {
  display: inline-block;
  margin-top: 0.75rem;
  text-decoration: none;
  color: #2a1b0c;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  padding: 0.37rem 0.7rem;
  border-radius: 0.35rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.67rem;
}

.module-stack {
  display: grid;
  gap: 1rem;
}

.module-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 1rem;
  border: 1px solid rgba(190, 212, 255, 0.18);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(9, 14, 26, 0.78);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.module-detail figure {
  margin: 0;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.module-detail img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.module-detail h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
}

.module-detail p {
  font-size: 1rem;
}

.module-detail p + p {
  margin-top: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes vrPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.55; }
}

@keyframes floaty {
  from { transform: translateY(-16px); }
  to { transform: translateY(16px); }
}

@keyframes logoPulse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

@keyframes navSweep {
  0% { transform: translateX(-30%); opacity: 0.55; }
  50% { transform: translateX(30%); opacity: 1; }
  100% { transform: translateX(-30%); opacity: 0.55; }
}

@media (max-width: 980px) {
  .hero-shell,
  .gallery,
  .features,
  .stats,
  .split-panel,
  .module-detail {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr;
    border-radius: 0.9rem;
  }

  .logo .logo-svg {
    width: min(100%, 360px);
  }

  .logo .logo-inline {
    width: min(100%, 430px);
  }

  .menu {
    justify-content: flex-start;
  }
}
