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

:root {
  --bg-primary: #020617;
  --bg-secondary: #0b1329;
  --primary: #38bdf8;
  --secondary: #2563eb;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow: rgba(56, 189, 248, 0.15);
  --font-title: "Outfit", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.18) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(56, 189, 248, 0.16) 0, transparent 50%),
    radial-gradient(at 50% 100%, rgba(15, 23, 42, 0.5) 0, transparent 50%),
    var(--bg-primary);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: rgba(37, 99, 235, 0.35);
}

.orb-2 {
  width: 360px;
  height: 360px;
  top: 20%;
  right: -100px;
  background: rgba(56, 189, 248, 0.28);
  animation-delay: -6s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: 35%;
  background: rgba(37, 99, 235, 0.22);
  animation-delay: -12s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(24px, -20px) scale(1.04);
  }
  66% {
    transform: translate(-16px, 16px) scale(0.96);
  }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 2rem;
}

.hero {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fade-up 0.9s ease-out both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-wrap {
  margin-bottom: 1.5rem;
  animation: fade-up 0.9s ease-out 0.1s both;
}

.logo {
  width: min(220px, 58vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.2));
}

.eyebrow {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  animation: fade-up 0.9s ease-out 0.15s both;
}

.headline {
  margin-bottom: 2.5rem;
  animation: fade-up 0.9s ease-out 0.2s both;
}

.headline-text {
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 9vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    #f8fafc 0%,
    #38bdf8 45%,
    #2563eb 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.status-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  width: 100%;
  max-width: 520px;
  padding: 1.25rem 1.375rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.125rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 30px var(--glow);
  text-align: left;
  animation: fade-up 0.9s ease-out 0.35s both;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.status-card:hover {
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 40px rgba(56, 189, 248, 0.18);
}

.status-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--primary);
}

.status-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.status-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.status-title {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2.8vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.status-pulse {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.footer {
  margin-top: auto;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  animation: fade-up 0.9s ease-out 0.45s both;
}

.footer-ar {
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .status-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .status-pulse {
    top: 1rem;
    right: 1rem;
  }
}

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