:root {
  color-scheme: dark;
  --bg: #070814;
  --bg-2: #0b0f24;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --subtle: rgba(255, 255, 255, 0.52);
  --neon-a: #59d4ff;
  --neon-b: #a855f7;
  --neon-c: #22c55e;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: reduce) {

  .tech-grid,
  .tech-circuits,
  .tech-scan,
  .tech-orb {
    transform: none !important;
    transition: none !important;
  }

  .spline-bg,
  .spline-frame {
    transform: none !important;
    transition: none !important;
  }

  .tech-scan {
    display: none;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 30% -10%, rgba(88, 101, 255, 0.22), transparent 50%),
    radial-gradient(900px 700px at 90% 10%, rgba(168, 85, 247, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #050610 55%, #04040b 100%);
  overflow-x: hidden;
}

/* Custom HUD Pointer Highlight (Decorative Only) */
.hud-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, scale 0.3s ease;
  opacity: 0;
  will-change: transform;
}

body:hover .hud-cursor {
  opacity: 0.85;
}

.hud-cursor-inner {
  width: 2px;
  height: 2px;
  background: var(--neon-a);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-a), 0 0 24px rgba(89, 212, 255, 0.4);
}

.hud-cursor-ornament {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(89, 212, 255, 0.25);
  border-radius: 8px;
  animation: cursor-rotate 6s linear infinite;
}

.hud-cursor-ornament::before,
.hud-cursor-ornament::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--neon-a);
  opacity: 0.6;
}

.hud-cursor-ornament::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.hud-cursor-ornament::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

@keyframes cursor-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hud-cursor.is-hovering {
  scale: 1.4;
}

.hud-cursor.is-hovering .hud-cursor-ornament {
  border-color: var(--neon-b);
  border-radius: 50%;
  animation-duration: 1.5s;
}

.hud-cursor.is-hovering .hud-cursor-inner {
  background: var(--neon-b);
  box-shadow: 0 0 12px var(--neon-b);
}

/* Scroll Progress Indicator */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b));
  z-index: 10000;
  box-shadow: 0 0 10px rgba(89, 212, 255, 0.5);
  pointer-events: none;
}

.spline-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

body.has-spline .spline-bg {
  opacity: 0.92;
}

body.has-spline .tech-bg {
  opacity: 0.35;
}

.spline-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transform: translate3d(0, calc(var(--scroll-px) * -0.05), 0) scale(1.04);
  transform-origin: center;
  filter: saturate(1.12) contrast(1.06);
  mask-image: radial-gradient(circle at 40% 20%, rgba(0, 0, 0, 1), transparent 66%);
}

.tech-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  --scroll-px: 0px;
}

.tech-grid,
.tech-circuits,
.tech-scan,
.tech-orb {
  position: absolute;
  inset: 0;
}

.tech-grid {
  background-image: linear-gradient(rgba(88, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.55;
  transform: translate3d(0, calc(var(--scroll-px) * -0.08), 0) skewY(-6deg);
  transition: opacity 260ms ease;
}

.tech-circuits {
  background:
    radial-gradient(2px 2px at 12% 22%, rgba(88, 212, 255, 0.55), transparent 60%),
    radial-gradient(2px 2px at 76% 18%, rgba(168, 85, 247, 0.55), transparent 60%),
    radial-gradient(2px 2px at 58% 72%, rgba(88, 212, 255, 0.45), transparent 60%),
    radial-gradient(2px 2px at 22% 74%, rgba(168, 85, 247, 0.45), transparent 60%),
    linear-gradient(90deg, rgba(88, 212, 255, 0.12), rgba(168, 85, 247, 0.12));
  opacity: 0.14;
  mix-blend-mode: screen;
  transform: translate3d(0, calc(var(--scroll-px) * -0.03), 0);
}

.tech-scan {
  background: linear-gradient(180deg, transparent, rgba(88, 212, 255, 0.08), transparent);
  height: 46vh;
  top: -46vh;
  opacity: 0.55;
  transform: translate3d(0, calc(var(--scroll-px) * 0.22), 0);
  filter: blur(0.2px);
}

.tech-orb {
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.4;
}

.tech-orb-a {
  width: 560px;
  height: 560px;
  left: -240px;
  top: -180px;
  background: radial-gradient(circle at 30% 40%, rgba(88, 212, 255, 0.85), transparent 62%);
  transform: translate3d(0, calc(var(--scroll-px) * 0.06), 0);
}

.tech-orb-b {
  width: 620px;
  height: 620px;
  right: -260px;
  top: -220px;
  background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.85), transparent 62%);
  transform: translate3d(0, calc(var(--scroll-px) * 0.04), 0);
}

header,
main,
footer,
.back-to-top {
  position: relative;
  z-index: 1;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(88, 212, 255, 0.8);
  outline-offset: 3px;
  border-radius: 12px;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border);
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  place-items: center;
  background: rgba(5, 6, 16, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 60px rgba(0, 0, 0, 0.45);
  background: rgba(5, 6, 16, 0.78);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--neon-a), var(--neon-b));
  box-shadow: 0 0 0 4px rgba(88, 212, 255, 0.12), 0 0 22px rgba(88, 212, 255, 0.45);
}

.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(88, 212, 255, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(88, 212, 255, 0.08), 0 0 22px rgba(168, 85, 247, 0.22);
}

.brand-text {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.brand-text span {
  color: var(--neon-a);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-toggle:active {
  transform: scale(0.98);
}

.nav-toggle-lines {
  display: grid;
  gap: 6px;
  width: 18px;
  margin-inline: auto;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b));
  box-shadow: 0 0 14px rgba(88, 212, 255, 0.35);
}

.nav-toggle-lines::after {
  width: 14px;
  justify-self: end;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  position: relative;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b));
  opacity: 0;
  transform: scaleX(0.25);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  opacity: 0.85;
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--text);
  background: rgba(88, 212, 255, 0.12);
  border: 1px solid rgba(88, 212, 255, 0.22);
}

.nav-link.is-active::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(88, 212, 255, 0.18), rgba(168, 85, 247, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(88, 212, 255, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.09), 0 16px 50px rgba(0, 0, 0, 0.4);
}

.hero {
  position: relative;
  padding: calc(var(--header-h) + 44px) 0 72px;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.hero-video,
.hero-vimeo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 122%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.1);
  opacity: 0.25;
  transform: translate3d(0, -20%, 0);
  border: 0;
}

.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.1);
  opacity: 0.6;
  transform: translate3d(0, 0, 0);
  display: block;
  pointer-events: none;
}

.bg-variant-a {
  filter: saturate(1.06) contrast(1.05) hue-rotate(0deg);
}

.bg-variant-b {
  filter: saturate(1.08) contrast(1.06) hue-rotate(40deg);
}

.bg-variant-c {
  filter: saturate(1.07) contrast(1.05) hue-rotate(110deg);
}

.bg-variant-d {
  filter: saturate(1.08) contrast(1.06) hue-rotate(200deg);
}

.section-vimeo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transform: translate3d(0, 0, 0);
  filter: saturate(1.1) contrast(1.1);
  opacity: 1;
}

.hero-bg .grid {
  position: absolute;
  inset: -120px -120px;
  background-image: linear-gradient(rgba(88, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.65;
  transform: skewY(-6deg);
}

.glow {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.55;
  animation: float 10s ease-in-out infinite;
}

.glow-a {
  left: -220px;
  top: -180px;
  background: radial-gradient(circle at 30% 40%, rgba(88, 212, 255, 0.85), transparent 62%);
}

.glow-b {
  right: -240px;
  top: -220px;
  background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.85), transparent 62%);
  animation-delay: 1.8s;
}

@keyframes float {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 18px, 0);
  }
}

.hero-video {
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {

  .hero-video,
  .hero-vimeo,
  .section-video,
  .section-vimeo {
    opacity: 0.15 !important;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  letter-spacing: 0.2px;
  width: fit-content;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--neon-c);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.45);
}

.headline {
  margin: 16px 0 0;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.5px;
  font-size: clamp(2rem, 3.5vw + 1rem, 3.8rem);
  line-height: 1.1;
  text-wrap: balance;
}

.headline .neon {
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-a));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(89, 212, 255, 0.3);
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.headline .subtle {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  font-size: clamp(1rem, 1.05vw + 0.8rem, 1.25rem);
}

.hero-tagline {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.4px;
  font-weight: 600;
}

.lede {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
}

.hero-desc .lede {
  margin-top: 12px;
  max-width: 72ch;
}

.hero-more {
  margin-top: 12px;
}

.hero-more summary {
  cursor: pointer;
  color: rgba(88, 212, 255, 0.9);
  font-weight: 600;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(88, 212, 255, 0.22);
  background: rgba(88, 212, 255, 0.08);
}

.hero-more[open] summary {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.26);
  color: rgba(168, 85, 247, 0.95);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(88, 212, 255, 0), rgba(88, 212, 255, 0.35), rgba(168, 85, 247, 0.35), rgba(88, 212, 255, 0));
  transform: translateX(-45%);
  opacity: 0;
  filter: blur(10px);
  transition: opacity 160ms ease, transform 380ms ease;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  animation: hud-glitch 0.28s steps(2, end);
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(45%);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: conic-gradient(from 90deg, rgba(88, 212, 255, 0.0), rgba(88, 212, 255, 0.55), rgba(168, 85, 247, 0.55), rgba(88, 212, 255, 0.0));
  opacity: 0;
  animation: neon-rotate 2.4s linear infinite;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 160ms ease;
}

.btn:hover::after {
  opacity: 0.85;
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(88, 212, 255, 0.22), rgba(168, 85, 247, 0.22));
  border-color: rgba(88, 212, 255, 0.22);
  box-shadow: 0 0 0 4px rgba(88, 212, 255, 0.08), 0 18px 60px rgba(0, 0, 0, 0.45);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 212, 255, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
}

.metric-value {
  display: block;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.metric-label {
  display: block;
  margin-top: 2px;
  color: var(--subtle);
  font-size: 0.92rem;
}

.hero-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.profile-card {
  padding: 18px;
  position: relative;
  z-index: 1;
}

.profile-media {
  border-radius: var(--radius);
  border: 1px dashed rgba(89, 212, 255, 0.3);
  background: radial-gradient(420px 260px at 30% 20%, rgba(88, 212, 255, 0.1), transparent 62%),
    radial-gradient(420px 260px at 80% 40%, rgba(168, 85, 247, 0.1), transparent 65%),
    rgba(0, 0, 0, 0.3);
  height: 380px;
  overflow: hidden;
  position: relative;
}

.profile-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-a), transparent);
  box-shadow: 0 0 15px var(--neon-a);
  animation: scan-vertical 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes scan-vertical {

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

  10%,
  90% {
    opacity: 1;
  }

  50% {
    transform: translateY(380px);
  }
}

.profile-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}

.profile-placeholder {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.profile-meta {
  margin-top: 14px;
  display: grid;
  gap: 4px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.profile-name {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.3px;
  font-weight: 700;
}

.profile-role {
  color: var(--muted);
  font-weight: 600;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 20% 0%, rgba(88, 212, 255, 0.22), transparent 55%),
    radial-gradient(620px 360px at 90% 20%, rgba(168, 85, 247, 0.18), transparent 60%);
  pointer-events: none;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.dot-a {
  background: rgba(248, 113, 113, 0.9);
}

.dot-b {
  background: rgba(251, 191, 36, 0.9);
}

.dot-c {
  background: rgba(34, 197, 94, 0.9);
}

.panel-title {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.panel-chip {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  color: rgba(34, 197, 94, 0.92);
  background: rgba(34, 197, 94, 0.08);
  font-size: 0.82rem;
}

.panel-body {
  padding: 18px 16px 16px;
  position: relative;
  z-index: 1;
}

.panel-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.panel-row:last-of-type {
  border-bottom: 0;
}

.panel-row .label {
  color: var(--subtle);
  text-transform: lowercase;
  letter-spacing: 0.4px;
}

.panel-row .value {
  color: var(--text);
  font-weight: 600;
}

.panel-bars {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.panel-bars span {
  height: var(--h);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(88, 212, 255, 0.55), rgba(168, 85, 247, 0.55));
  box-shadow: 0 0 22px rgba(88, 212, 255, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

.panel-bars span:nth-child(2n) {
  animation-delay: 0.2s;
}

.panel-bars span:nth-child(3n) {
  animation-delay: 0.35s;
}

@keyframes pulse {

  0%,
  100% {
    filter: saturate(1);
    transform: translateY(0);
  }

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

@keyframes neon-rotate {
  to {
    transform: rotate(1turn);
  }
}

@keyframes hud-glitch {
  0% {
    transform: translate3d(0, 0, 0)
  }

  20% {
    transform: translate3d(0.6px, -0.6px, 0)
  }

  40% {
    transform: translate3d(-0.6px, 0.6px, 0)
  }

  60% {
    transform: translate3d(0.8px, 0.2px, 0)
  }

  80% {
    transform: translate3d(-0.4px, -0.8px, 0)
  }

  100% {
    transform: translate3d(0, 0, 0)
  }
}

@keyframes hud-scanline {
  0% {
    background-position: 0 0
  }

  100% {
    background-position: 0 100%
  }
}

.section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  z-index: 1;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(89, 212, 255, 0.2);
  z-index: 2;
  pointer-events: none;
}

.section::before {
  top: 40px;
  left: 40px;
  border-right: none;
  border-bottom: none;
}

.section::after {
  bottom: 40px;
  right: 40px;
  border-left: none;
  border-top: none;
}

.section {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 2px;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--neon-a);
  box-shadow: 0 0 10px var(--neon-a);
}

.section-head:hover h2 {
  animation: hud-glitch 0.3s steps(2, end);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.7;
}

.content-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 24px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(420px 240px at 0% 0%, rgba(88, 212, 255, 0.14), transparent 60%),
    radial-gradient(420px 240px at 100% 20%, rgba(168, 85, 247, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.content-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(89, 212, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5), 0 0 20px rgba(89, 212, 255, 0.1);
}

.content-card:hover::after {
  opacity: 1;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.content-card p+p {
  margin-top: 12px;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(88, 212, 255, 0.06) 3px 4px, transparent 4px 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.content-card:hover::before {
  opacity: 0.35;
  animation: hud-scanline 2s linear infinite;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  position: relative;
}

.media:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 212, 255, 0.2);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(88, 212, 255, 0.9), transparent) left 10px top 10px / 18px 2px no-repeat,
    linear-gradient(180deg, rgba(88, 212, 255, 0.9), transparent) left 10px top 10px / 2px 18px no-repeat,
    linear-gradient(90deg, rgba(88, 212, 255, 0.9), transparent) right 10px top 10px / 18px 2px no-repeat,
    linear-gradient(180deg, rgba(88, 212, 255, 0.9), transparent) right 10px top 10px / 2px 18px no-repeat,
    linear-gradient(90deg, rgba(88, 212, 255, 0.9), transparent) left 10px bottom 10px / 18px 2px no-repeat,
    linear-gradient(180deg, rgba(88, 212, 255, 0.9), transparent) left 10px bottom 10px / 2px 18px no-repeat,
    linear-gradient(90deg, rgba(88, 212, 255, 0.9), transparent) right 10px bottom 10px / 18px 2px no-repeat,
    linear-gradient(180deg, rgba(88, 212, 255, 0.9), transparent) right 10px bottom 10px / 2px 18px no-repeat;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.media:hover::before {
  opacity: 0.9;
  transform: scale(1);
}

.media-box {
  border-radius: 14px;
  border: 1px dashed rgba(168, 85, 247, 0.26);
  background: radial-gradient(420px 260px at 30% 20%, rgba(88, 212, 255, 0.14), transparent 62%),
    radial-gradient(420px 260px at 80% 40%, rgba(168, 85, 247, 0.12), transparent 65%),
    rgba(0, 0, 0, 0.2);
  height: 180px;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.media:hover .media-box {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: inset 0 0 0 1px rgba(88, 212, 255, 0.18), 0 16px 60px rgba(0, 0, 0, 0.35);
}

.media-box picture {
  display: block;
  width: 100%;
  height: 100%;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.media-img2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.media:hover .media-img,
.media:hover .media-img2 {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.media figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.4;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 212, 255, 0.18);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.about-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.about-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.clean {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.clean li {
  padding-left: 14px;
  position: relative;
}

.clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neon-a), var(--neon-b));
  box-shadow: 0 0 16px rgba(88, 212, 255, 0.25);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  padding: 18px 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 90deg, rgba(88, 212, 255, 0.0), rgba(88, 212, 255, 0.55), rgba(168, 85, 247, 0.55), rgba(88, 212, 255, 0.0));
  opacity: 0;
  filter: blur(14px);
  animation: neon-rotate 2.6s linear infinite;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 260px at 10% 0%, rgba(88, 212, 255, 0.12), transparent 60%),
    radial-gradient(520px 260px at 90% 20%, rgba(168, 85, 247, 0.11), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 212, 255, 0.26);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.42);
}

.card:hover::before {
  opacity: 0.75;
}

.card>* {
  position: relative;
  z-index: 1;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover .card-icon {
  transform: translateY(-2px);
  border-color: rgba(88, 212, 255, 0.22);
  box-shadow: 0 0 0 4px rgba(88, 212, 255, 0.08), 0 18px 60px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 14px 0 0;
  font-size: 1.12rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tags span:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 85, 247, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.card-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.card-actions .btn {
  height: 40px;
  padding: 0 14px;
  box-shadow: none;
}

.thumbs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.thumbs picture {
  display: block;
}

.thumb-img {
  width: 100%;
  height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  display: block;
  transition: transform 220ms ease, filter 220ms ease, border-color 220ms ease;
}

.thumb-img:hover {
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.05);
  border-color: rgba(88, 212, 255, 0.2);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.system {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
}

.system h3 {
  margin: 0;
  font-size: 1.05rem;
}

.system p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.contact-form,
.contact-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(88, 212, 255, 0.32);
  box-shadow: 0 0 0 4px rgba(88, 212, 255, 0.12);
  background: rgba(0, 0, 0, 0.32);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: var(--subtle);
  min-height: 1.2em;
}

.contact-item {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.contact-item+.contact-item {
  margin-top: 10px;
}

.contact-label {
  color: var(--subtle);
  font-size: 0.9rem;
}

.contact-value {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.divider {
  height: 1px;
  margin: 16px 0;
  background: linear-gradient(90deg, transparent, rgba(88, 212, 255, 0.35), transparent);
}

.social {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.82);
  transition: background 160ms ease, transform 160ms ease;
}

.social-icon {
  width: 18px;
  height: 18px;
  color: rgba(88, 212, 255, 0.92);
  flex: 0 0 auto;
}

.social a:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(88, 212, 255, 0.12), rgba(168, 85, 247, 0.12));
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.14);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  align-items: start;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 0 0 4px rgba(88, 212, 255, 0.07);
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: background 160ms ease, color 160ms ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--subtle);
  justify-content: space-between;
  padding-top: 8px;
}

.footer-meta .sep {
  opacity: 0.65;
}

.back-to-top {
  position: fixed;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 6, 16, 0.78);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 60;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .card::before,
  .btn::before {
    animation: none;
    transition: none;
  }

  .btn,
  .card,
  .content-card,
  .media,
  .about-card,
  .metric,
  .thumb-img,
  .nav-link,
  .brand {
    transition: none;
  }

  .glow,
  .panel-bars span {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-panel {
    max-width: 620px;
  }

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

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

  .about-grid,
  .cards,
  .systems-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 70px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 14px;
    left: 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 6, 16, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.6);
    padding: 14px 14px;
    display: grid;
    gap: 8px;
    transform-origin: top;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}