@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --background: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-border: rgba(255, 255, 255, 0.9);

  --primary: #4353ff;
  --primary-dark: #2735cf;
  --primary-light: #eef0ff;

  --text-primary: #17203a;
  --text-secondary: #667085;
  --text-light: #98a2b3;

  --success: #22c55e;

  --shadow:
    0 30px 80px rgba(42, 51, 99, 0.12),
    0 10px 30px rgba(42, 51, 99, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(67, 83, 255, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(102, 126, 234, 0.14),
      transparent 32%
    ),
    var(--background);
}

a {
  color: inherit;
}

.maintenance-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 40px 20px;
}

.background-decoration {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.background-decoration-left {
  top: -200px;
  left: -170px;
  background: linear-gradient(
    145deg,
    rgba(67, 83, 255, 0.2),
    rgba(67, 83, 255, 0)
  );
}

.background-decoration-right {
  right: -180px;
  bottom: -210px;
  background: linear-gradient(
    145deg,
    rgba(117, 142, 255, 0),
    rgba(117, 142, 255, 0.25)
  );
}

.maintenance-card {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  padding: 36px 48px 28px;
  overflow: hidden;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--primary),
    #7c84ff
  );
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(67, 83, 255, 0.26);
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid rgba(67, 83, 255, 0.1);
  border-radius: 999px;
}

.status-dot {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.status-dot::after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: inherit;
  animation: pulse 1.8s infinite;
}

.illustration {
  position: relative;
  width: 250px;
  height: 170px;
  margin: 0 auto 22px;
}

.browser-window {
  position: absolute;
  top: 0;
  left: 15px;
  width: 210px;
  height: 145px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e9ecf5;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(42, 51, 99, 0.15);
  transform: rotate(-2deg);
}

.browser-header {
  display: flex;
  gap: 6px;
  padding: 13px 15px;
  background: #f5f6fb;
  border-bottom: 1px solid #eceef5;
}

.browser-header span {
  width: 7px;
  height: 7px;
  background: #c9cede;
  border-radius: 50%;
}

.browser-header span:first-child {
  background: #ff7c7c;
}

.browser-header span:nth-child(2) {
  background: #ffca62;
}

.browser-header span:last-child {
  background: #66d69e;
}

.browser-content {
  padding: 25px 24px;
}

.loader {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 22px;
}

.loader-circle {
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  animation: loader 1.2s infinite ease-in-out;
}

.loader-circle:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-circle:nth-child(3) {
  animation-delay: 0.3s;
}

.content-line {
  width: 85%;
  height: 7px;
  margin: 0 auto 9px;
  background: #eceef6;
  border-radius: 999px;
}

.content-line-large {
  width: 100%;
}

.content-line-small {
  width: 55%;
}

.gear {
  position: absolute;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--primary),
    #8991ff
  );
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(67, 83, 255, 0.3);
  animation: rotate 8s linear infinite;
}

.gear-large {
  right: 0;
  bottom: 0;
  width: 66px;
  height: 66px;
  font-size: 31px;
}

.gear-small {
  top: 14px;
  right: 7px;
  width: 38px;
  height: 38px;
  font-size: 18px;
  animation-direction: reverse;
  animation-duration: 6s;
}

.content {
  max-width: 690px;
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1 {
  margin-bottom: 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.description {
  max-width: 650px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.progress-section {
  max-width: 650px;
  margin: 36px auto;
}

.progress-information {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.progress-information strong {
  color: var(--primary);
}

.progress-bar {
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: #e8ebf5;
  border-radius: 999px;
}

.progress-value {
  width: 75%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary),
    #8089ff
  );
  border-radius: inherit;
  animation: progress 1.5s ease-out;
}

.information-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 34px;
}

.information-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  text-align: left;
  background: rgba(246, 247, 252, 0.8);
  border: 1px solid #eceef5;
  border-radius: 17px;
}

.information-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  font-size: 16px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 12px;
}

.information-item strong,
.information-item span {
  display: block;
}

.information-item strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.information-item span {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.footer {
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid #e9ebf3;
}

.footer a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-light);
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(0.8);
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes loader {
  0%,
  80%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-7px);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes progress {
  from {
    width: 0;
  }

  to {
    width: 75%;
  }
}

@media (max-width: 760px) {
  .maintenance-page {
    padding: 20px 14px;
  }

  .maintenance-card {
    padding: 30px 22px 24px;
    border-radius: 25px;
  }

  .information-grid {
    grid-template-columns: 1fr;
  }

  .illustration {
    transform: scale(0.9);
    margin-top: -8px;
    margin-bottom: 10px;
  }

  .description {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .maintenance-card {
    padding-inline: 18px;
  }

  .brand {
    margin-bottom: 22px;
  }

  h1 {
    font-size: 34px;
  }

  .illustration {
    width: 230px;
    transform: scale(0.82);
    transform-origin: center;
  }

  .progress-information {
    font-size: 12px;
  }
}

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