:root {
  --navy: #0b1221;
  --navy-2: #111b2e;
  --blue: #4ca1ff;
  --blue-soft: rgba(76, 161, 255, 0.22);
  --gold: #ffcc00;
  --text: #ffffff;
  --muted: #aeb8c8;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 50% 45%, rgba(76, 161, 255, 0.15), transparent 28rem),
    linear-gradient(140deg, #070d19 0%, var(--navy) 42%, #0f1a2d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 76%, transparent);
}

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  width: min(168px, 44vw);
  height: auto;
  filter: drop-shadow(0 14px 36px rgba(76, 161, 255, 0.16));
}

.maintenance-hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 5rem) 0;
}

.signal-stage {
  position: relative;
  display: grid;
  min-height: min(58vw, 520px);
  place-items: center;
}

.signal-core {
  width: clamp(6.5rem, 16vw, 11rem);
  aspect-ratio: 1;
  border: 1px solid rgba(76, 161, 255, 0.55);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 4%, transparent 5%),
    radial-gradient(circle, rgba(76, 161, 255, 0.82), rgba(76, 161, 255, 0.16) 45%, transparent 68%);
  box-shadow:
    0 0 40px rgba(76, 161, 255, 0.4),
    0 0 90px rgba(76, 161, 255, 0.22),
    inset 0 0 26px rgba(255, 255, 255, 0.14);
  animation: corePulse 4.2s ease-in-out infinite;
}

.signal-ring {
  position: absolute;
  width: var(--size);
  aspect-ratio: 1;
  border: 1px solid rgba(76, 161, 255, 0.22);
  border-radius: 999px;
  box-shadow: inset 0 0 38px rgba(76, 161, 255, 0.08);
  animation: ringDrift var(--speed) ease-in-out infinite;
}

.ring-one {
  --size: clamp(13rem, 30vw, 22rem);
  --speed: 8s;
}

.ring-two {
  --size: clamp(18rem, 43vw, 32rem);
  --speed: 11s;
  border-color: rgba(255, 204, 0, 0.16);
  transform: rotate(10deg);
}

.ring-three {
  --size: clamp(23rem, 54vw, 40rem);
  --speed: 14s;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
}

.signal-line {
  position: absolute;
  width: min(42vw, 380px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 161, 255, 0.8), transparent);
  transform-origin: center;
  opacity: 0.55;
  animation: lineSweep 7s ease-in-out infinite;
}

.line-one {
  transform: rotate(18deg);
}

.line-two {
  transform: rotate(-32deg);
  animation-delay: -2.5s;
}

.line-three {
  transform: rotate(74deg);
  animation-delay: -4s;
}

.content-panel {
  position: relative;
  padding-left: clamp(0rem, 2vw, 2rem);
}

.content-panel::before {
  position: absolute;
  top: 0.4rem;
  left: 0;
  width: 2px;
  height: 100%;
  content: "";
  background: linear-gradient(to bottom, var(--blue), rgba(255, 255, 255, 0.05));
}

.status-label {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: clamp(0.76rem, 1.2vw, 0.84rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.9rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.92;
}

.lead {
  max-width: 43rem;
  margin: clamp(1.35rem, 3vw, 2rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.72;
}

.progress-track {
  width: min(100%, 420px);
  height: 3px;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  box-shadow: 0 0 22px rgba(76, 161, 255, 0.7);
  animation: progressMove 2.8s ease-in-out infinite;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.35rem;
  align-items: center;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.contact-row a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  color: var(--blue);
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.8rem;
}

@keyframes corePulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.82;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes ringDrift {
  0%,
  100% {
    transform: rotate(0deg) scale(0.98);
    opacity: 0.62;
  }

  50% {
    transform: rotate(7deg) scale(1.03);
    opacity: 1;
  }
}

@keyframes lineSweep {
  0%,
  100% {
    opacity: 0.18;
    filter: blur(0);
  }

  45% {
    opacity: 0.72;
    filter: blur(0.6px);
  }
}

@keyframes progressMove {
  0% {
    transform: translateX(-110%);
  }

  50% {
    transform: translateX(78%);
  }

  100% {
    transform: translateX(260%);
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 1.2rem;
  }

  .maintenance-hero {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2.5rem 0;
  }

  .signal-stage {
    min-height: 280px;
    order: 1;
  }

  .content-panel {
    order: 2;
    padding-left: 0;
  }

  .content-panel::before {
    display: none;
  }

  h1 {
    max-width: 11ch;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 138px;
  }

  .signal-stage {
    min-height: 235px;
  }

  .ring-three {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
