/* BeatFlow – Coming Soon (www.beatflow.co.il) */
:root {
  --bf-purple: #6161ff;
  --bf-purple-deep: #43366d;
  --bf-blue: #0086c0;
  --bf-teal: #00b8a9;
  --bf-text: #181b34;
  --bf-muted: #6b778c;
  --bf-white: #ffffff;
  --bf-glow: rgba(97, 97, 255, 0.45);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Assistant", "Segoe UI", system-ui, sans-serif;
  color: var(--bf-white);
  background: #0f0f1a;
  overflow-x: hidden;
}

/* Animated gradient mesh */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--bf-glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(0, 134, 192, 0.25), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(0, 184, 169, 0.2), transparent 45%),
    linear-gradient(165deg, var(--bf-purple-deep) 0%, #1a1530 40%, #0d0d18 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.logo-mark {
  width: clamp(72px, 18vw, 96px);
  height: clamp(72px, 18vw, 96px);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bf-purple) 0%, var(--bf-blue) 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 48px -12px rgba(97, 97, 255, 0.5);
  animation: float 6s ease-in-out infinite;
}

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

.logo-mark svg {
  width: 48%;
  height: 48%;
  fill: white;
  opacity: 0.95;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.he {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  margin-top: 0.25rem;
}

.sub {
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  line-height: 1.55;
}

.en {
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bf-purple);
  animation: pulse 1.4s ease-in-out infinite;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
  background: var(--bf-blue);
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
  background: var(--bf-teal);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.tagline {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 22rem;
  line-height: 1.5;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1rem 1.5rem 1.35rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

footer .footer-line {
  margin: 0;
  line-height: 1.45;
}

footer .footer-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

footer .footer-contact {
  color: rgba(255, 255, 255, 0.45);
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-weight: 600;
  unicode-bidi: embed;
}

footer a:hover {
  color: var(--bf-purple);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark,
  .dots span {
    animation: none;
  }
}
