:root {
  --bg-primary: #12141a;
  --bg-secondary: #1a1f35;
  --bg-tertiary: #1e2338;
  --bg-glow: rgba(56, 189, 248, 0.05);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.5);
  --accent-muted: rgba(6, 182, 212, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-medium: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --bg-color: var(--bg-primary);
  --accent-color: var(--accent);
}

html,
body {
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  height: var(--app-height, 100dvh);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: var(--app-height, 100dvh);
  width: 100%;
  overflow: hidden;
  font-family:
    'Manrope',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

#root {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  height: var(--app-height, 100dvh);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: var(--app-height, 100dvh);
  width: 100%;
}

.wf-static-shell {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(18, 20, 26, 0.98) 0%, rgba(15, 18, 24, 1) 100%);
}

.wf-static-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(78vw, 780px);
  max-width: 780px;
}

.wf-static-monitor-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.wf-static-monitor-frame img,
.wf-static-phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wf-static-phone-frame {
  position: absolute;
  right: 4%;
  top: 57%;
  width: min(22vw, 220px);
  min-width: 160px;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.wf-static-phone-mobile {
  display: none;
}

@media (max-width: 767px) {
  .wf-static-shell {
    padding: 0 24px;
  }

  .wf-static-hero {
    width: min(52vw, 240px);
    max-width: 240px;
    min-width: 160px;
  }

  .wf-static-monitor-frame,
  .wf-static-phone-frame {
    display: none;
  }

  .wf-static-phone-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 19;
    overflow: hidden;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.03);
  }
}

#global-boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  color: #fff;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#global-boot-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.wf-boot-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.wf-boot-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: boot-logo-fade-in 0.8s ease-out;
}

.wf-boot-logo {
  animation: boot-logo-scale 0.8s ease-out;
}

.wf-boot-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: boot-path-loop 1.8s ease-in-out infinite;
}

.wf-boot-progress-track {
  height: 4px;
  width: 96px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  animation: boot-progress-fade-in 0.3s ease-out 0.2s both;
}

.wf-boot-progress-fill {
  height: 100%;
  width: 58%;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  animation: boot-progress-loop 1.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes boot-logo-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes boot-logo-scale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes boot-path-loop {
  0% {
    stroke-dashoffset: 100;
    opacity: 0.66;
  }

  35% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  65% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -100;
    opacity: 0.66;
  }
}

@keyframes boot-progress-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes boot-progress-loop {
  0% {
    transform: translateX(-90%);
    opacity: 0.55;
  }

  50% {
    opacity: 0.95;
  }

  100% {
    transform: translateX(95%);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  #global-boot-overlay * {
    animation: none !important;
    transition: none !important;
  }

  #global-boot-overlay .wf-boot-path {
    stroke-dashoffset: 0 !important;
  }

  #global-boot-overlay .wf-boot-progress-fill {
    width: 100% !important;
    transform: translateX(0) !important;
  }
}
