/* Reglyt — premium holding page */
:root{
  --bg0:#060B14;
  --bg1:#070E1C;
  --bg2:#0A1426;
  --txt:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.56);
  --muted2:rgba(255,255,255,.42);
  --blue:rgba(96,179,255,.9);
  --violet:rgba(152,92,255,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 50% 45%, var(--bg2), var(--bg0) 60%);
  color:var(--txt);
  overflow:hidden;
}

.stage{
  position:relative;
  height:100%;
  width:100%;
  isolation:isolate;
}

#bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
}

.vignette{
  position:absolute;
  inset:-40px;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 600px at 50% 45%, rgba(96,179,255,.08), transparent 60%),
    radial-gradient(800px 500px at 60% 60%, rgba(152,92,255,.10), transparent 62%),
    radial-gradient(700px 450px at 40% 60%, rgba(96,179,255,.06), transparent 60%),
    radial-gradient(1200px 900px at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%);
}

.center{
  position:relative;
  z-index:3;
  height:100%;
  width:100%;
  display:grid;
  place-items:center;
  padding: 24px;
}

.stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
  transform: translateZ(0);
}

.logoWrap{
  position:relative;
  display:grid;
  place-items:center;
}

.logo{
  width:min(460px, 74vw);
  height:auto;
  filter: drop-shadow(0 18px 60px rgba(0,0,0,.65));
  animation: float 7.6s ease-in-out infinite;
  will-change: transform;
}

.glow{
  position:absolute;
  width:min(520px, 82vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(closest-side, rgba(96,179,255,.20), transparent 65%),
    radial-gradient(closest-side, rgba(152,92,255,.18), transparent 70%);
  filter: blur(10px);
  opacity:.95;
  transform: translateY(10px);
  animation: breathe 6.8s ease-in-out infinite;
  will-change: transform, opacity;
}

.tagline{
  margin:0;
  padding:0 10px;
  text-align:center;
  font-size: clamp(14px, 1.65vw, 18px);
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--muted);
  text-shadow: 0 10px 40px rgba(0,0,0,.55);
}

.contact{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-size: 13px;
  letter-spacing:.04em;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.contact:hover{
  transform: translateY(-1px);
  border-color: rgba(96,179,255,.22);
  background: rgba(96,179,255,.06);
  color: rgba(255,255,255,.86);
}

.glyphs{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}

.glyph{
  position:absolute;
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,.18);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.55));
  opacity: .9;
  animation: drift 18s linear infinite;
  will-change: transform;
}

.g1{ left: 8%; top: 26%; animation-duration: 22s; opacity:.65 }
.g2{ left: 86%; top: 20%; animation-duration: 20s; opacity:.55 }
.g3{ left: 14%; top: 74%; animation-duration: 24s; opacity:.50 }
.g4{ left: 84%; top: 78%; animation-duration: 26s; opacity:.48 }

.footer{
  position:absolute;
  left:20px;
  bottom:18px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--muted2);
  font-size: 13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  user-select:none;
}

.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(96,179,255,.9), rgba(152,92,255,.9));
  box-shadow: 0 0 22px rgba(96,179,255,.35);
  animation: pulse 2.8s ease-in-out infinite;
}

.quiet{opacity:.7}

@keyframes float{
  0%,100%{ transform: translateY(0px) rotate(-0.4deg) }
  50%{ transform: translateY(-14px) rotate(0.4deg) }
}
@keyframes breathe{
  0%,100%{ transform: translateY(10px) scale(0.98); opacity:.85 }
  50%{ transform: translateY(18px) scale(1.03); opacity:1 }
}
@keyframes drift{
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1) }
  50%  { transform: translate3d(0,-34px,0) rotate(14deg) scale(1.05) }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1) }
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity:.9 }
  50%{ transform: scale(1.25); opacity:1 }
}

/* Mobile tuning */
@media (max-width: 520px){
  .footer{ left:14px; bottom:14px; font-size: 12px; }
  .glyph{ width: 22px; height:22px; }
  .contact{ font-size: 12px; padding: 9px 12px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .logo, .glow, .glyph, .dot{ animation: none !important; }
}
