/* Public landing page for quorumworks.ai — welcome + top-right login. */

:root {
  --bg: #06070d;
  --ink: #eef1f8;
  --muted: #9aa3bd;
  --accent: #6c8cff;
  --accent-2: #b06cff;
  --accent-3: #35e6c5;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

.landing-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  overflow: hidden;
  position: relative;
}

/* ---- animated background ---- */
.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.orb-1 {
  width: 42vmax; height: 42vmax;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
  top: -12vmax; left: -8vmax;
}
.orb-2 {
  width: 38vmax; height: 38vmax;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), transparent 70%);
  bottom: -14vmax; right: -6vmax;
  animation-delay: -6s;
}
.orb-3 {
  width: 26vmax; height: 26vmax;
  background: radial-gradient(circle at 30% 30%, var(--accent-3), transparent 70%);
  top: 40%; left: 55%;
  opacity: 0.4;
  animation-delay: -11s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vmax, -3vmax) scale(1.08); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}

/* ---- top bar ---- */
.landing-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.landing-mark {
  font-size: 22px;
  color: var(--accent-3);
  filter: drop-shadow(0 0 10px rgba(53,230,197,0.6));
}
.landing-wordmark { font-size: 18px; }

.login-btn {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.login-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

/* ---- hero ---- */
.landing-hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  color: var(--muted);
}
.hero-title {
  margin: 0;
  font-size: clamp(44px, 9vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  background: linear-gradient(100deg, #fff 10%, var(--accent) 55%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions {
  margin-top: 36px;
}
.cta-primary {
  text-decoration: none;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #0a0b12;
  background: linear-gradient(100deg, var(--accent-3), var(--accent));
  box-shadow: 0 10px 30px rgba(76,140,255,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(76,140,255,0.5);
}

/* ---- footer ---- */
.landing-foot {
  position: relative;
  z-index: 2;
  padding: 20px 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}
