/* ZNSI placeholder — cyberpunk megacorp / frontier lab. Pure CSS, no JS. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  background: #05060a;
  color: #d7e4ee;
  font-family: ui-monospace, "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* fixed background grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* scanline overlay */
.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 2px, transparent 2px 4px);
  pointer-events: none;
  z-index: 3;
}

main {
  text-align: center;
  padding: 2rem;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  color: #00f0ff;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.55);
}

h1.glitch {
  position: relative;
  font-size: clamp(4rem, 16vw, 9rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #eafcff;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.8), 0 0 32px rgba(0, 240, 255, 0.35), 0 0 64px rgba(255, 0, 60, 0.2);
  line-height: 1;
  margin-bottom: 1.7rem;
}

h1.glitch::before,
h1.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
}

h1.glitch::before {
  color: #ff003c;
  z-index: -1;
  animation: glitch-a 2.8s infinite steps(1);
}

h1.glitch::after {
  color: #00f0ff;
  z-index: -2;
  animation: glitch-b 3.4s infinite steps(1);
}

@keyframes glitch-a {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
  89% { clip-path: inset(12% 0 58% 0); transform: translate(-4px, 2px); }
  91% { clip-path: inset(62% 0 8% 0); transform: translate(4px, -2px); }
  93% { clip-path: inset(32% 0 42% 0); transform: translate(-2px, 1px); }
  95% { clip-path: inset(80% 0 4% 0); transform: translate(3px, 2px); }
  97% { clip-path: inset(6% 0 78% 0); transform: translate(-3px, -1px); }
}

@keyframes glitch-b {
  0%, 90%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
  91% { clip-path: inset(48% 0 30% 0); transform: translate(4px, -2px); }
  93% { clip-path: inset(8% 0 72% 0); transform: translate(-4px, 2px); }
  96% { clip-path: inset(70% 0 12% 0); transform: translate(2px, -1px); }
}

.tagline {
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  color: #bfe9f2;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  margin-bottom: 2.4rem;
}

.statusline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(0, 240, 255, 0.04);
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fd8e6;
  text-decoration: none;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff003c;
  box-shadow: 0 0 10px #ff003c;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

footer {
  position: fixed;
  bottom: 1.1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #4b5563;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  h1.glitch::before, h1.glitch::after, .dot { animation: none; }
}