/* ---------- Tokens (pulled from the logo) ---------- */
:root {
  --bg: #0b0b1a;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f2ff;
  --muted: #a8a6c4;

  --blue: #3fa9ff;
  --indigo: #3b3fd8;
  --violet: #8b3cf0;
  --pink: #e04fd0;
  --orange: #ff8a2b;

  --brand-gradient: linear-gradient(100deg, var(--blue) 0%, var(--violet) 40%, var(--pink) 65%, var(--orange) 100%);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font-body);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

/* ---------- Ambient background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: drift 22s ease-in-out infinite alternate;
}
.orb--blue   { width: 560px; height: 560px; background: var(--indigo); top: -200px; left: -160px; opacity: 0.5; }
.orb--violet { width: 480px; height: 480px; background: var(--violet); top: 35%; right: -180px; opacity: 0.35; animation-delay: -7s; }
.orb--orange { width: 460px; height: 460px; background: var(--orange); bottom: -240px; left: 25%; opacity: 0.25; animation-delay: -14s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}

/* ---------- Main stage ---------- */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 6vh, 48px) 24px;
  text-align: center;
}

.logo {
  position: relative;
  /* scales with width AND height so it never crowds out the slogan (e.g. phone in landscape) */
  width: clamp(120px, min(44vw, 30vh), 260px);
  margin-bottom: clamp(20px, 5vh, 44px);
  animation: fade-up 0.9s ease both;
}
.logo img {
  position: relative;
  filter: drop-shadow(0 30px 50px rgba(59, 63, 216, 0.45));
}
.logo__halo {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--blue), var(--violet), var(--pink), var(--orange), var(--blue));
  filter: blur(60px);
  opacity: 0.45;
  animation: spin 14s linear infinite;
}

.slogan {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, min(12.5vw, 12vh), 7.5rem); /* stays on one line down to 320px wide */
  white-space: nowrap;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em; /* keep descenders from clipping with background-clip */
  animation: fade-up 0.9s 0.15s ease both;
}
.slogan__dot { color: var(--orange); -webkit-text-fill-color: var(--orange); }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
