:root {
  --navy: #0d1b3d;
  --purple: #6c2cf3;
  --purple-light: #8d4cff;
  --turquoise: #39ddb1;
  --orange: #ff6b35;
  --coral: #ff5a4f;
  --pink: #f16db7;
  --green-light: #a8e6c1;
  --white: #ffffff;
  --surface: #f7f8fc;
  --muted: #667085;
  --shadow: 0 24px 70px rgba(13, 27, 61, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--surface);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow-x: hidden;
  color: var(--navy);
  font-family: Inter, Poppins, Arial, sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(135deg, rgba(108, 44, 243, 0.16) 0 9%, transparent 9.2%),
    linear-gradient(315deg, rgba(255, 107, 53, 0.16) 0 10%, transparent 10.2%),
    linear-gradient(45deg, rgba(57, 221, 177, 0.14) 0 12%, transparent 12.2%),
    linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}

.maintenance-page {
  min-height: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px clamp(20px, 5vw, 72px) 10px;
}

.page-header {
  width: min(1120px, 100%);
  margin-bottom: 14px;
  text-align: center;
}

.hero {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
}

.hero-content {
  animation: fade-in 620ms ease both;
}

.brand {
  margin: 0;
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
}

.brand-tech {
  color: var(--purple);
}

.brand-pra {
  color: var(--turquoise);
}

.brand-prof {
  color: var(--orange);
}

.tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
}

.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(108, 44, 243, 0.15);
  border-radius: 999px;
  color: var(--purple);
  background: rgba(108, 44, 243, 0.13);
  font-size: 16px;
  font-weight: 800;
}

.title {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 0.95;
}

.title-highlight {
  position: relative;
  width: fit-content;
  color: var(--purple);
  background: linear-gradient(90deg, var(--purple), var(--turquoise), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-highlight::after {
  position: absolute;
  left: 8%;
  bottom: -10px;
  width: 46%;
  height: 6px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
}

.copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.4;
}

.copy p {
  margin: 0 0 6px;
}

.copy p:first-child {
  color: var(--navy);
  font-weight: 800;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--purple);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.instagram-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink) 48%, var(--orange));
  box-shadow: 0 10px 24px rgba(108, 44, 243, 0.22);
}

.instagram-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.status-card {
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(57, 221, 177, 0.3);
  border-radius: 20px;
  background: rgba(57, 221, 177, 0.14);
  box-shadow: var(--shadow);
}

.status-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--white);
  font-size: 22px;
}

.status-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.status-card p {
  margin: 0;
  color: var(--muted);
}

.mascot-wrap {
  position: relative;
  display: grid;
  min-height: min(390px, 48vh);
  place-items: center;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.classroom-board {
  position: absolute;
  top: 8%;
  right: 0;
  z-index: 0;
  width: min(420px, 82%);
  aspect-ratio: 1.45;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 12px solid rgba(255, 107, 53, 0.5);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #23745f;
  background-size: 28px 28px;
  box-shadow: 0 26px 60px rgba(13, 27, 61, 0.14);
  transform: rotate(1deg);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.classroom-board span {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.mascot-image {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  max-height: min(470px, 52vh);
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(13, 27, 61, 0.18));
  animation: floating 4s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.mascot-fallback {
  width: min(390px, 88vw);
  aspect-ratio: 0.82;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  border-radius: 38% 38% 34% 34%;
  background:
    linear-gradient(135deg, rgba(108, 44, 243, 0.9), rgba(57, 221, 177, 0.9)),
    var(--purple);
  box-shadow: var(--shadow);
}

.bit-head {
  width: 58%;
  aspect-ratio: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18%;
  border: 10px solid var(--navy);
  border-radius: 34px;
  background: var(--white);
}

.bit-eye {
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 8px rgba(57, 221, 177, 0.18);
}

.bit-body {
  width: 42%;
  display: flex;
  justify-content: space-between;
}

.bit-body span {
  width: 22px;
  height: 58px;
  border-radius: 999px;
  background: var(--orange);
}

.indicators {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 5vw, 58px);
  margin-top: 14px;
}

.indicator {
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  min-height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  box-shadow: none;
  text-align: left;
}

.indicator-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 18px 34px rgba(13, 27, 61, 0.12);
}

.indicator strong {
  max-width: 130px;
  font-size: 15px;
  line-height: 1.15;
}

.indicator-purple .indicator-icon {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
}

.indicator-green .indicator-icon {
  background: linear-gradient(135deg, var(--turquoise), #66e7bf);
}

.indicator-orange .indicator-icon {
  background: linear-gradient(135deg, var(--orange), #ff8b1f);
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 8px 20px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (min-width: 769px) {
  body {
    height: 100vh;
    height: 100svh;
    overflow-y: hidden;
  }
}

@media (min-width: 769px) and (max-height: 720px) {
  .maintenance-page {
    padding-top: 10px;
    padding-bottom: 4px;
  }

  .page-header {
    margin-bottom: 8px;
  }

  .brand {
    font-size: 38px;
  }

  .tagline {
    margin-top: 3px;
    font-size: 14px;
  }

  .badge {
    margin-bottom: 8px;
    padding: 7px 12px;
    font-size: 14px;
  }

  .title {
    font-size: 48px;
  }

  .copy {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.3;
  }

  .status-card {
    margin-top: 8px;
    padding: 8px 12px;
  }

  .mascot-wrap {
    min-height: 310px;
  }

  .mascot-image {
    max-height: 340px;
  }

  .indicators {
    margin-top: 6px;
  }

  .indicator {
    min-height: 54px;
  }

  .indicator-icon {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .footer {
    padding-top: 4px;
    padding-bottom: 6px;
  }
}

.footer strong {
  color: var(--navy);
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1024px) {
  .page-header {
    margin-bottom: 12px;
  }

  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 34px;
  }

  .mascot-wrap {
    min-height: min(360px, 46vh);
  }
}

@media (max-width: 768px) {
  body {
    display: block;
  }

  .maintenance-page {
    min-height: auto;
    padding-top: 24px;
  }

  .page-header {
    margin-bottom: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .badge,
  .title-highlight {
    margin-right: auto;
    margin-left: auto;
  }

  .copy,
  .status-card {
    margin-right: auto;
    margin-left: auto;
  }

  .mascot-wrap {
    min-height: 220px;
    order: 2;
  }

  .classroom-board {
    right: 50%;
    width: min(330px, 90vw);
    transform: translateX(50%) rotate(1deg);
  }

  .mascot-image {
    width: min(320px, 78vw);
  }

  .status-card {
    text-align: left;
  }

  .indicators {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 420px;
  }

  .indicator {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .indicator strong {
    font-size: 14px;
  }

  .indicator-icon {
    width: 58px;
    height: 58px;
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .maintenance-page {
    padding: 18px 16px 12px;
  }

  .tagline {
    font-size: 15px;
  }

  .copy {
    font-size: 16px;
  }

  .status-card {
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
  }

  .indicators {
    display: none;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 14px;
  }
}
