:root {
  --blue: #0077ff;
  --blue2: #00a3ff;
  --dark: #03060b;
  --panel: #060b14;
  --text: #f5faff;
  --muted: #9db3c7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 30%, rgba(0, 119, 255, 0.28), transparent 35%),
    linear-gradient(120deg, #000 0%, #03060b 45%, #00122a 100%);
  color: var(--text);
  font-family: "Press Start 2P", monospace;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0, 119, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.22;
  pointer-events: none;
}

.topbar {
  height: 88px;
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 119, 255, 0.7);
  background: rgba(0, 0, 0, 0.82);
  position: relative;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 2px solid var(--blue);
  transform: rotate(45deg);
}

.logo-text {
  font-size: 22px;
  letter-spacing: 2px;
}

.tagline {
  margin-top: 8px;
  font-size: 9px;
  color: var(--blue2);
}

nav {
  display: flex;
  gap: 42px;
}

nav a,
.login,
.cta,
.card {
  color: var(--text);
  text-decoration: none;
}

nav a {
  font-size: 11px;
  color: var(--text);
  position: relative;
}

nav a.active,
nav a:hover {
  color: var(--blue2);
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 3px;
  background: var(--blue);
}

.login {
  border: 1px solid var(--blue);
  padding: 18px 24px;
  color: var(--blue2);
  clip-path: polygon(0 0, 88% 0, 100% 30%, 100% 100%, 0 100%);
}

.hero {
  min-height: 520px;
  position: relative;
  padding: 70px 7vw;
  display: flex;
  align-items: center;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.welcome {
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(42px, 8vw, 92px);
  margin: 0 0 24px;
  letter-spacing: 4px;
  text-shadow: 8px 8px 0 rgba(255, 255, 255, 0.14);
}

.lines p {
  margin: 12px 0;
  font-size: 15px;
}

.cta {
  margin-top: 32px;
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue2);
  padding: 22px 28px;
  font-size: 13px;
  clip-path: polygon(0 0, 90% 0, 100% 35%, 100% 100%, 0 100%);
}

.cta span {
  margin-left: 16px;
  font-size: 22px;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slash {
  position: absolute;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.95), rgba(0, 163, 255, 0.35));
  transform: skewX(-28deg);
  border: 1px solid rgba(0, 163, 255, 0.9);
}

.slash-1 {
  width: 150px;
  height: 520px;
  right: 31%;
  top: 40px;
}

.slash-2 {
  width: 80px;
  height: 340px;
  right: 42%;
  top: 150px;
  opacity: 0.45;
}

.slash-3 {
  width: 260px;
  height: 90px;
  right: 18%;
  top: 205px;
  opacity: 0.6;
}

.grid-dot {
  position: absolute;
  right: 10%;
  top: 70px;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--blue) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.35;
}

.status-card {
  position: absolute;
  right: 5vw;
  bottom: 70px;
  width: 340px;
  padding: 26px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--blue);
  clip-path: polygon(0 0, 93% 0, 100% 12%, 100% 100%, 0 100%);
}

.status-card h2 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 15px;
}

.row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
  font-size: 10px;
}

.row span {
  width: 8px;
  height: 8px;
  background: var(--blue);
}

.row p {
  margin: 0;
}

.row strong {
  color: var(--blue2);
}

.cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 7vw 60px;
}

.card {
  min-height: 150px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 119, 255, 0.8);
  clip-path: polygon(0 0, 94% 0, 100% 18%, 100% 100%, 0 100%);
  transition: 0.15s;
}

.card:hover {
  background: rgba(0, 119, 255, 0.16);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.card p {
  font-family: monospace;
  color: var(--muted);
  font-size: 14px;
}

.card span {
  color: var(--blue2);
  font-size: 11px;
}

@media (max-width: 900px) {
  .topbar {
    padding: 20px;
    height: auto;
    flex-direction: column;
    gap: 22px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .hero {
    padding: 50px 24px;
  }

  .status-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 0 24px 50px;
  }
}
