/* =============================================
   UNDER MAINTENANCE — Premium Landing Page
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: linear-gradient(145deg, #064e3b 0%, #065f46 25%, #047857 50%, #0d9488 75%, #0f766e 100%);
  min-height: 100vh;
  color: #1e293b;
  overflow-x: hidden;
  position: relative;
}

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

.float-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #34d399, transparent);
  top: -60px; left: -80px;
  animation: floatDrift 18s ease-in-out infinite;
}
.shape-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #fbbf24, transparent);
  top: 20%; right: -40px;
  animation: floatDrift 22s ease-in-out infinite reverse;
}
.shape-3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, #818cf8, transparent);
  bottom: 30%; left: 5%;
  animation: floatDrift 20s ease-in-out infinite 3s;
}
.shape-4 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, #f472b6, transparent);
  top: 50%; right: 15%;
  animation: floatDrift 16s ease-in-out infinite 1s;
}
.shape-5 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #2dd4bf, transparent);
  bottom: -50px; right: -60px;
  animation: floatDrift 24s ease-in-out infinite 5s;
}
.shape-6 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #fde68a, transparent);
  top: 60%; left: -40px;
  animation: floatDrift 19s ease-in-out infinite 2s;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-1 {
  width: 400px; height: 400px;
  background: rgba(16, 185, 129, 0.15);
  top: -100px; left: 20%;
  animation: glowPulse 8s ease-in-out infinite;
}
.glow-2 {
  width: 350px; height: 350px;
  background: rgba(251, 191, 36, 0.08);
  bottom: 10%; right: 10%;
  animation: glowPulse 10s ease-in-out infinite 2s;
}
.glow-3 {
  width: 300px; height: 300px;
  background: rgba(99, 102, 241, 0.06);
  top: 40%; left: -5%;
  animation: glowPulse 12s ease-in-out infinite 4s;
}

/* --- Layout --- */
.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 32px;
}

/* --- Monitor Section --- */
.monitor-section {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.scene {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 860px;
}

/* --- Workers --- */
.worker {
  position: absolute;
  z-index: 2;
}

.worker-left {
  left: -40px;
  top: 60px;
  width: 110px;
}
.worker-right {
  right: -30px;
  top: 80px;
  width: 110px;
}
.worker-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.floating-gear {
  position: absolute;
  right: 20px;
  top: -10px;
  width: 48px;
  z-index: 2;
}
.floating-wrench {
  position: absolute;
  left: 30px;
  bottom: 100px;
  width: 40px;
  z-index: 2;
}

/* Gear rotation */
.gear-spin {
  animation: spinCW 12s linear infinite;
  transform-origin: center;
}
.gear-spin-reverse {
  animation: spinCCW 10s linear infinite;
  transform-origin: center;
}

/* --- Monitor --- */
.monitor {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 640px;
}

.monitor-frame {
  position: relative;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 16px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.monitor-screen {
  background: linear-gradient(170deg, #fffdf7 0%, #fef9ee 40%, #fefce8 100%);
  border-radius: 12px;
  padding: 40px 36px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.03);
}

/* subtle grid pattern on screen */
.monitor-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Warning triangle */
.warning-triangle {
  position: absolute;
  top: -30px;
  right: 30px;
  width: 64px;
  z-index: 5;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(251,191,36,0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(245,158,11,0.5);
}

.screen-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #64748b;
  margin-bottom: 10px;
}

.screen-heading {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #0f172a, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.screen-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #475569;
  max-width: 460px;
  margin: 0 auto 24px;
}

/* Status list */
.status-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  padding: 8px 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.status-list li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.status-list li .fa-circle-check {
  color: #10b981;
  font-size: 0.9rem;
}
.status-list li .fa-spinner {
  color: #f59e0b;
  font-size: 0.9rem;
}
.status-list li .fa-clock {
  color: #8b5cf6;
  font-size: 0.9rem;
}

/* Monitor stand */
.monitor-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stand-neck {
  width: 40px;
  height: 28px;
  background: linear-gradient(180deg, #1e293b, #334155);
  border-radius: 0 0 4px 4px;
}

.stand-base {
  width: 140px;
  height: 10px;
  background: linear-gradient(180deg, #334155, #475569);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* --- Contact Section --- */
.contact-section {
  text-align: center;
  padding: 28px 0 0;
}

.contact-heading {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.contact-desc {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: none;
  border-radius: 22px;
  padding: 36px 40px 32px;
  min-width: 270px;
  max-width: 340px;
  flex: 1;
  text-decoration: none;
  color: #1e293b;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1),
              box-shadow 0.35s ease;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #f97316, #fbbf24);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.18),
    0 8px 20px rgba(249,115,22,0.12);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(249,115,22,0.4);
}

.contact-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #0f172a;
}

.card-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid #a7f3d0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  word-break: break-all;
}

.contact-card:hover .card-email {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
}


/* --- Footer --- */
.footer {
  text-align: center;
  padding: 48px 0 24px;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

/* ===========================
   ANIMATIONS
   =========================== */

/* Entrance fade-up */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s cubic-bezier(.22,.61,.36,1) forwards;
}
.anim-fade-up-delay {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s cubic-bezier(.22,.61,.36,1) 0.4s forwards;
}
.anim-fade-up-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(.22,.61,.36,1) 0.7s forwards;
}

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

/* Floating workers */
.anim-float-slow {
  animation: floatY 6s ease-in-out infinite;
}
.anim-float-medium {
  animation: floatY 5s ease-in-out infinite 1s;
}
.anim-float-fast {
  animation: floatY 4s ease-in-out infinite 0.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Gentle bounce for warning triangle */
.anim-gentle-bounce {
  animation: gentleBounce 3s ease-in-out infinite;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

/* Background drifting shapes */
@keyframes floatDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Glow pulse */
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Pulse dot */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Gear spin */
@keyframes spinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spinCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet */
@media (max-width: 900px) {
  .worker-left {
    left: -20px;
    width: 90px;
  }
  .worker-right {
    right: -10px;
    width: 90px;
  }
  .floating-gear { width: 36px; right: 5px; }
  .floating-wrench { width: 32px; left: 10px; }
  .screen-heading { font-size: 1.6rem; }
  .monitor-screen { padding: 32px 24px 28px; }
}

/* Large mobile */
@media (max-width: 680px) {
  .container { padding: 24px 16px 24px; }

  .worker-left, .worker-right {
    display: none;
  }
  .floating-gear, .floating-wrench {
    display: none;
  }

  .monitor-frame {
    padding: 10px;
    border-radius: 14px;
  }
  .monitor-screen {
    padding: 28px 18px 24px;
    border-radius: 8px;
  }
  .screen-heading {
    font-size: 1.35rem;
  }
  .screen-desc {
    font-size: 0.82rem;
  }
  .status-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .status-list li {
    font-size: 0.78rem;
    padding: 7px 10px;
  }
  .warning-triangle {
    width: 48px;
    top: -22px;
    right: 16px;
  }
  .stand-neck { height: 20px; width: 30px; }
  .stand-base { width: 100px; height: 8px; }

  .contact-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .contact-card {
    max-width: 100%;
    min-width: unset;
    padding: 28px 22px 24px;
    border-radius: 18px;
  }
  .card-email {
    font-size: 0.84rem;
    padding: 7px 14px;
  }
  .contact-heading { font-size: 1.15rem; }
  .contact-desc { font-size: 0.86rem; }

  .monitor-section { margin-bottom: 40px; }
}

/* Small mobile */
@media (max-width: 400px) {
  .screen-heading { font-size: 1.15rem; }
  .screen-label { font-size: 0.65rem; letter-spacing: 2px; }
  .status-badge { font-size: 0.6rem; padding: 5px 12px; }
  .screen-desc { font-size: 0.78rem; }
}

