/* HOME PAGE: WEBSITE MAINTENANCE SECTION
   Loaded after css/home.css, which supplies the --hm- colors and spacing.
   Every class starts with hm-mt- or hm-c so it won't touch other sections. */

.hm-mt {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  box-sizing: border-box;
  padding: clamp(64px, 8vw, 110px) var(--hm-edge);
  background:
    radial-gradient(700px 480px at 85% 50%, rgba(13, 224, 226, .16), transparent 70%),
    radial-gradient(600px 420px at 10% 100%, rgba(231, 5, 239, .14), transparent 70%),
    var(--hm-deep);
}
/* Glowing line across the top of the section */
.hm-mt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hm-cyan) 25%, var(--hm-magenta) 75%, transparent);
  box-shadow: 0 0 14px rgba(13, 224, 226, .7);
}

/* TEXT */
.hm-mtText h2 { margin-bottom: 24px; max-width: 12em; }
.hm main .hm-mtText p { color: var(--hm-text); }
.hm main .hm-mtText p.hm-mtProof {
  margin: 26px 0 30px;
  padding-left: 18px;
  border-left: 3px solid var(--hm-cyan);
  color: #fff;
  font-family: Roboto-B, Roboto-Reg, sans-serif;
}

/* BOARD */
.hm-mtBoard {
  border: 2px solid var(--hm-cyan);
  border-radius: 12px;
  background: linear-gradient(160deg, #1b2342, #141a33);
  box-shadow: 0 0 12px rgba(13, 224, 226, .45), 0 0 50px rgba(13, 224, 226, .25), 0 26px 60px rgba(4, 7, 22, .6);
}
.hm-mtTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.hm .hm-mtTop h3 { font-size: clamp(1.6rem, 2vw, 2rem); }
.hm-mtLive {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hm-cyan);
  font-family: Roboto-B, Roboto-Reg, sans-serif;
  font-size: .92rem;
  white-space: nowrap;
}
/* The one moving piece: a slow pulse that says "being looked after" */
.hm-mtPulse {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hm-cyan);
  box-shadow: 0 0 10px var(--hm-cyan);
}
.hm-mtPulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--hm-cyan);
  animation: hmMtPulse 2.4s ease-out infinite;
}
@keyframes hmMtPulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hm main .hm-mtList { padding: 8px 0; }
.hm main .hm-mtList li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.hm main .hm-mtList li:last-child { border-bottom: 0; }
/* Each item takes a neon color from the logo */
.hm-c1 { --mt: #0de0e2; }
.hm-c2 { --mt: #8fb2ff; }
.hm-c3 { --mt: #f36cf7; }
.hm-c4 { --mt: #2fe6c4; }
.hm-c5 { --mt: #b6a6ff; }
.hm-c6 { --mt: #0de0e2; }
/* Neon check mark drawn with CSS */
.hm-mtIcon {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 2px solid var(--mt);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mt), inset 0 0 6px var(--mt);
}
.hm-mtIcon::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 7px;
  height: 13px;
  border: solid var(--mt);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 3px var(--mt));
}
.hm-mtItem { color: var(--hm-soft); font-size: .98rem; line-height: 1.5; }
.hm-mtItem strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-family: Roboto-B, Roboto-Reg, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
}

@media (prefers-reduced-motion: reduce) {
  .hm-mtPulse::after { animation: none; opacity: 0; }
}

/* SMALLER SCREENS */
@media screen and (max-width: 980px) {
  .hm-mt { grid-template-columns: minmax(0, 1fr); }
  .hm-mtText h2 { max-width: none; }
}
@media screen and (max-width: 560px) {
  .hm-mtTop { padding: 16px 18px; }
  .hm main .hm-mtList li { gap: 13px; padding: 14px 18px; }
}
