:root {
  --bg-primary: #000000;
  --bg-secondary: #111113;
  --bg-tertiary: #18181b;
  --bg-glow: transparent;
  --text-primary: #f4f4f5;
  --text-secondary: #d4d4d8;
  --text-muted: #a1a1aa;
  --accent: #166534;
  --accent-glow: rgba(22, 101, 52, 0.24);
  --accent-muted: rgba(22, 101, 52, 0.16);
  --border-light: rgba(244, 244, 245, 0.1);
  --border-medium: rgba(244, 244, 245, 0.18);
  --success: #2dd4bf;
  --warning: #f59e0b;
  --error: #fb7185;
  --bg-color: var(--bg-primary);
  --accent-color: var(--accent);
}

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist/Geist-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

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:
    'Geist',
    'Inter',
    -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: linear-gradient(180deg, rgba(11, 11, 12, 0.98) 0%, rgba(11, 11, 12, 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 {
  width: 64px;
  height: 64px;
  display: block;
  animation: boot-logo-scale 0.8s ease-out;
}

.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-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-progress-fill {
    width: 100% !important;
    transform: translateX(0) !important;
  }
}
