:root {
  /* Union Jack inspired palette */
  --bg: #0a0f2c; /* Midnight Navy */
  --navy-deep: #050814;
  --ink: #f5f7ff; /* White Accent */
  --muted: rgba(192, 198, 212, 0.82);
  --chrome: #c0c6d4; /* Chrome Gray */
  --royal: #1a3cff; /* Royal Blue */
  --unionred: #cf142b; /* Union Red */
  --blue: #00eaff;
  --purple: #7c3aed;
  --red: #ff003c;

  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.42);

  --grid: rgba(26, 60, 255, 0.1);
  --grid-2: rgba(0, 234, 255, 0.08);

  --glow-blue: 0 0 10px rgba(0, 234, 255, 0.85), 0 0 20px rgba(0, 234, 255, 0.55),
    0 0 40px rgba(0, 234, 255, 0.35);
  --glow-royal: 0 0 10px rgba(26, 60, 255, 0.65), 0 0 22px rgba(26, 60, 255, 0.38),
    0 0 44px rgba(26, 60, 255, 0.2);
  --glow-purple: 0 0 12px rgba(124, 58, 237, 0.8), 0 0 24px rgba(124, 58, 237, 0.45),
    0 0 44px rgba(124, 58, 237, 0.26);
  --glow-red: 0 0 10px rgba(207, 20, 43, 0.85), 0 0 22px rgba(207, 20, 43, 0.5), 0 0 46px rgba(207, 20, 43, 0.22);

  --font-head: "Orbitron", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --font-sign: "Rajdhani", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

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

html {
  height: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(1200px 700px at 70% 18%, rgba(0, 234, 255, 0.12), transparent 60%),
    radial-gradient(980px 640px at 18% 72%, rgba(26, 60, 255, 0.14), transparent 62%),
    radial-gradient(820px 560px at 62% 92%, rgba(207, 20, 43, 0.09), transparent 64%), var(--bg);
  overflow-x: hidden;
}

/* Subtle techno grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, var(--grid), var(--grid) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, var(--grid), var(--grid) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(0, 234, 255, 0.06), rgba(0, 234, 255, 0.06) 1px, transparent 1px, transparent 16px);
  opacity: 0.55;
  mix-blend-mode: screen;
  mask-image: radial-gradient(900px 600px at 55% 25%, rgba(0, 0, 0, 0.9), transparent 70%);
  z-index: -2;
}

/* Animated gradient wash */
body::after {
  content: "";
  position: fixed;
  inset: -40%;
  pointer-events: none;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(0, 234, 255, 0.1),
    rgba(26, 60, 255, 0.14),
    rgba(207, 20, 43, 0.09),
    rgba(0, 234, 255, 0.1)
  );
  filter: blur(44px);
  opacity: 0.55;
  animation: gradientShift 14s linear infinite;
  z-index: -3;
}

@keyframes gradientShift {
  0% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(2%, 1%, 0) rotate(360deg);
  }
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 14px;
  transform: translateY(-180%);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid rgba(0, 234, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.18);
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.2), 0 0 0 1px rgba(0, 234, 255, 0.45);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(192, 198, 212, 0.9);
}

.hero .kicker {
  margin: 18px 0 0;
}

.kicker::before {
  content: "";
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(207, 20, 43, 0.9), rgba(0, 234, 255, 0.85), transparent);
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.38), 0 0 18px rgba(207, 20, 43, 0.16);
}

.divider {
  height: 1px;
  width: 100%;
  margin: 18px 0;
  background: linear-gradient(90deg, rgba(26, 60, 255, 0.45), rgba(0, 234, 255, 0.28), rgba(207, 20, 43, 0.34), transparent);
  opacity: 0.85;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(10, 15, 44, 0.58);
  border-bottom: 1px solid rgba(26, 60, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.site-header--overlay {
  background: rgba(10, 15, 44, 0.18);
  border-bottom-color: rgba(26, 60, 255, 0.12);
}

.site-header.is-scrolled {
  background: rgba(5, 8, 20, 0.78);
  border-bottom-color: rgba(26, 60, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(26, 60, 255, 0.22);
  background: rgba(5, 8, 20, 0.22);
  transition: transform 160ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 234, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.18), 0 18px 50px rgba(0, 0, 0, 0.35);
}

.brand__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.28);
  color: transparent;
  background:
    /* stylized Union Jack (minimal, techno) */
    linear-gradient(135deg, transparent 0 44%, rgba(245, 247, 255, 0.75) 44% 47%, transparent 47% 53%, rgba(207, 20, 43, 0.85) 53% 55%, transparent 55% 100%),
    linear-gradient(45deg, transparent 0 44%, rgba(245, 247, 255, 0.75) 44% 47%, transparent 47% 53%, rgba(207, 20, 43, 0.85) 53% 55%, transparent 55% 100%),
    linear-gradient(90deg, transparent 0 42%, rgba(245, 247, 255, 0.8) 42% 48%, rgba(207, 20, 43, 0.9) 48% 52%, rgba(245, 247, 255, 0.8) 52% 58%, transparent 58% 100%),
    linear-gradient(0deg, transparent 0 42%, rgba(245, 247, 255, 0.8) 42% 48%, rgba(207, 20, 43, 0.9) 48% 52%, rgba(245, 247, 255, 0.8) 52% 58%, transparent 58% 100%),
    linear-gradient(180deg, rgba(26, 60, 255, 0.95), rgba(10, 15, 44, 0.85));
  box-shadow: inset 0 0 18px rgba(0, 234, 255, 0.16), 0 0 18px rgba(0, 234, 255, 0.12), 0 0 18px rgba(26, 60, 255, 0.1);
}

.brand__text {
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__link {
  position: relative;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 600;
  color: rgba(233, 236, 247, 0.92);
  transition: color 160ms ease, background 180ms ease, box-shadow 180ms ease;
  font-family: var(--font-sign);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav__iconLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

.nav__icon {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 10px rgba(0, 234, 255, 0.12));
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(207, 20, 43, 0.95), rgba(0, 234, 255, 0.55), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav__link:hover {
  background: rgba(26, 60, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.14), 0 0 26px rgba(0, 234, 255, 0.12);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  opacity: 0.95;
  transform: translateY(0);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(192, 198, 212, 0.16);
  background: rgba(11, 11, 15, 0.26);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 160ms ease;
}

.nav__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 234, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.nav__toggleBars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(233, 236, 247, 0.86);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.25);
}

.nav__toggleBars::before,
.nav__toggleBars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(233, 236, 247, 0.86);
}

.nav__toggleBars::before {
  top: -6px;
}
.nav__toggleBars::after {
  top: 6px;
}

.hero {
  --hero-focal-y: 20%;
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 90px;
  background: var(--bg);
  isolation: isolate;
  text-align: center;
}

.hero-image,
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* show full image without cropping */
  object-position: center var(--hero-focal-y);
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
}

/* Union Jack techno pattern overlay (very subtle) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* subtle techno grid */
    repeating-linear-gradient(0deg, rgba(26, 60, 255, 0.1), rgba(26, 60, 255, 0.1) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(26, 60, 255, 0.1), rgba(26, 60, 255, 0.1) 1px, transparent 1px, transparent 80px),
    /* diagonals */
    linear-gradient(45deg, transparent 0 46%, rgba(245, 247, 255, 0.08) 46% 47.2%, transparent 47.2% 52.8%, rgba(207, 20, 43, 0.07) 52.8% 53.6%, transparent 53.6% 100%),
    linear-gradient(-45deg, transparent 0 46%, rgba(245, 247, 255, 0.08) 46% 47.2%, transparent 47.2% 52.8%, rgba(207, 20, 43, 0.07) 52.8% 53.6%, transparent 53.6% 100%),
    /* cross hint */
    linear-gradient(90deg, transparent 0 48%, rgba(245, 247, 255, 0.06) 48% 49.2%, rgba(207, 20, 43, 0.06) 49.2% 50.8%, rgba(245, 247, 255, 0.06) 50.8% 52%, transparent 52% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(245, 247, 255, 0.06) 48% 49.2%, rgba(207, 20, 43, 0.06) 49.2% 50.8%, rgba(245, 247, 255, 0.06) 50.8% 52%, transparent 52% 100%);
  opacity: 0.16;
  z-index: 2;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(0, 234, 255, 0.08)) drop-shadow(0 0 12px rgba(207, 20, 43, 0.06));
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 10, 15, 0.4), rgba(10, 10, 15, 0.7));
  z-index: 1;
}

.hero-content,
.hero__content {
  width: min(920px, calc(100% - 40px));
  position: relative;
  z-index: 3;
}

.hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(26, 60, 255, 0.7), 0 0 18px rgba(0, 234, 255, 0.55), 0 0 34px rgba(0, 234, 255, 0.28),
    0 0 14px rgba(207, 20, 43, 0.18);
}

.hero__title::after {
  content: "";
  display: block;
  height: 2px;
  width: min(360px, 72%);
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, rgba(207, 20, 43, 0.95), rgba(245, 247, 255, 0.35), transparent);
  box-shadow: 0 0 16px rgba(207, 20, 43, 0.35), 0 0 18px rgba(0, 234, 255, 0.12);
  opacity: 0.9;
}

.hero__tagline {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 236, 247, 0.92);
}

.hero__cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.26);
  background: rgba(11, 11, 15, 0.35);
  color: rgba(192, 198, 212, 0.9);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0, 234, 255, 0.08);
}

.pill--purple {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: inset 0 0 18px rgba(124, 58, 237, 0.1);
}

.pill--red {
  border-color: rgba(255, 0, 60, 0.3);
  box-shadow: inset 0 0 18px rgba(255, 0, 60, 0.08);
}

.hero__bottom {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 3;
}

.scroll-hint {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(192, 198, 212, 0.14);
  background: rgba(11, 11, 15, 0.35);
  color: rgba(192, 198, 212, 0.88);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 160ms ease;
}

.scroll-hint:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 234, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.18);
}

.scroll-hint__line {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  box-shadow: 0 0 14px rgba(0, 234, 255, 0.35);
}

.scroll-hint__text {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: 78px 0;
}

.section--tight {
  padding: 58px 0;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section__title {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 26px;
}

.lede {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(233, 236, 247, 0.94);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.split--wide {
  grid-template-columns: 1.05fr 0.95fr;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: rgba(233, 236, 247, 0.92);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease, text-shadow 180ms ease;
}

.text-link::after {
  content: "→";
  opacity: 0.9;
  transform: translateY(-1px);
}

.text-link:hover {
  color: #ffffff;
  text-shadow: var(--glow-blue);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(192, 198, 212, 0.18);
  background: rgba(11, 11, 15, 0.38);
  color: rgba(233, 236, 247, 0.92);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 200ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 234, 255, 0.5), rgba(124, 58, 237, 0.4), rgba(255, 0, 60, 0.34));
  opacity: 0;
  filter: blur(10px);
  transition: opacity 220ms ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 234, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.16), 0 18px 44px rgba(0, 0, 0, 0.42);
}

.btn:hover::before {
  opacity: 0.7;
}

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

.btn--primary {
  border-color: rgba(0, 234, 255, 0.45);
  background: linear-gradient(180deg, rgba(0, 234, 255, 0.16), rgba(11, 11, 15, 0.42));
  box-shadow: inset 0 0 26px rgba(0, 234, 255, 0.12);
}

.btn--ghost {
  border-color: rgba(124, 58, 237, 0.32);
  box-shadow: inset 0 0 26px rgba(124, 58, 237, 0.08);
}

.callout {
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  border: 1px solid rgba(192, 198, 212, 0.14);
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.62), rgba(11, 11, 15, 0.28));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 240px at 20% 20%, rgba(0, 234, 255, 0.12), transparent 60%),
    radial-gradient(360px 240px at 80% 70%, rgba(124, 58, 237, 0.12), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.callout__label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(192, 198, 212, 0.92);
}

.callout__title {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 18px;
  color: #ffffff;
  text-shadow: var(--glow-purple);
}

.callout__body {
  margin: 12px 0 0;
  line-height: 1.7;
  color: rgba(233, 236, 247, 0.9);
}

.callout__footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 234, 255, 0.8);
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.65);
}

.cards,
.panels {
  display: grid;
  gap: 16px;
}

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

.card,
.panel {
  --accent: var(--blue);
  --accentGlow: var(--glow-blue);
  position: relative;
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  border: 1px solid rgba(192, 198, 212, 0.14);
  background:
    linear-gradient(90deg, rgba(207, 20, 43, 0.85) 0 3px, transparent 3px),
    linear-gradient(180deg, rgba(5, 8, 20, 0.72), rgba(10, 15, 44, 0.22));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 240ms ease;
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(520px 260px at var(--mx, 50%) var(--my, 50%), rgba(0, 234, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.card::after,
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(192, 198, 212, 0.08), rgba(192, 198, 212, 0.08) 1px, transparent 1px, transparent 16px);
  opacity: 0.12;
  pointer-events: none;
  mask-image: radial-gradient(420px 240px at 40% 20%, rgba(0, 0, 0, 0.9), transparent 70%);
}

.card:hover,
.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 234, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.18), 0 0 34px rgba(26, 60, 255, 0.12), 0 22px 70px rgba(0, 0, 0, 0.55);
}

.card:hover::before,
.panel:hover::before {
  opacity: 1;
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(0, 234, 255, 0.35);
  color: var(--blue);
  font-size: 18px;
  box-shadow: inset 0 0 22px rgba(0, 234, 255, 0.14);
  margin-bottom: 12px;
}

.card__icon--purple {
  border-color: rgba(124, 58, 237, 0.36);
  color: rgba(124, 58, 237, 0.95);
  box-shadow: inset 0 0 22px rgba(124, 58, 237, 0.14);
}

.card__icon--red {
  border-color: rgba(255, 0, 60, 0.36);
  color: rgba(255, 0, 60, 0.96);
  box-shadow: inset 0 0 22px rgba(255, 0, 60, 0.12);
}

.card__title,
.panel__title {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__title {
  font-size: 18px;
}

.card__body,
.panel__body {
  margin: 10px 0 0;
  line-height: 1.75;
  color: rgba(233, 236, 247, 0.9);
}

.card__line {
  margin: 14px 0 10px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 234, 255, 0.45), rgba(124, 58, 237, 0.25), transparent);
  opacity: 0.85;
}

.card__meta,
.panel__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(192, 198, 212, 0.82);
}

.page-hero {
  padding: 140px 0 40px;
}

.page-hero__title {
  margin: 12px 0 10px;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 52px);
  text-shadow: var(--glow-blue);
}

.page-hero__sub {
  margin: 0;
  line-height: 1.75;
  max-width: 66ch;
}

.stats {
  display: grid;
  gap: 12px;
}

.stat {
  border-radius: var(--radius);
  border: 1px solid rgba(192, 198, 212, 0.14);
  padding: 16px;
  background: rgba(11, 11, 15, 0.28);
  box-shadow: var(--shadow-soft);
}

.stat__label {
  margin: 0 0 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(192, 198, 212, 0.86);
}

.stat__value {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 16px;
  color: #ffffff;
}

.stat--accent .stat__value {
  text-shadow: var(--glow-red);
}

.panels {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel__kicker {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(192, 198, 212, 0.9);
}

.panel__divider {
  margin: 14px 0 10px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 234, 255, 0.45), transparent);
  opacity: 0.85;
}

.panel--purple {
  --accent: var(--purple);
  --accentGlow: var(--glow-purple);
}

.panel--red {
  --accent: var(--red);
  --accentGlow: var(--glow-red);
}

.panel--purple .panel__title {
  text-shadow: var(--glow-purple);
}
.panel--red .panel__title {
  text-shadow: var(--glow-red);
}

.footer {
  border-top: 1px solid rgba(207, 20, 43, 0.9);
  background: rgba(5, 8, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer__inner {
  padding: 30px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__name {
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.footer__tag {
  margin: 10px 0 0;
  max-width: 52ch;
  line-height: 1.7;
}

.footer__right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__link {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(26, 60, 255, 0.18);
  background: rgba(10, 15, 44, 0.22);
  color: rgba(233, 236, 247, 0.9);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 160ms ease, border-color 200ms ease, box-shadow 220ms ease;
}

.footer__link:hover {
  transform: translateY(-1px);
  border-color: rgba(207, 20, 43, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.14), 0 0 24px rgba(0, 234, 255, 0.1);
}

.footer__bottom {
  border-top: 1px solid rgba(26, 60, 255, 0.16);
}

.footer__bottomInner {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Glitch effect (optional; JS toggles .glitch-on) */
.glitch {
  position: relative;
  display: inline-block;
}

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

.glitch::before {
  color: rgba(0, 234, 255, 0.85);
  text-shadow: var(--glow-blue);
  transform: translateX(-2px);
  clip-path: inset(12% 0 62% 0);
}

.glitch::after {
  color: rgba(255, 0, 60, 0.78);
  text-shadow: var(--glow-red);
  transform: translateX(2px);
  clip-path: inset(48% 0 18% 0);
}

.glitch.glitch-on::before,
.glitch.glitch-on::after {
  opacity: 0.9;
  animation: glitchFlicker 420ms steps(2, end) 1;
}

@keyframes glitchFlicker {
  0% {
    transform: translateX(-2px);
  }
  20% {
    transform: translateX(3px);
  }
  40% {
    transform: translateX(-4px);
  }
  60% {
    transform: translateX(2px);
  }
  80% {
    transform: translateX(-1px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 920px) {
  .hero {
    --hero-focal-y: 14%;
  }

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

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

  .site-header {
    padding: 10px 0;
  }

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

  .nav__links {
    position: absolute;
    top: 62px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(192, 198, 212, 0.14);
    background: rgba(11, 11, 15, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    background: rgba(11, 11, 15, 0.36);
    border: 1px solid rgba(192, 198, 212, 0.12);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body::after {
    animation: none;
  }
  .btn,
  .card,
  .panel,
  .nav__link,
  .footer__link,
  .brand {
    transition: none;
  }
}
