#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 22%),
    radial-gradient(circle at bottom right, rgba(31, 102, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #85b7de 0%, #7fb0da 100%);
}

#particles-js canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.maintenance-page {
  min-height: 100vh;
  margin: 0;
  font-family: "Source Sans Pro", sans-serif;
  color: #173052;
  overflow-x: hidden;
}

.maintenance-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.maintenance-card {
  position: relative;
  background: linear-gradient(90deg, #f8f7f5 0%, #f8f7f5 36%, #ffffff 36%, #ffffff 100%);
  border-radius: 0;
  box-shadow: 14px 16px 0 rgba(62, 102, 142, 0.22);
  overflow: hidden;
}

.maintenance-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35%;
  width: 160px;
  background: linear-gradient(180deg, rgba(176, 206, 231, 0.3), rgba(191, 214, 235, 0.14));
  border-radius: 50% 45% 42% 48% / 12% 12% 88% 88%;
  transform: translateX(-35%);
}

.maintenance-copy,
.maintenance-visual {
  position: relative;
  z-index: 1;
}

.maintenance-copy {
  padding: 4.25rem 2.5rem 3.75rem 3rem;
}

.maintenance-logo img {
  max-height: 42px;
  width: auto;
}

.maintenance-copy h1 {
  margin: 2rem 0 1.25rem;
  font-size: 3.2rem;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #193254;
}

.maintenance-copy h1 span {
  color: #1f6bff;
}

.maintenance-copy .desc {
  max-width: 320px;
  color: #526d8c;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.maintenance-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.maintenance-pill {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #eef4fb;
  color: #244567;
  font-size: 0.88rem;
  font-weight: 700;
}

.maintenance-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: #18355a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(24, 53, 90, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.maintenance-button:hover {
  color: #ffffff;
  text-decoration: none;
  background: #1f4c82;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(24, 53, 90, 0.22);
}

.maintenance-note {
  margin-top: 1rem;
  color: #6983a1;
  font-size: 0.92rem;
}

.maintenance-visual {
  padding: 2.2rem 2.2rem 2.2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-board {
  position: relative;
  width: 100%;
  max-width: 530px;
  min-height: 360px;
}

.system-cloud {
  position: absolute;
  top: 16px;
  right: 26px;
  color: #2f6bba;
  font-size: 2rem;
  opacity: 0.85;
}

.system-clock {
  position: absolute;
  top: 46px;
  left: 26px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #2f6bba;
  box-shadow: 0 12px 26px rgba(43, 93, 154, 0.18);
}

.system-clock::before,
.system-clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #173052;
  transform-origin: bottom center;
  border-radius: 999px;
}

.system-clock::before {
  width: 3px;
  height: 23px;
  transform: translate(-50%, -100%) rotate(8deg);
}

.system-clock::after {
  width: 3px;
  height: 30px;
  transform: translate(-50%, -100%) rotate(100deg);
}

.browser-window {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 430px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 45px rgba(31, 75, 121, 0.18);
}

.browser-bar {
  height: 32px;
  background: #f7f7f7;
  border-bottom: 1px solid #dfebf7;
  position: relative;
}

.browser-bar::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 10px;
  width: 74px;
  height: 10px;
  border-radius: 999px;
  background: #d6deea;
}

.browser-bar::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 11px;
  width: 150px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b8d0ec, #75a7e5);
}

.browser-screen {
  background: linear-gradient(180deg, #2a8cff 0%, #2c71e5 100%);
  padding: 2rem 1.6rem 1.6rem;
  min-height: 250px;
  color: #ffffff;
  text-align: center;
}

.gear-wrap {
  position: relative;
  height: 82px;
  margin-bottom: 1rem;
}

.gear {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.94);
  transform: translate(-50%, -50%);
}

.gear::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.82);
}

.gear-large {
  width: 58px;
  height: 58px;
}

.gear-small {
  width: 34px;
  height: 34px;
  top: 34%;
  left: 62%;
  border-width: 6px;
}

.browser-screen h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: #ffffff;
}

.progress-label {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-shell {
  width: 82%;
  height: 12px;
  margin: 0.85rem auto 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.progress-fill {
  width: 85%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #baf7ff, #ffffff);
}

.progress-value {
  font-size: 1.1rem;
  font-weight: 800;
}

.maintenance-worker {
  position: absolute;
  left: 112px;
  bottom: 8px;
  width: 120px;
  height: 150px;
}

.maintenance-worker .body {
  position: absolute;
  left: 42px;
  bottom: 34px;
  width: 28px;
  height: 56px;
  background: #122d4d;
  border-radius: 16px 16px 10px 10px;
}

.maintenance-worker .body::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 6px;
  width: 16px;
  height: 16px;
  background: #f2b27b;
  border-radius: 50%;
}

.maintenance-worker .body::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 3px;
  width: 22px;
  height: 10px;
  background: #18355a;
  border-radius: 10px 10px 4px 4px;
}

.maintenance-worker .arm {
  position: absolute;
  left: 62px;
  bottom: 70px;
  width: 38px;
  height: 6px;
  background: #f2b27b;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.maintenance-worker .leg-left,
.maintenance-worker .leg-right {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 46px;
  background: #122d4d;
  border-radius: 999px;
}

.maintenance-worker .leg-left {
  left: 48px;
  transform: rotate(18deg);
}

.maintenance-worker .leg-right {
  left: 68px;
  transform: rotate(-12deg);
}

.maintenance-worker .tool {
  position: absolute;
  left: 88px;
  bottom: 72px;
  width: 26px;
  height: 26px;
  border: 5px solid #dce9f6;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.maintenance-plant,
.maintenance-plant.right {
  position: absolute;
  bottom: 14px;
  width: 40px;
  height: 52px;
}

.maintenance-plant {
  left: 18px;
}

.maintenance-plant.right {
  right: 12px;
}

.maintenance-plant::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6px;
  width: 28px;
  height: 20px;
  background: #16355b;
  border-radius: 4px 4px 10px 10px;
}

.maintenance-plant::after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 14px;
  width: 12px;
  height: 24px;
  background: #2f6bba;
  border-radius: 12px 12px 0 12px;
  box-shadow: -10px 8px 0 0 #5f9cff, 10px 6px 0 0 #84b8ff;
}

@media (max-width: 991.98px) {
  .maintenance-card {
    background: #ffffff;
  }

  .maintenance-card::before {
    display: none;
  }

  .maintenance-copy {
    padding: 2.5rem 2rem 1rem;
    text-align: center;
  }

  .maintenance-copy .desc {
    margin-left: auto;
    margin-right: auto;
  }

  .maintenance-meta {
    justify-content: center;
  }

  .maintenance-visual {
    padding: 1rem 1.5rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .maintenance-shell {
    padding: 22px 0;
  }

  .maintenance-copy {
    padding: 2rem 1.4rem 0.75rem;
  }

  .maintenance-copy h1 {
    font-size: 2.45rem;
  }

  .maintenance-card {
    box-shadow: 10px 12px 0 rgba(62, 102, 142, 0.18);
  }

  .system-board {
    min-height: 280px;
  }

  .browser-window {
    position: relative;
    width: 100%;
    bottom: 0;
  }

  .system-clock,
  .system-cloud,
  .maintenance-worker,
  .maintenance-plant,
  .maintenance-plant.right {
    display: none;
  }
}
