/* BusinessQ splash — Metal + Orange (IBM Plex Sans loaded from index.html) */

body {
  margin: 0;
  padding: 0;
  background: #091e42;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #091e42 0%, #15294b 45%, #db3918 100%);
  z-index: 9999;
  transition: opacity 0.45s ease-out;
}

#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-mark {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.splash-mark-inner {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ff5722;
}

.splash-title {
  color: #ffffff;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 24px 8px;
  text-align: center;
}

.splash-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 32px 40px;
  text-align: center;
  max-width: 320px;
}

.splash-loader {
  width: min(240px, 70vw);
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.splash-loader-bar {
  height: 100%;
  background-color: #ffcea6;
  border-radius: 4px;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 100%;
    margin-left: 0;
  }
  100% {
    width: 0;
    margin-left: 100%;
  }
}
