/* ==========================================================
   GSIX - Maintenance page
   Brand colors borrowed from amzboost.com for now.
   Change the values below to update the whole page.
   ========================================================== */
:root {
  --primary: #e31837;
  --primary-dark: #c8142f;
  --text: #111111;
  --muted: #555555;
  --bg: #ffffff;
  --bg-tint: #fff0f0;
  --card: rgba(255, 255, 255, 0.8);
  --border: rgba(17, 17, 17, 0.08);
  --radius: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  color-scheme: light;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.25rem;
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(ellipse at top, var(--bg-tint), var(--bg) 60%) fixed;
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(100px);
  opacity: 0.12;
  animation: float 14s ease-in-out infinite alternate;
}

.orb--one {
  top: -140px;
  left: -120px;
}

.orb--two {
  right: -140px;
  bottom: -160px;
  animation-delay: -7s;
}

/* ---------- Card ---------- */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    0 30px 80px -30px color-mix(in srgb, var(--primary) 25%, transparent),
    0 10px 30px -10px rgba(17, 17, 17, 0.08);
  animation: rise 0.8s ease-out both;
}

/* ---------- Gears ---------- */
.gears {
  position: relative;
  width: 126px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.gear {
  position: absolute;
}

.gear--big {
  top: 32px;
  left: 6px;
  width: 88px;
  height: 88px;
  color: var(--primary);
  animation: spin 8s linear infinite;
}

.gear--small {
  top: 1px;
  left: 69px;
  width: 56px;
  height: 56px;
  color: var(--text);
  animation: spin 5s linear infinite reverse;
}

/* ---------- Text ---------- */
.eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--primary);
}

.lead {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------- Progress bar ---------- */
.progress {
  position: relative;
  max-width: 320px;
  height: 6px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
}

.progress__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  animation: load 2.2s ease-in-out infinite;
}

/* ---------- Contact ---------- */
.contact p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--primary) 70%, transparent);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--primary) 80%, transparent);
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Animations ---------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  to { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
}

@keyframes load {
  from { transform: translateX(-100%); }
  to   { transform: translateX(250%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  body {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 2.25rem 1.25rem;
  }

  .btn {
    max-width: 100%;
    padding: 0.8rem 1.1rem;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
