/* ==========================================================================
   Orbit — Coming Soon
   Token system:
   --void: #05040A   background base
   --panel: #0D0A1A  raised surfaces
   --violet-deep: #3D2E6B  muted rings/dividers
   --purple: #8B5CF6  primary accent
   --lavender: #C4A7FF  highlight accent
   --ink: #F5F3FF   primary text
   ========================================================================== */

:root {
  --void: #05040a;
  --panel: #0d0a1a;
  --violet-deep: #3d2e6b;
  --purple: #8b5cf6;
  --purple-dim: #6d3fd6;
  --lavender: #c4a7ff;
  --ink: #f5f3ff;
  --ink-dim: rgba(245, 243, 255, 0.6);
  --ink-faint: rgba(245, 243, 255, 0.35);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 84px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------- */
/* Background atmosphere                                                  */
/* ---------------------------------------------------------------------- */

.glow-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 50% 20%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 600px 500px at 15% 80%, rgba(139, 92, 246, 0.08), transparent 65%),
    radial-gradient(ellipse 600px 500px at 85% 75%, rgba(196, 167, 255, 0.06), transparent 65%);
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(245,243,255,0.55), transparent),
    radial-gradient(1px 1px at 90px 120px, rgba(245,243,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 160px 60px, rgba(196,167,255,0.6), transparent),
    radial-gradient(1px 1px at 230px 180px, rgba(245,243,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 300px 90px, rgba(245,243,255,0.5), transparent),
    radial-gradient(1px 1px at 40px 200px, rgba(196,167,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 340px 250px, rgba(245,243,255,0.45), transparent),
    radial-gradient(1px 1px at 130px 260px, rgba(245,243,255,0.3), transparent);
  background-repeat: repeat;
  background-size: 380px 320px;
  animation: drift-stars 90s linear infinite;
  opacity: 0.8;
}

@keyframes drift-stars {
  from { background-position: 0 0; }
  to { background-position: -380px 320px; }
}

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(5, 4, 10, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px 2px var(--purple), 0 0 24px 4px rgba(139, 92, 246, 0.5);
  animation: mark-pulse 2.4s ease-in-out infinite;
}

@keyframes mark-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.75; }
}

.main-nav {
  position: relative;
  display: flex;
  gap: 40px;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 8px 2px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-underline {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--lavender));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
  transition: left 0.35s cubic-bezier(0.65, 0, 0.35, 1), width 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--header-h) + 40px) 24px 60px;
  text-align: center;
  overflow: hidden;
}

/* Orbit signature element */
.orbit-system {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  pointer-events: none;
  z-index: 0;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 420px; height: 420px; animation: spin 26s linear infinite; }
.ring-2 { width: 620px; height: 620px; border-color: rgba(196, 167, 255, 0.12); animation: spin-rev 38s linear infinite; }
.ring-3 { width: 820px; height: 820px; animation: spin 55s linear infinite; }

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes spin-rev {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

.sat {
  position: absolute;
  border-radius: 50%;
  background: var(--lavender);
}

.sat-1 {
  width: 8px; height: 8px;
  top: -4px; left: 50%;
  margin-left: -4px;
  box-shadow: 0 0 14px 3px rgba(196, 167, 255, 0.8);
}
.sat-2 {
  width: 6px; height: 6px;
  bottom: 6%; left: 8%;
  background: var(--purple);
  box-shadow: 0 0 12px 3px rgba(139, 92, 246, 0.75);
}
.sat-3 {
  width: 5px; height: 5px;
  top: 10%; right: 4%;
  background: var(--ink);
  box-shadow: 0 0 10px 2px rgba(245, 243, 255, 0.6);
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--purple);
  box-shadow: 0 0 40px 12px rgba(139, 92, 246, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 20px;
  opacity: 0;
  animation: rise 0.8s ease forwards;
  animation-delay: 0.1s;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.title-line {
  display: block;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.25s; color: var(--ink); }

.title-accent {
  animation-delay: 0.45s;
  background: linear-gradient(100deg, var(--lavender) 10%, var(--purple) 55%, var(--lavender) 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, shimmer 6s linear infinite 1.2s;
}

.dot {
  color: var(--purple);
  -webkit-text-fill-color: var(--purple);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  to { background-position: -220% center; }
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  opacity: 0;
  animation: rise 0.9s ease forwards;
  animation-delay: 0.65s;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
  padding: 18px 10px 14px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.09), rgba(13, 10, 26, 0.6));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.05) inset,
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(139, 92, 246, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.time-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(196, 167, 255, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.time-block:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 167, 255, 0.55);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(139, 92, 246, 0.25);
}

.time-block:hover::before { opacity: 1; }

.time-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
  position: relative;
  z-index: 1;
}

.time-value.tick {
  animation: tick-pop 0.4s ease;
}

@keyframes tick-pop {
  0% { transform: translateY(-6px); opacity: 0.4; color: var(--lavender); }
  100% { transform: translateY(0); opacity: 1; }
}

.time-label {
  margin-top: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  position: relative;
  z-index: 1;
}

.colon {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--violet-deep);
  transform: translateY(-8px);
  animation: colon-blink 1.6s ease-in-out infinite;
}

@keyframes colon-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.status-line {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--ink-dim);
  opacity: 0;
  animation: rise 0.9s ease forwards;
  animation-delay: 0.85s;
}

.status-line strong {
  color: var(--lavender);
  font-weight: 600;
}

.status-line .tz {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dffb0;
  box-shadow: 0 0 10px 2px rgba(125, 255, 176, 0.7);
  flex-shrink: 0;
  animation: mark-pulse 1.8s ease-in-out infinite;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.9s ease forwards;
  animation-delay: 1.1s;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(139, 92, 246, 0.25);
  overflow: hidden;
  position: relative;
}

.scroll-line i {
  position: absolute;
  top: -36px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--lavender));
  animation: scroll-fall 2.2s ease-in-out infinite;
}

@keyframes scroll-fall {
  0% { top: -36px; }
  60%, 100% { top: 36px; }
}

.overview {
  padding: 140px 24px 160px;
  position: relative;
}

.overview-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.overview .eyebrow {
  animation: none;
  opacity: 1;
}

.overview-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  margin-top: 14px;
  margin-bottom: 22px;
}

.overview-text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.feature-card {
  padding: 32px 26px;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.06), rgba(13, 10, 26, 0.4));
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 167, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.12);
}

.feature-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.05em;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 14px 0 10px;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-dim);
}


.site-footer {
  position: relative;
  z-index: 1;
  padding: 32px 24px 40px;
  text-align: center;
  border-top: 1px solid rgba(139, 92, 246, 0.12);
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}


@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .orbit-system {
    width: 640px;
    height: 640px;
  }
  .ring-1 { width: 300px; height: 300px; }
  .ring-2 { width: 460px; height: 460px; }
  .ring-3 { width: 620px; height: 620px; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 20px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    height: calc(100vh - var(--header-h));
    width: min(72vw, 300px);
    background: rgba(8, 6, 16, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    border-left: 1px solid rgba(139, 92, 246, 0.2);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-underline { display: none; }

  .nav-toggle { display: flex; }

  .countdown {
    gap: 8px;
  }

  .time-block {
    min-width: 68px;
    padding: 12px 6px 10px;
    border-radius: 10px;
  }

  .colon {
    transform: translateY(-4px);
  }

  .orbit-system {
    width: 440px;
    height: 440px;
  }
  .ring-1 { width: 220px; height: 220px; }
  .ring-2 { width: 330px; height: 330px; }
  .ring-3 { width: 430px; height: 430px; }

  .status-line {
    font-size: 0.85rem;
    padding: 0 8px;
  }

  .overview {
    padding: 100px 20px 120px;
  }

  .overview-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .feature-grid {
    margin-top: 48px;
  }
}

@media (max-width: 380px) {
  .time-block { min-width: 58px; }
  .colon { display: none; }
  .countdown { gap: 10px; }
}