:root {
  --navy-950: #020817;
  --navy-900: #03142f;
  --navy-800: #08295a;
  --blue-500: #168cff;
  --cyan-400: #23d9ff;
  --text: #f5f9ff;
  --muted: #aabbd3;
  --line: rgba(148, 190, 255, 0.2);
  --glass: rgba(4, 19, 47, 0.58);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(26, 126, 255, .3), transparent 31%),
    radial-gradient(circle at 84% 76%, rgba(0, 216, 255, .16), transparent 34%),
    linear-gradient(135deg, #020715 0%, #03142f 42%, #020a19 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(85, 156, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 156, 255, .055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .75;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .35;
  animation: drift 13s ease-in-out infinite alternate;
}

.ambient-one { width: 340px; height: 340px; background: #087bff; top: -140px; left: -70px; }
.ambient-two { width: 300px; height: 300px; background: #12d2ff; right: -120px; bottom: -80px; animation-delay: -5s; }
.ambient-three { width: 220px; height: 220px; background: #1450ff; left: 48%; top: 45%; opacity: .16; animation-delay: -9s; }

.site-header,
.site-footer {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 64px);
}

.site-header { top: 0; }
.site-footer { bottom: 0; color: rgba(218, 230, 247, .68); font-size: 13px; justify-content: center; gap: 12px; }
.site-footer a { color: inherit; text-decoration: none; transition: color .25s ease; }
.site-footer a:hover { color: white; }
.footer-divider { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }

.brand-mini,
.nexovik-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eaf4ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.mini-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(102, 181, 255, .45);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 140, 255, .32), rgba(35, 217, 255, .09));
  box-shadow: inset 0 0 20px rgba(35, 217, 255, .08);
  font-family: "Space Grotesk", sans-serif;
}

.nexovik-link {
  padding: 10px 14px;
  border: 1px solid rgba(141, 191, 255, .2);
  border-radius: 999px;
  background: rgba(5, 20, 50, .44);
  backdrop-filter: blur(14px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.nexovik-link:hover { transform: translateY(-2px); border-color: rgba(35, 217, 255, .55); background: rgba(8, 41, 90, .62); }
.nexovik-link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 20px 90px;
}

.hero-card {
  position: relative;
  width: min(980px, 100%);
  text-align: center;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(123, 181, 255, .18);
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(8, 33, 79, .66), rgba(2, 10, 25, .56));
  backdrop-filter: blur(24px) saturate(125%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(35,217,255,.36), transparent 28%, transparent 70%, rgba(22,140,255,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(111, 186, 255, .23);
  border-radius: 999px;
  color: #d7e9ff;
  background: rgba(4, 21, 51, .48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31e39a;
  box-shadow: 0 0 0 6px rgba(49, 227, 154, .1), 0 0 18px rgba(49, 227, 154, .8);
  animation: pulse 2s ease-out infinite;
}

.logo-stage {
  position: relative;
  width: min(460px, 82vw);
  margin: 26px auto 12px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.main-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 37, 96, .45);
  animation: logoFloat 5.4s ease-in-out infinite;
}

.logo-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,217,255,.25), rgba(22,140,255,.11) 40%, transparent 68%);
  filter: blur(10px);
  animation: breathe 3.8s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(67, 173, 255, .18);
  border-radius: 50%;
  z-index: 1;
}
.orbit-one { width: 116%; aspect-ratio: 1; animation: spin 18s linear infinite; }
.orbit-two { width: 132%; aspect-ratio: 1; border-style: dashed; animation: spinReverse 24s linear infinite; }
.orbit::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 18px var(--cyan-400);
  left: 50%;
  top: -4px;
}

.eyebrow {
  margin: 22px 0 10px;
  color: #8dc7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.headline {
  max-width: 830px;
  margin: 0 auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 6vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff 0%, #77dfff 45%, #2f8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 28px rgba(24, 151, 255, .22));
}

.subtext {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.feature-row {
  width: min(700px, 100%);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature {
  padding: 16px;
  border: 1px solid rgba(131, 187, 255, .14);
  border-radius: 18px;
  background: rgba(2, 12, 31, .33);
}
.feature span { display: block; color: #eef7ff; font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; }
.feature small { display: block; margin-top: 5px; color: #8298b7; font-size: 12px; }

.launch-panel {
  width: min(700px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(137, 192, 255, .13);
  border-radius: 18px;
  background: rgba(2, 11, 29, .42);
  text-align: left;
}

.launch-label { display: block; margin-bottom: 10px; color: #d5e8ff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.progress-track { height: 7px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.progress-bar { display: block; width: 78%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #176dff, #23d9ff); box-shadow: 0 0 18px rgba(35, 217, 255, .45); animation: progressShimmer 2.2s ease-in-out infinite; }
.progress-value { color: #81dfff; font-family: "Space Grotesk", sans-serif; font-size: 24px; font-weight: 700; }

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 15px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-primary { color: white; background: linear-gradient(135deg, #106bff, #16b9ff); box-shadow: 0 15px 35px rgba(22, 140, 255, .28); }
.button-primary:hover { box-shadow: 0 20px 45px rgba(22, 140, 255, .42); }
.button-secondary { color: #dcecff; border-color: rgba(132, 190, 255, .22); background: rgba(5, 24, 57, .58); }
.button-secondary:hover { border-color: rgba(35, 217, 255, .48); background: rgba(8, 41, 90, .75); }

.microcopy { margin: 18px 0 0; color: #7186a3; font-size: 12px; }
.microcopy a { color: #91cfff; text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(.985);
  animation: reveal .9s cubic-bezier(.2,.75,.25,1) forwards;
  animation-delay: var(--delay, 0s);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 74px;
  z-index: 30;
  transform: translate(-50%, 24px);
  padding: 13px 18px;
  border: 1px solid rgba(92, 189, 255, .36);
  border-radius: 14px;
  color: #e8f6ff;
  background: rgba(3, 20, 47, .92);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: .35s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes reveal { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(49,227,154,.45); } 70% { box-shadow: 0 0 0 12px rgba(49,227,154,0); } 100% { box-shadow: 0 0 0 0 rgba(49,227,154,0); } }
@keyframes logoFloat { 0%,100% { transform: translateY(0) rotateX(0); } 50% { transform: translateY(-10px) rotateX(1.5deg); } }
@keyframes breathe { 0%,100% { transform: scale(.92); opacity: .65; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes drift { to { transform: translate3d(30px, -20px, 0) scale(1.06); } }
@keyframes progressShimmer { 0%,100% { filter: brightness(.9); } 50% { filter: brightness(1.35); } }

@media (max-width: 720px) {
  .site-header { padding: 18px; }
  .brand-mini span:last-child { display: none; }
  .nexovik-link { font-size: 12px; }
  .hero { padding: 90px 12px 88px; }
  .hero-card { padding: 24px 16px 30px; border-radius: 26px; }
  .feature-row { grid-template-columns: 1fr; }
  .launch-panel { grid-template-columns: 1fr; align-items: start; }
  .progress-value { font-size: 20px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .site-footer { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
