/* ============ base ============ */
* { box-sizing: border-box; }
::selection { background: rgba(96, 119, 230, 0.18); color: inherit; }
::-moz-selection { background: rgba(96, 119, 230, 0.18); color: inherit; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Nunito", -apple-system, "Helvetica Neue", sans-serif;
  background: #ffffff;
  color: #0b1230;
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============ page + ambient ============ */
.page {
  position: relative;
  min-height: 100vh;
  padding: 40px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.ambient {
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px) saturate(110%);
  opacity: 0.35;
}
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  mix-blend-mode: multiply;
}
.ambient-blob-a {
  width: 60vw; height: 60vw;
  left: -10vw; top: -20vw;
  background: var(--c-final);
  animation: drift-a 30s ease-in-out infinite alternate;
}
.ambient-blob-b {
  width: 70vw; height: 70vw;
  right: -25vw; bottom: -25vw;
  background: var(--c-primary);
  animation: drift-b 38s ease-in-out infinite alternate;
}
.ambient-blob-c {
  width: 40vw; height: 40vw;
  left: 30vw; top: 40vh;
  background: var(--c-mid1);
  opacity: 0.45;
  animation: drift-c 45s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate( 8vw,  6vw) scale(1.05); } }
@keyframes drift-b { to { transform: translate(-6vw, -4vw) scale(1.1);  } }
@keyframes drift-c { to { transform: translate(-12vw, 8vw) scale(0.95); } }

/* ============ card ============ */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  min-height: calc(100vh - 80px);
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 50px 120px -40px rgba(11, 18, 48, 0.18),
    0 0 0 1px rgba(11, 18, 48, 0.06);
  display: flex;
  flex-direction: column;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}
.bg-warm-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(45% 55% at 78% 50%, color-mix(in oklab, var(--c-final) 30%, transparent) 0%, transparent 65%),
    radial-gradient(40% 50% at 92% 80%, color-mix(in oklab, var(--c-primary) 22%, transparent) 0%, transparent 65%);
  opacity: 0.7;
  animation: warm-pulse 14s ease-in-out infinite alternate;
}
@keyframes warm-pulse {
  0%   { transform: translate(0, 0) scale(1);        opacity: 0.6; }
  100% { transform: translate(-1%, 1%) scale(1.04);  opacity: 0.85; }
}
.bg-noise { display: none; }

/* ============ nav ============ */
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 56px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #0b1230;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .brand { font-size: 15px; }
}
.nav-actions {
  display: flex; align-items: center; gap: 20px;
}
.nav-login {
  font-size: 15px;
  font-weight: 600;
  color: #0b1230;
  letter-spacing: 0.01em;
  transition: opacity 160ms ease;
}
.nav-login:hover { opacity: 0.7; }

.nav-login--disabled {
  position: relative;
  opacity: 0.35;
  cursor: default;
  user-select: none;
}
.nav-login--disabled:hover { opacity: 0.35; }

.nav-soon {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0b1230;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 12px 7px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 8px 20px -6px rgba(11,18,48,0.3);
}
.nav-soon::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: #0b1230;
}
.nav-login--disabled:hover .nav-soon {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nav-cta {
  background: linear-gradient(135deg,
    var(--c-final)   0%,
    var(--c-mid2)   30%,
    var(--c-mid1)   60%,
    var(--c-primary) 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, filter 220ms ease;
  box-shadow:
    0 10px 28px -10px color-mix(in oklab, var(--c-primary) 75%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 32px -10px color-mix(in oklab, var(--c-primary) 90%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ============ hero layout ============ */
.hero {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 24px 56px 0;
  flex: 1;
  gap: 32px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}

.hero-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(11, 18, 48, 0.45);
  letter-spacing: 0.01em;
}
.hero-eyebrow-link {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 160ms ease;
}
.hero-eyebrow-link:hover { opacity: 0.7; }

.display {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.display-dark { color: #0b1230; }
.display-light {
  display: inline;
  background: linear-gradient(135deg,
    var(--c-final)   0%,
    var(--c-mid2)   30%,
    var(--c-mid1)   60%,
    var(--c-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg,
    var(--c-final)  0%,
    var(--c-mid2)  30%,
    var(--c-mid1)  60%,
    var(--c-primary) 100%);
  color: #fff;
  padding: 18px 30px;
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease, filter 240ms ease;
  box-shadow:
    0 18px 40px -12px color-mix(in oklab, var(--c-primary) 65%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.cta svg path { transition: transform 240ms ease; }
.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 22px 48px -12px color-mix(in oklab, var(--c-primary) 80%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.cta:hover svg { transform: translateX(3px); }
.availability {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(11, 18, 48, 0.7);
}
.availability .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #14b88f;
  box-shadow: 0 0 0 4px rgba(20, 184, 143, 0.18), 0 0 10px rgba(20, 184, 143, 0.55);
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(20, 184, 143, 0.16), 0 0 8px rgba(20, 184, 143, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(20, 184, 143, 0.05), 0 0 16px rgba(20, 184, 143, 0.85); }
}

/* ============ orbit cursor ============ */
.orbit-cursor {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: flex-start;
  z-index: 10;
  pointer-events: none;
  transition: opacity 400ms ease;
  will-change: transform;
}
.orbit-cursor .cursor-pill {
  margin-left: -2px;
  margin-top: 14px;
  color: #fff;
  padding: 6px 14px 7px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px -4px color-mix(in oklab, var(--c-primary) 60%, transparent);
}
.live-cursor { display: none; }

/* ============ orbit ============ */
.hero-right {
  position: relative;
  height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring-box,
.orbit-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-ring-line {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(11, 18, 48, 0.14);
}
.orbit-spinner {
  width: 100%;
  height: 100%;
  transform-origin: center center;
}
@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg);   }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes orbitSpinRev {
  from { transform: translate(-50%, -50%) rotate(0deg);    }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes orbitCounter {
  from { transform: rotate(0deg);    }
  to   { transform: rotate(-360deg); }
}
@keyframes orbitCounterRev {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-node-upright {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform;
}
.orbit-node-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: node-float 5.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ============ orbit bubble ============ */
.orbit-bubble {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(11, 18, 48, 0.08),
    0 14px 28px -10px rgba(11, 18, 48, 0.18),
    0 0 28px -8px color-mix(in oklab, var(--c-final) 50%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 360ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 360ms ease;
}
.orbit-bubble img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.orbit-bubble.is-hovered {
  transform: scale(1.14);
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--c-primary) 35%, transparent),
    0 18px 36px -10px rgba(11, 18, 48, 0.25),
    0 0 44px -6px color-mix(in oklab, var(--c-primary) 55%, transparent);
}

/* ============ orbit tooltip ============ */
.orbit-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  background: #0b1230;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 11px 7px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 240ms cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 10px 20px -8px rgba(11, 18, 48, 0.35);
  z-index: 5;
}
.orbit-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #0b1230;
}
.orbit-bubble.is-hovered .orbit-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ orbit center ============ */
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.orbit-avatar-center {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(11, 18, 48, 0.28),
    0 0 0 1px rgba(11, 18, 48, 0.06),
    0 0 60px -10px color-mix(in oklab, var(--c-final) 65%, transparent),
    0 0 80px -10px color-mix(in oklab, var(--c-primary) 50%, transparent);
}
.orbit-avatar-center::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--c-final)   70%, transparent) 0%,
    color-mix(in oklab, var(--c-mid2)    60%, transparent) 35%,
    color-mix(in oklab, var(--c-primary) 70%, transparent) 100%);
  z-index: -1;
  filter: blur(16px);
  opacity: 0.25;
}
.orbit-avatar-center img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f2f4fa;
}

/* ============ responsive ============ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { height: 480px; }
}
@media (max-width: 720px) {
  .page { padding: 16px; }
  .card { border-radius: 24px; }
  .nav { padding: 20px 24px; }
  .hero { padding: 12px 24px; }
  .orbit-avatar-center { width: 160px; height: 160px; }
}
