* {
  box-sizing: border-box;
}

:root {
  --ink: #07102f;
  --blue: #168df2;
  --cyan: #1db9ec;
  --violet: #5536ee;
  --pink: #ff2671;
  --soft: #eef5ff;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8faff;
  overflow: hidden;
}

.page {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.98) 0 25%, rgba(247,250,255,.94) 55%, rgba(241,246,255,.96) 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(30, 80, 160, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 80, 160, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

.constellation,
.pointer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.constellation {
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .8;
}

.pointer-glow {
  z-index: 1;
  opacity: 0;
  background: radial-gradient(
    280px circle at var(--pointer-x) var(--pointer-y),
    rgba(29, 185, 236, .1),
    rgba(85, 54, 238, .045) 38%,
    transparent 72%
  );
  transition: opacity .45s ease;
}

.page.has-pointer .pointer-glow {
  opacity: 1;
}

.noise {
  position: absolute;
  inset: -50%;
  z-index: 5;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  transform: rotate(8deg);
}

.aurora {
  position: absolute;
  z-index: -1;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .25;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.aurora-a {
  top: -25%;
  left: -13%;
  background: #53c9ff;
}

.aurora-b {
  right: -18%;
  bottom: -30%;
  background: #ff76b0;
  animation-delay: -4s;
}

.aurora-c {
  left: 38%;
  top: 28%;
  width: 24vw;
  height: 24vw;
  background: #7259ff;
  opacity: .10;
  animation-duration: 18s;
}

.topbar {
  position: absolute;
  top: 30px;
  left: 42px;
  right: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  animation: fadeDown .9s ease both;
}

.hero {
  position: relative;
  z-index: 2;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .28em;
}

.brand-icon {
  width: 27px;
  height: 27px;
  position: relative;
  flex: 0 0 auto;
}

.brand-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.theme-icon-dark {
  display: none;
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: block;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(8, 31, 78, .08);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 8px 30px rgba(30, 80, 160, .06);
  backdrop-filter: blur(16px);
}

.theme-switch button {
  min-width: 29px;
  height: 29px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  color: #758198;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.theme-switch button:first-child {
  font-size: 9px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.theme-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(255,255,255,.92);
  box-shadow: 0 2px 10px rgba(34, 65, 126, .14);
}

.theme-switch button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(8, 31, 78, .08);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(16px);
  color: #56617a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(30, 80, 160, .06);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27cf91;
  box-shadow: 0 0 0 5px rgba(39,207,145,.12), 0 0 18px rgba(39,207,145,.5);
  animation: breathe 2s ease-in-out infinite;
}

.hero {
  min-height: 100vh;
  max-width: 1380px;
  margin: 0 auto;
  padding: 100px 7vw 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: 4vw;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8d9ab2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .42em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow span {
  width: 25px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #aebbd0);
}

.logo-wrap {
  position: relative;
  width: min(680px, 92vw);
  margin-bottom: 18px;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(35, 71, 145, .11));
}

.hero-divider {
  width: 42px;
  height: 3px;
  margin: 3px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #17aef0, #5638ed, #f52e75);
}

h1 {
  margin: 4px 0 20px;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}

h1 span {
  background: linear-gradient(90deg, #118fe9 0%, #5436ef 48%, #ed3b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 180% 100%;
  animation: gradientShift 7s ease-in-out infinite alternate;
}

.lead {
  max-width: 580px;
  margin: 0;
  color: #68758e;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
  font-weight: 500;
}

.coming {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 17px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(22, 93, 183, .09);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 55px rgba(38, 77, 150, .09);
}

.coming strong,
.coming small {
  display: block;
}

.coming strong {
  font-size: 13px;
  margin-bottom: 3px;
}

.coming small {
  color: #8994a9;
  font-size: 11px;
}

.pulse-ring {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1db8ed, #4a43ef 55%, #ff2872);
  box-shadow: 0 7px 20px rgba(64, 77, 239, .22);
}

.pulse-ring i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 7px rgba(255,255,255,.16);
  animation: breathe 1.8s ease-in-out infinite;
}

.orbital {
  position: relative;
  width: min(37vw, 540px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.orbital::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.96), rgba(240,246,255,.65) 48%, transparent 72%);
  box-shadow:
    0 0 120px rgba(47, 119, 255, .13),
    inset 0 0 90px rgba(47, 119, 255, .06);
  animation: haloBreathe 6s ease-in-out infinite;
}

.orbital::after {
  content: "";
  position: absolute;
  inset: 6%;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 20deg,
    transparent 0 18%,
    rgba(25, 174, 240, .55) 24%,
    transparent 31% 58%,
    rgba(86, 56, 237, .4) 65%,
    rgba(245, 46, 117, .48) 70%,
    transparent 77%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
  opacity: .52;
  animation: haloSpin 20s linear infinite;
}

.core {
  position: relative;
  z-index: 3;
  width: 34%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  will-change: transform;
  animation: float 7s cubic-bezier(.45, 0, .55, 1) infinite;
}

.core img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(28, 76, 164, .2));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(65, 113, 198, .13);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.orbit-1 { inset: 10%; animation: orbit 17s linear infinite; }
.orbit-2 { inset: 22%; transform: rotate(62deg); animation: orbitReverse 12s linear infinite; }
.orbit-3 { inset: 2%; transform: rotate(105deg); border-color: rgba(93, 70, 239, .08); animation: orbit 24s linear infinite; }

.orbit-1::after,
.orbit-2::after,
.orbit-3::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 8%;
  left: 12%;
  background: #19a9ed;
  box-shadow: 0 0 22px rgba(25,169,237,.6);
}

.orbit-2::after {
  top: auto;
  left: auto;
  right: 7%;
  bottom: 12%;
  background: #ff2c74;
  box-shadow: 0 0 22px rgba(255,44,116,.55);
}

.orbit-3::after {
  top: 38%;
  left: auto;
  right: -4px;
  background: #5836ef;
  box-shadow: 0 0 22px rgba(88,54,239,.5);
}

.spark {
  position: absolute;
  border-radius: 50%;
  z-index: 4;
  animation: sparkle 3s ease-in-out infinite;
}

.spark-1 { width: 8px; height: 8px; top: 20%; right: 22%; background: #ff2b76; animation-delay: -.7s; }
.spark-2 { width: 6px; height: 6px; bottom: 18%; left: 20%; background: #1bb8ed; animation-delay: -1.3s; }
.spark-3 { width: 5px; height: 5px; top: 34%; left: 12%; background: #5836ef; animation-delay: -2s; }
.spark-4 { width: 7px; height: 7px; bottom: 29%; right: 11%; background: #1c91ee; animation-delay: -2.4s; }

.footer {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  color: #9ba6ba;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  z-index: 10;
  animation: fadeUp 1s .5s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal .9s cubic-bezier(.2,.75,.2,1) forwards;
}

.reveal-1 { animation-delay: .15s; }
.reveal-2 { animation-delay: .28s; }
.reveal-3 { animation-delay: .42s; }
.reveal-4 { animation-delay: .56s; }
.reveal-5 { animation-delay: .70s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(5%, 5%, 0) scale(1.12); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, -7px, 0) rotate(-.6deg); }
  50% { transform: translate3d(0, 7px, 0) rotate(.6deg); }
}

@keyframes haloSpin {
  to { transform: rotate(360deg); }
}

@keyframes haloBreathe {
  0%, 100% { transform: scale(.96); opacity: .72; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes orbit {
  to { transform: rotate(338deg); }
}

@keyframes orbitReverse {
  to { transform: rotate(-298deg); }
}

@keyframes sparkle {
  0%, 100% { transform: scale(.7); opacity: .35; }
  50% { transform: scale(1.5); opacity: 1; }
}

@keyframes breathe {
  0%, 100% { transform: scale(.85); opacity: .75; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

html[data-theme="dark"] {
  --ink: #f7f8ff;
  --soft: #121a30;
}

[data-theme="dark"] body {
  background: #080b18;
}

[data-theme="dark"] .page {
  background:
    radial-gradient(circle at 50% 45%, rgba(19, 27, 52, .98) 0 22%, rgba(10, 15, 31, .98) 58%, #070a16 100%);
}

[data-theme="dark"] .page::before {
  background-image:
    linear-gradient(rgba(65, 135, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 135, 255, .055) 1px, transparent 1px);
}

[data-theme="dark"] .constellation {
  opacity: 1;
}

[data-theme="dark"] .pointer-glow {
  background: radial-gradient(
    320px circle at var(--pointer-x) var(--pointer-y),
    rgba(29, 185, 236, .13),
    rgba(85, 54, 238, .08) 38%,
    rgba(255, 38, 113, .035) 58%,
    transparent 74%
  );
}

[data-theme="dark"] .noise { opacity: .025; mix-blend-mode: screen; }
[data-theme="dark"] .aurora-a { background: #0878d8; opacity: .22; }
[data-theme="dark"] .aurora-b { background: #d41d69; opacity: .18; }
[data-theme="dark"] .aurora-c { background: #5736ef; opacity: .15; }

[data-theme="dark"] .status,
[data-theme="dark"] .theme-switch {
  color: #b4bfd5;
  border-color: rgba(129, 166, 235, .14);
  background: rgba(13, 20, 40, .68);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

[data-theme="dark"] .theme-switch button { color: #99a6be; }

[data-theme="dark"] .theme-switch button[aria-pressed="true"] {
  color: #f7f8ff;
  background: rgba(73, 91, 134, .45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .24);
}

[data-theme="dark"] .eyebrow { color: #9ca9c2; }

[data-theme="dark"] .logo {
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .25));
}

[data-theme="dark"] .lead { color: #aeb9cf; }

[data-theme="dark"] .coming {
  border-color: rgba(105, 151, 235, .16);
  background: rgba(15, 23, 45, .7);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .25);
}

[data-theme="dark"] .coming small { color: #99a6be; }

[data-theme="dark"] .orbital::before {
  background: radial-gradient(circle, rgba(27, 39, 73, .92), rgba(13, 21, 43, .62) 48%, transparent 72%);
  box-shadow:
    0 0 130px rgba(40, 116, 255, .18),
    inset 0 0 90px rgba(58, 92, 190, .09);
}

[data-theme="dark"] .orbital::after {
  opacity: .72;
}

[data-theme="dark"] .core img {
  filter: drop-shadow(0 24px 44px rgba(27, 115, 255, .24));
}

[data-theme="dark"] .orbit { border-color: rgba(93, 145, 235, .22); }
[data-theme="dark"] .orbit-3 { border-color: rgba(121, 97, 255, .18); }
[data-theme="dark"] .footer { color: #77849e; }

@media (min-width: 901px) and (max-height: 780px) {
  .hero {
    padding: 78px 6vw 62px;
  }
  .hero-copy { padding-top: 0; }
  .eyebrow { margin-bottom: 14px; }
  .logo-wrap { width: min(560px, 44vw); margin-bottom: 10px; }
  .hero-divider { margin-bottom: 14px; }
  h1 { margin-bottom: 14px; font-size: clamp(36px, 3.8vw, 54px); }
  .lead { line-height: 1.6; }
  .coming { margin-top: 20px; }
  .orbital { width: min(34vw, 430px); }
}

@media (max-width: 900px) {
  .page { height: 100svh; height: 100dvh; min-height: 0; }
  .hero {
    height: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 88px 28px 54px;
    gap: 0;
  }
  .hero-copy { min-width: 0; text-align: center; padding-top: 0; }
  .eyebrow { justify-content: center; margin-bottom: 14px; }
  .logo-wrap { margin-inline: auto; width: min(680px, 100%); }
  .hero-divider { margin: 0 auto 14px; }
  h1 { margin-bottom: 14px; }
  .lead { margin-inline: auto; }
  .coming { margin-top: 20px; text-align: left; }
  .orbital {
    width: min(58vw, 32dvh, 320px);
    margin: 0 auto;
    align-self: center;
  }
  .footer { left: 24px; right: 24px; bottom: 16px; }
}

@media (max-width: 560px) {
  .topbar { top: 16px; left: 20px; right: 20px; }
  .topbar-actions { gap: 6px; }
  .status { padding: 7px 9px; font-size: 9px; }
  .theme-switch { padding: 2px; }
  .theme-switch button { min-width: 25px; height: 25px; padding-inline: 5px; }
  .theme-switch button:first-child { font-size: 8px; }
  .brand-mini { font-size: 10px; }
  .brand-icon { width: 22px; height: 22px; }
  .hero { padding: 72px 20px 44px; }
  .logo-wrap { margin-bottom: 10px; }
  h1 { font-size: clamp(34px, 10.5vw, 46px); }
  .lead { font-size: 13px; line-height: 1.55; }
  .orbital { width: min(54vw, 27dvh, 250px); }
  .footer span:nth-child(2) { display: none; }
}

@media (max-height: 700px) and (max-width: 900px) {
  .eyebrow { display: none; }
  .logo-wrap { width: min(520px, 78vw); }
  .coming { margin-top: 14px; }
  .orbital { width: min(42vw, 23dvh, 190px); }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 900px) {
  .topbar { top: 16px; left: 28px; right: 28px; }
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, .65fr);
    grid-template-rows: 1fr;
    padding: 68px 7vw 36px;
    gap: 4vw;
  }
  .hero-copy { text-align: left; }
  .logo-wrap { width: min(360px, 48vw); margin: 0 0 8px; }
  .hero-divider { margin: 0 0 10px; }
  h1 { margin-bottom: 10px; font-size: clamp(30px, 4.5vw, 40px); }
  .lead { margin: 0; font-size: 12px; line-height: 1.45; }
  .coming { margin-top: 12px; padding-block: 8px; }
  .orbital { width: min(24vw, 42dvh, 180px); }
  .footer { left: 28px; right: 28px; bottom: 12px; }
}

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

  .pointer-glow { display: none; }
}
