/* ---------------------------------------------------------------
   Orbit — Coming Soon
   Design tokens
------------------------------------------------------------------ */
:root {
  --bg: #08080c;
  --bg-2: #0d0d16;
  --text: #f4f4f8;
  --text-dim: #a0a0b4;
  --text-faint: #6a6a80;

  --accent: #a78bfa;   /* violet */
  --accent-2: #6366f1; /* indigo */
  --accent-3: #22d3ee; /* cyan   */

  --border: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.04);

  --ring-1: 180px;
  --ring-2: 300px;
  --ring-3: 440px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------
   Reset & base
------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 120% at 50% 0%, var(--bg-2) 0%, var(--bg) 55%);
  overflow-x: hidden;
  position: relative;
}

/* ---------------------------------------------------------------
   Ambient background
------------------------------------------------------------------ */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 75% 15%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 88% 55%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 12% 82%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 65% 88%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 92% 90%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 30% 10%, rgba(255, 255, 255, 0.6), transparent);
  background-repeat: repeat;
  background-size: 100% 100%;
  animation: twinkle 6s ease-in-out infinite alternate;
}

.glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.glow--1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
  animation: drift1 18s ease-in-out infinite alternate;
}

.glow--2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
  animation: drift2 22s ease-in-out infinite alternate;
}

/* ---------------------------------------------------------------
   Layout
------------------------------------------------------------------ */
.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}

/* ---------------------------------------------------------------
   Orbit system
------------------------------------------------------------------ */
.orbit-system {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ring-3);
  height: var(--ring-3);
  transform: translate(-50%, -50%);
  z-index: 0;
  display: grid;
  place-items: center;
  opacity: 0.9;
  animation: fade-in 1.4s var(--ease) both;
}

.core {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, var(--accent) 55%, var(--accent-2));
  box-shadow:
    0 0 24px 6px rgba(167, 139, 250, 0.55),
    0 0 60px 18px rgba(99, 102, 241, 0.3);
  animation: pulse 4s ease-in-out infinite;
}

.ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: spin linear infinite;
}

.ring--1 {
  width: var(--ring-1);
  height: var(--ring-1);
  animation-duration: 12s;
  border-color: rgba(167, 139, 250, 0.22);
}

.ring--2 {
  width: var(--ring-2);
  height: var(--ring-2);
  animation-duration: 26s;
  animation-direction: reverse;
  border-color: rgba(99, 102, 241, 0.16);
}

.ring--3 {
  width: var(--ring-3);
  height: var(--ring-3);
  animation-duration: 44s;
  border-color: rgba(34, 211, 238, 0.1);
}

.planet {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.planet--1 {
  background: var(--accent);
  box-shadow: 0 0 14px 3px rgba(167, 139, 250, 0.7);
}

.planet--2 {
  width: 8px;
  height: 8px;
  background: var(--accent-3);
  box-shadow: 0 0 14px 3px rgba(34, 211, 238, 0.6);
}

.planet--3 {
  width: 6px;
  height: 6px;
  background: #e0e7ff;
  box-shadow: 0 0 12px 3px rgba(224, 231, 255, 0.5);
}

/* ---------------------------------------------------------------
   Content
------------------------------------------------------------------ */
.content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  animation: rise 0.8s var(--ease) both;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px 2px rgba(74, 222, 128, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

.title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #c7c7d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rise 0.9s var(--ease) 0.08s both;
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 460px;
  animation: rise 0.9s var(--ease) 0.16s both;
}

/* ---------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.footer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  animation: fade-in 1.2s var(--ease) 0.5s both;
}

/* ---------------------------------------------------------------
   Keyframes
------------------------------------------------------------------ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

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

@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

@keyframes drift1 {
  from { transform: translate(0, 0); }
  to { transform: translate(60px, 40px); }
}

@keyframes drift2 {
  from { transform: translate(0, 0); }
  to { transform: translate(-50px, -30px); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 640px) {
  :root {
    --ring-1: 150px;
    --ring-2: 250px;
    --ring-3: 360px;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ---------------------------------------------------------------
   Reduced motion
------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ring,
  .core,
  .eyebrow__dot,
  .stars,
  .glow {
    animation: none !important;
  }
}
