:root {
  --bg: #000000;
  --bg-soft: #0d0d0d;
  --card: #0f0f0fcc;
  --card-border: #cc000033;
  --text: #ff2222;
  --text-soft: #cc4444;
  --accent: #cc0000;
  --accent-2: #ff4444;
  --danger: #ff0000;
  --radius: 20px;
  --shadow: 0 20px 50px #1a000066;
}

/* Custom Cursor Effect */
.cursor-tracker {
  position: fixed;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
  color: #ff2222;
  text-shadow: 0 0 10px #ff444455;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-tracker::before {
  content: '✕';
  position: absolute;
  display: block;
}

/* Entry Lock Gate */
.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #240000 0%, #060000 58%, #000000 100%);
  opacity: 1;
  transition: opacity 360ms ease;
}

.entry-gate.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.entry-gate-content {
  position: relative;
  width: min(72vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.entry-gate-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hud-arc {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  filter: drop-shadow(0 0 10px #ff3e2a55);
}

.hud-arc-a {
  inset: 3%;
  border-width: 5px;
  border-top-color: #ff613f;
  border-right-color: #ff613f;
  animation: hud-spin 8s linear infinite;
}

.hud-arc-b {
  inset: 12%;
  border-width: 4px;
  border-left-color: #ff8a5f;
  border-bottom-color: #ff8a5f;
  animation: hud-spin-reverse 6.2s linear infinite;
}

.hud-arc-c {
  inset: 22%;
  border-width: 3px;
  border-top-color: #ffb29a;
  border-left-color: #ffb29a;
  opacity: 0.85;
  animation: hud-spin 4.3s linear infinite;
}

.hud-sweep {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ffb4a400 0deg, #ffb4a400 316deg, #ff8d6d66 339deg, #ff8d6d00 360deg);
  animation: hud-spin 2.8s linear infinite;
}

.hud-scanlines {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: repeating-linear-gradient(
    180deg,
    #ff796506 0,
    #ff796506 2px,
    #00000000 2px,
    #00000000 5px
  );
  mix-blend-mode: screen;
  animation: hud-scan 3s linear infinite;
}

.entry-gate-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #ff202020;
}

.orbit i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 5px;
  border-radius: 1px;
  background: radial-gradient(circle, #ffdad7 0%, #ff5547 40%, #c10000 100%);
  box-shadow: 0 0 12px #ff4433aa;
}

.orbit-1 {
  animation: orbit-spin 5.8s linear infinite;
}

.orbit-1 i:nth-child(1) {
  transform: translate(-150px, -5px);
}

.orbit-1 i:nth-child(2) {
  transform: translate(90px, -122px);
}

.orbit-1 i:nth-child(3) {
  transform: translate(106px, 98px);
}

.orbit-2 {
  inset: 14%;
  border-color: #ff454533;
  animation: orbit-spin-reverse 4.6s linear infinite;
}

.orbit-2 i:nth-child(1) {
  transform: translate(-102px, 0);
}

.orbit-2 i:nth-child(2) {
  transform: translate(0, -102px);
}

.orbit-2 i:nth-child(3) {
  transform: translate(98px, -10px);
}

.orbit-2 i:nth-child(4) {
  transform: translate(0, 100px);
}

.orbit-3 {
  inset: 28%;
  border-color: #ff848433;
  animation: orbit-spin-tilt 3.2s linear infinite;
}

.orbit-3 i:nth-child(1) {
  transform: translate(-64px, 0);
}

.orbit-3 i:nth-child(2) {
  transform: translate(64px, 0);
}

.entry-gate-lock {
  position: relative;
  z-index: 3;
  width: clamp(72px, 16vw, 112px);
  height: clamp(72px, 16vw, 112px);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform 140ms ease, filter 140ms ease;
  filter: saturate(1.35);
}

.entry-gate-lock:active {
  transform: scale(0.94);
  filter: saturate(1.6) brightness(1.08);
}

.entry-gate-lock-icon {
  width: 100%;
  height: 100%;
  stroke: #ff2a19;
  fill: #350000;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px #ff2f1bb0) drop-shadow(0 0 22px #b1000070);
}

.entry-gate-holdtext {
  position: absolute;
  bottom: 14%;
  margin: 0;
  color: #ff8a8a;
  font: 600 0.95rem 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.entry-gate-holdtext.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: hold-pulse 0.9s ease-in-out infinite;
}

@keyframes hold-pulse {
  0% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.55;
  }
}

@keyframes orbit-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin-reverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes orbit-spin-tilt {
  0% {
    transform: rotate(0deg) scaleX(0.92);
  }
  100% {
    transform: rotate(-360deg) scaleX(0.92);
  }
}

@keyframes hud-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes hud-spin-reverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes hud-scan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit,
  .hud-arc,
  .hud-sweep,
  .hud-scanlines,
  .entry-gate-holdtext.is-visible {
    animation: none !important;
  }
}

/* Global hover parallax */
.parallax-active {
  will-change: translate;
  transition: translate 130ms ease-out;
}

/* Side Menu Navigation */
.nav-toggle {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #cc0000, #ff4444);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px #cc000055;
}

.nav-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px #ff444455;
}

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

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 24px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.nav-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.side-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #160000 0%, #0a0000 100%);
  border-right: 2px solid #cc000055;
  transform: translateX(-100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  overflow-y: auto;
  padding: 2rem 0;
  box-shadow: 10px 0 40px #00000088;
}

.side-menu.active {
  transform: translateX(0);
}

.side-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cc0000, transparent);
}

.menu-header {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid #cc000033;
  margin-bottom: 1.5rem;
}

.menu-header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #ff6666;
  font-family: 'IBM Plex Mono', monospace;
}

.menu-header p {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #cc6666;
  font-family: 'IBM Plex Mono', monospace;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  margin: 0;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  color: #ff9a9a;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 200ms ease;
  border-left: 3px solid transparent;
  position: relative;
}

.menu-link:hover {
  background: #cc000022;
  border-left-color: #ff4444;
  color: #ff4444;
  padding-left: 1.7rem;
}

.menu-link.active {
  background: #cc000044;
  border-left-color: #ff0000;
  color: #ff2222;
  font-weight: 600;
}

.menu-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.menu-divider {
  height: 1px;
  background: #cc000033;
  margin: 1rem 1rem;
}

.menu-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  border-top: 1px solid #cc000033;
  font-size: 0.75rem;
  color: #cc666688;
  text-align: center;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 98;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  background: #000000;
}

.bg-grid {
  position: fixed;
  inset: 0;
  display: none;
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero,
.layout {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding: 3.5rem 0 1.75rem;
  animation: rise-in 700ms ease both;
}

.overline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.8rem;
}

.hero-credit {
  margin: 0 0 0.8rem;
  color: #ff9999;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

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

.hero-text {
  color: var(--text-soft);
  max-width: 72ch;
  margin-top: 1rem;
  line-height: 1.5;
}

.hero-actions {
  margin: 1rem 0 0;
}

.layout {
  display: grid;
  gap: 1rem;
  padding-bottom: 2.5rem;
}

.panel {
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.input-group {
  display: grid;
  gap: 0.4rem;
}

label {
  color: var(--text-soft);
  font-size: 0.9rem;
}

input,
select {
  width: 100%;
  border: 1px solid #cc000033;
  border-radius: 12px;
  background: #0a0000;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
}

input:focus,
select:focus {
  outline: 2px solid #cc000080;
  border-color: #cc0000;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid #cc000055;
  background: #1a0000;
  color: #ff8888;
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: #ff4444;
}

.chip.active {
  background: linear-gradient(135deg, #cc0000, #880000);
  border-color: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0.8rem;
}

.stat {
  border: 1px solid #cc000033;
  border-radius: 14px;
  padding: 0.95rem;
  background: #0d0000;
  animation: rise-in 560ms ease both;
}

.stat h3 {
  margin: 0;
  font-size: 1.4rem;
}

.stat p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
}

.matrix {
  padding: 1rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid #cc000030;
  color: var(--text-soft);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.site-footer-link {
  color: #ff9a9a;
  text-decoration: none;
  border: 1px solid #cc000044;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  background: #140000;
}

.site-footer-link:hover {
  background: #250000;
  border-color: #ff4444;
}

.site-footer {
  display: grid;
  gap: 0.6rem;
}

.matrix-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.matrix-head h2 {
  margin: 0;
}

.matrix-head p {
  margin: 0;
  color: var(--text-soft);
}

.manufacturer-group {
  margin: 1.2rem 0 1.8rem;
}

.manufacturer-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  padding: 0.38rem 0.7rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #1a0000, #0d0000);
}

.product-card {
  border: 1px solid #cc000030;
  border-radius: 16px;
  margin: 0.75rem 0;
  overflow: hidden;
  background: #0a0000;
}

.product-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #cc000025;
}

.product-card h3 {
  margin: 0;
}

.pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: #ff9999;
  border: 1px solid #cc000055;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
  font-size: 0.9rem;
}

th {
  color: var(--text-soft);
  font-weight: 500;
  border-bottom: 1px solid #cc000030;
}

tbody tr {
  border-bottom: 1px solid #cc000020;
  transition: background-color 200ms ease;
}

tbody tr:hover {
  background: #2a000033;
}

.risk {
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.risk-low {
  background: #00330015;
  color: #33cc66;
}

.risk-medium {
  background: #cc660020;
  color: #ff9944;
}

.risk-high {
  background: #cc000030;
  color: #ff4444;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: stagger-in 520ms ease forwards;
}

#disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #000000ee;
}

#disclaimer-overlay.hidden {
  display: none;
}

.disclaimer-box {
  width: min(640px, 100%);
  background: #0d0000;
  border: 1px solid #cc0000;
  border-radius: var(--radius);
  box-shadow: 0 0 60px #cc000040;
  padding: 1.4rem;
}

.disclaimer-box h2 {
  margin: 0 0 0.6rem;
}

.disclaimer-box p {
  margin: 0.5rem 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.disclaimer-box ul {
  margin: 0.5rem 0 0.9rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.disclaimer-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.7rem;
  color: var(--text);
  cursor: pointer;
}

.disclaimer-checkbox input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: #cc0000;
}

#disclaimer-accept {
  margin-top: 0.9rem;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font: 600 1rem 'Space Grotesk', sans-serif;
  background: #cc0000;
  color: #fff;
  opacity: 0.45;
  cursor: not-allowed;
}

#disclaimer-accept.enabled {
  opacity: 1;
  cursor: pointer;
}

#disclaimer-accept.enabled:hover {
  background: #ff2222;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stagger-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-line {
  0% {
    transform: scaleX(0.1);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-intro,
  .page-intro-kicker,
  .page-intro-title,
  .page-intro-line,
  .parallax-active {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 940px) {
  .controls {
    grid-template-columns: 1fr;
  }

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

  .matrix-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero,
  .layout,
  .site-footer {
    width: min(1200px, calc(100% - 1.25rem));
  }

  .hero {
    padding: 2.4rem 0 1.25rem;
  }

  .controls {
    padding: 0.85rem;
  }

  .matrix {
    padding: 0.75rem;
  }

  table {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.65rem 0 1rem;
  }

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

  .product-card header {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(1.35rem, 7vw, 1.95rem);
    line-height: 1.15;
    color: var(--text);
    margin: 0 0 0.65rem;
  }

  .hero-text {
    margin-top: 0.6rem;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .overline {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.55rem;
  }

  .hero-credit {
    font-size: 0.8rem;
    margin-bottom: 0.55rem;
  }

  .controls {
    gap: 0.75rem;
    padding: 0.75rem;
  }

  label {
    font-size: 0.82rem;
  }

  input,
  select {
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }

  .chip {
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
  }

  .stat {
    padding: 0.8rem;
  }

  .stat h3 {
    font-size: 1.2rem;
  }

  .matrix {
    padding: 0.55rem;
  }

  .matrix-head {
    margin-bottom: 0.6rem;
  }

  .matrix-head h2 {
    font-size: 1.05rem;
  }

  .manufacturer-title {
    font-size: 0.98rem;
    padding: 0.32rem 0.55rem;
  }

  .product-card header {
    padding: 0.7rem 0.75rem;
  }

  .pill {
    font-size: 0.74rem;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    padding: 0.55rem 0.5rem;
    font-size: 0.8rem;
  }

  .disclaimer-box {
    padding: 1rem;
  }

  .disclaimer-box p,
  .disclaimer-box li {
    font-size: 0.9rem;
  }

  .site-footer {
    width: min(1200px, calc(100% - 1.25rem));
    margin-bottom: 1.25rem;
    padding: 0.75rem;
  }

  .site-footer p {
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .hero,
  .layout,
  .site-footer {
    width: calc(100% - 0.9rem);
  }

  .controls,
  .matrix {
    padding: 0.6rem;
  }

  .matrix-head h2 {
    font-size: 0.98rem;
  }

  th,
  td {
    font-size: 0.76rem;
  }
}
