:root {
  --bg: #05060b;
  --bg-elevated: #0a0d16;
  --cyan: #14f195;
  --cyan-deep: #00c2ff;
  --purple: #9945ff;
  --magenta: #dc1fff;
  --text: #e8eef8;
  --muted: #8b97ad;
  --line: rgba(20, 241, 149, 0.22);
  --gradient: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 45%, var(--purple) 100%);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nebula {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 15% 30%, rgba(20, 241, 149, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 40%, rgba(153, 69, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 194, 255, 0.08), transparent 60%);
  animation: nebula-drift 18s ease-in-out infinite alternate;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.35) 3px
  );
}

@keyframes nebula-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.05);
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(to bottom, rgba(5, 6, 11, 0.92), rgba(5, 6, 11, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
  z-index: 40;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.nav-links {
  display: none;
  gap: 1.75rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.25s var(--ease-out);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(10, 13, 22, 0.6);
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.icon-link:hover {
  color: var(--cyan);
  border-color: rgba(20, 241, 149, 0.55);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.65rem;
}

.btn-primary {
  color: #04110a;
  background: var(--gradient);
  background-size: 160% 160%;
  animation: gradient-shift 6s ease infinite;
  box-shadow: 0 0 0 1px rgba(20, 241, 149, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(153, 69, 255, 0.25);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: rgba(153, 69, 255, 0.55);
  transform: translateY(-3px);
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ——— Hero ——— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 1.5rem;
  padding:
    calc(var(--header-h) + 1.5rem)
    clamp(1rem, 4vw, 2.5rem)
    2rem;
  overflow: hidden;
}

.hero-copy {
  max-width: 36rem;
  position: relative;
  z-index: 2;
}

.ticker-chip {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--cyan);
}

.brand-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 11vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-line {
  display: block;
}

.brand-line.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}

.ticker {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--purple);
}

.tagline {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cta-row.center {
  justify-content: center;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, rgba(20, 241, 149, 0.35), transparent 45%),
    radial-gradient(circle at 70% 55%, rgba(153, 69, 255, 0.4), transparent 50%);
  filter: blur(28px);
  animation: pulse-glow 4.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 88%;
  height: auto;
  animation: float-logo 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
}

@keyframes float-logo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.hud-frame {
  position: absolute;
  inset: 4%;
  z-index: 2;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(20, 241, 149, 0.65);
  border-style: solid;
  border-width: 0;
}

.hud-corner.tl {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}

.hud-corner.tr {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
  border-color: rgba(153, 69, 255, 0.7);
}

.hud-corner.bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.hud-corner.br {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-color: rgba(153, 69, 255, 0.7);
}

.hud-label {
  position: absolute;
  bottom: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  white-space: nowrap;
}

/* ——— Sections ——— */
.section-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.mission,
.deploy {
  padding: clamp(4.5rem, 12vw, 7.5rem) 0;
}

.squad {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4.5rem, 12vw, 7.5rem);
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--cyan);
}

.mission h2,
.squad h2,
.deploy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.section-copy {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.25rem;
  color: var(--muted);
}

.mission {
  border-top: 1px solid rgba(20, 241, 149, 0.1);
  border-bottom: 1px solid rgba(153, 69, 255, 0.12);
  background: linear-gradient(
    90deg,
    rgba(20, 241, 149, 0.04),
    transparent 40%,
    transparent 60%,
    rgba(153, 69, 255, 0.05)
  );
}

.squad .section-inner {
  margin-bottom: 2rem;
}

.squad-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(20, 241, 149, 0.15);
}

.squad-banner img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.squad-banner:hover img {
  transform: scale(1.06);
}

.squad-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: shine-sweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0%,
  40% {
    transform: translateX(-120%);
  }
  70%,
  100% {
    transform: translateX(120%);
  }
}

.deploy-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.deploy-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step-index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: 0.15rem;
}

.deploy-steps h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deploy-steps p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.ca-block {
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(10, 13, 22, 0.65);
}

.ca-block label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.ca-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ca-row input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(153, 69, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.ca-row input:focus {
  border-color: var(--cyan);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(20, 241, 149, 0.1);
  background: linear-gradient(to top, rgba(153, 69, 255, 0.06), transparent);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--purple);
}

.footer-tag {
  margin: 0;
  color: var(--muted);
}

.disclaimer {
  margin: 0.5rem 0 0;
  max-width: 32rem;
  font-size: 0.85rem;
  color: rgba(139, 151, 173, 0.7);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy [data-reveal]:nth-child(1) {
  transition-delay: 0.05s;
}
.hero-copy [data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}
.hero-copy [data-reveal]:nth-child(3) {
  transition-delay: 0.25s;
}
.hero-copy [data-reveal]:nth-child(4) {
  transition-delay: 0.35s;
}
.hero-copy [data-reveal]:nth-child(5) {
  transition-delay: 0.45s;
}
.hero-visual[data-reveal] {
  transition-delay: 0.2s;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-bottom: 3rem;
  }

  .hero-visual {
    width: min(100%, 520px);
    justify-self: end;
  }

  .hero-copy {
    padding-bottom: 2rem;
  }
}

@media (min-width: 1100px) {
  .hero {
    padding-left: clamp(2rem, 8vw, 6rem);
    padding-right: clamp(2rem, 6vw, 4rem);
  }

  .brand-title {
    font-size: clamp(4rem, 7vw, 6.2rem);
  }

  .hero-visual {
    width: min(100%, 580px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .nebula {
    transform: none;
  }
}
