/* From Uiverse.io by kiranmayee-abbireddy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent-1: #0f63ff;
  --accent-2: #0b4fe0;
  --accent-3: #0835a8;
  --accent-solid: #1680ff;
  --panel-bg: rgba(3, 11, 29, 0.7);
  --panel-border: rgba(26, 67, 160, 0.35);
}

html,
body {
  width: 100%;
  min-height: 100dvh;
  background-color: #050505;
  overflow: hidden;
}

body {
  position: relative;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body.mobile-menu-open {
  overflow: hidden;
}

:where(
  .button,
  .top-auth-link,
  .hero-info-button,
  .nav-link,
  .signup-submit,
  .signup-mode-toggle,
  .signup-eye
):focus-visible {
  outline: 2px solid rgba(98, 176, 255, 0.95);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(24, 116, 255, 0.2);
}

.button:active,
.top-auth-link:active,
.hero-info-button:active,
.signup-submit:active {
  transform: translateY(1px) scale(0.99);
}

.top-bar {
  position: fixed;
  top: 20px;
  left: 64px;
  right: 64px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(37, 97, 233, 0.35));
}

.brand-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  font-size: 33px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-frag {
  color: #fff;
}

.brand-sofia {
  color: var(--accent-solid);
  text-shadow: 0 0 12px rgba(22, 128, 255, 0.42);
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 44px;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(64, 116, 228, 0.45);
  background: linear-gradient(180deg, rgba(5, 15, 40, 0.92), rgba(2, 9, 26, 0.95));
  color: #eaf2ff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-toggle:hover {
  border-color: rgba(94, 148, 255, 0.8);
  transform: translateY(-1px);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
  position: relative;
  padding-bottom: 9px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-solid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: #d6e8ff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link-active {
  color: var(--accent-solid);
}

.nav-link-active::after {
  transform: scaleX(1);
}

.nav-link-mobile-auth {
  display: none;
}

.nav-link-mobile-logout {
  color: #ffd9de;
  border-color: rgba(194, 72, 92, 0.45);
  background: linear-gradient(180deg, rgba(47, 16, 27, 0.92), rgba(28, 8, 16, 0.94));
  text-align: left;
  cursor: pointer;
}

.mobile-menu-profile {
  display: none;
}

.top-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 264px;
  min-height: 52px;
  gap: 10px;
}

.top-start-button {
  transition: opacity 0.28s ease, transform 0.52s cubic-bezier(0.19, 1, 0.22, 1);
}

.top-auth-links {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(18px, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.top-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(64, 116, 228, 0.48);
  background: linear-gradient(180deg, rgba(5, 15, 40, 0.92), rgba(2, 9, 26, 0.95));
  color: #eaf2ff;
  text-decoration: none;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.top-auth-link:hover {
  border-color: rgba(94, 148, 255, 0.8);
  background: linear-gradient(180deg, rgba(8, 22, 57, 0.95), rgba(3, 12, 36, 0.97));
  transform: translateY(-1px);
}

.top-auth-link-logout {
  color: #ffdadf;
  border-color: rgba(194, 72, 92, 0.5);
  background: linear-gradient(180deg, rgba(47, 16, 27, 0.92), rgba(28, 8, 16, 0.94));
}

.top-auth-link-logout:hover {
  border-color: rgba(233, 107, 128, 0.72);
  background: linear-gradient(180deg, rgba(60, 18, 34, 0.95), rgba(35, 9, 20, 0.97));
}

.top-auth-link:disabled {
  cursor: progress;
  opacity: 0.68;
}

.top-auth-link.is-busy,
.button.is-busy {
  pointer-events: none;
  opacity: 0.82;
  filter: saturate(0.9);
}

.top-actions.top-actions-authenticated .top-start-button {
  opacity: 0;
  transform: translateX(-20px) scale(0.94);
  pointer-events: none;
}

.top-actions.top-actions-authenticated .top-auth-links {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto;
}

/* From Uiverse.io by satyamchaudharydev */
.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: rgb(0 107 179);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 10px;
  font-weight: 700;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  cursor: pointer;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.button:hover .icon {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.button-top {
  padding-block: 0.45rem;
  padding-inline: 1.15rem;
}

.page-shell {
  position: relative;
  z-index: 25;
  width: calc(100vw - 128px);
  height: 100dvh;
  margin: 0;
  margin-left: 64px;
  padding-top: 178px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.edge-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 11px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  color: #f7fbff;
  background: linear-gradient(180deg, rgba(5, 16, 43, 0.92), rgba(2, 9, 26, 0.94));
  border: 1px solid rgba(58, 98, 213, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(88, 124, 224, 0.08),
    0 10px 26px rgba(4, 14, 38, 0.4),
    0 0 18px rgba(47, 86, 201, 0.16);
  margin-bottom: 20px;
}

.edge-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #62d0ff, #2467ff 75%);
  box-shadow: 0 0 12px rgba(78, 137, 255, 0.9);
  flex-shrink: 0;
}

.edge-badge-text {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.hero-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(620px, 54%) 1fr;
  align-items: center;
  column-gap: clamp(44px, 6vw, 110px);
}

.hero-left {
  max-width: 860px;
  align-self: center;
}

.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 540px;
  padding-top: 0;
  padding-right: clamp(8px, 1.6vw, 24px);
  margin-top: -10px;
  margin-left: 6px;
}

.hero-transition-scene {
  position: relative;
  width: min(680px, 100%);
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-node-stage {
  position: relative;
  z-index: 2;
  width: clamp(282px, 27vw, 422px);
  transition: transform 0.95s cubic-bezier(0.19, 1, 0.22, 1), filter 0.7s ease;
}

.hero-node-target-dot {
  position: absolute;
  top: 12%;
  right: 10%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7ad9ff, #2f8bff 78%);
  box-shadow: 0 0 14px rgba(73, 171, 255, 0.9);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.45s ease 0.18s, transform 0.45s ease 0.18s;
}

.hero-tech-graphic {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 26px rgba(17, 95, 255, 0.45))
    drop-shadow(0 26px 42px rgba(0, 0, 0, 0.52));
  pointer-events: none;
  user-select: none;
  animation: heroNodeFloat 4.2s ease-in-out infinite;
  transition: transform 0.8s ease;
}

.signup-card {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  width: clamp(348px, 25vw, 478px);
  padding: 32px 30px 28px;
  border-radius: 26px;
  border: 1px solid rgba(79, 130, 246, 0.48);
  background:
    radial-gradient(150% 120% at 12% 8%, rgba(53, 133, 255, 0.26), transparent 48%),
    linear-gradient(180deg, rgba(7, 19, 50, 0.92), rgba(2, 10, 30, 0.97));
  box-shadow:
    inset 0 0 0 1px rgba(120, 166, 255, 0.14),
    0 28px 52px rgba(1, 8, 22, 0.58),
    0 0 26px rgba(33, 107, 251, 0.16);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translate(88px, -50%) scale(0.96);
  transition: opacity 0.55s ease 0.12s, transform 0.78s cubic-bezier(0.19, 1, 0.22, 1) 0.12s;
  pointer-events: none;
}

.signup-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #e9f3ff;
  background: linear-gradient(160deg, #1c7dff, #0d45cc);
  box-shadow: 0 12px 28px rgba(9, 76, 212, 0.4);
}

.signup-card-icon svg {
  width: 30px;
  height: 30px;
}

.signup-title {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 2.2vw, 43px);
  line-height: 1.1;
  color: #f2f7ff;
}

.signup-subtitle {
  margin: 12px auto 20px;
  max-width: 430px;
  text-align: center;
  font-size: 16px;
  line-height: 1.38;
  color: rgba(220, 234, 255, 0.84);
}

.auth-alert-stack {
  margin-bottom: 0;
}

.auth-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.28s ease;
}

.auth-alert[hidden] {
  display: none;
}

.auth-alert-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.auth-alert-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.auth-alert-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.auth-alert-icon {
  width: 21px;
  height: 21px;
}

.auth-alert-copy {
  min-width: 0;
}

.auth-alert-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.auth-alert-message {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(209, 219, 239, 0.9);
}

.auth-alert-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(161, 178, 213, 0.9);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-alert-close:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #eff5ff;
}

.auth-alert-close-icon {
  width: 18px;
  height: 18px;
}

.auth-alert-error {
  background: linear-gradient(180deg, rgba(35, 37, 49, 0.94), rgba(28, 30, 41, 0.95));
  border-color: rgba(214, 85, 99, 0.4);
}

.auth-alert-error .auth-alert-icon-wrap {
  background: rgba(255, 255, 255, 0.08);
  color: #d65563;
}

.auth-alert-error .auth-alert-title {
  color: #fff;
}

.auth-alert-success {
  background: linear-gradient(180deg, rgba(26, 45, 36, 0.95), rgba(21, 36, 30, 0.96));
  border-color: rgba(78, 190, 129, 0.45);
}

.auth-alert-success .auth-alert-icon-wrap {
  background: rgba(255, 255, 255, 0.09);
  color: #4ebe81;
}

.auth-alert-success .auth-alert-title {
  color: #f1fff8;
}

.auth-alert-info {
  background: linear-gradient(180deg, rgba(25, 41, 66, 0.95), rgba(19, 32, 52, 0.96));
  border-color: rgba(92, 149, 246, 0.45);
}

.auth-alert-info .auth-alert-icon-wrap {
  background: rgba(255, 255, 255, 0.09);
  color: #66a2ff;
}

.auth-alert-info .auth-alert-title {
  color: #f2f7ff;
}

.signup-title,
.signup-subtitle,
.signup-submit,
.signup-toggle-copy {
  transition: opacity 0.24s ease, transform 0.3s ease;
}

.signup-card.auth-switching .signup-title,
.signup-card.auth-switching .signup-subtitle,
.signup-card.auth-switching .signup-submit,
.signup-card.auth-switching .signup-toggle-copy {
  opacity: 0;
  transform: translateY(6px);
}

.signup-form {
  display: grid;
  gap: 10px;
  transition: opacity 0.24s ease, transform 0.3s ease;
}

.signup-form label {
  display: none;
}

.signup-card.auth-switching .signup-form {
  opacity: 0.2;
  transform: translateY(6px);
}

.signup-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  border-radius: 13px;
  border: 1px solid rgba(66, 122, 241, 0.46);
  background: linear-gradient(180deg, rgba(4, 16, 44, 0.8), rgba(2, 11, 33, 0.82));
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-input-wrap:focus-within {
  border-color: rgba(95, 158, 255, 0.94);
  box-shadow: 0 0 0 3px rgba(39, 114, 255, 0.2);
}

.signup-input-wrap > svg {
  width: 19px;
  height: 19px;
  color: rgba(197, 218, 255, 0.86);
  flex-shrink: 0;
}

.signup-input-divider {
  margin: 0 10px;
  color: rgba(144, 179, 243, 0.72);
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  user-select: none;
}

.signup-input-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  margin-left: 0;
  background: transparent;
  color: #f1f6ff;
  font-size: 16px;
}

.signup-input-wrap input::placeholder {
  color: rgba(189, 212, 247, 0.9);
}

.signup-input-wrap.signup-only {
  max-height: 68px;
  overflow: hidden;
  transform-origin: top;
  transition:
    max-height 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    min-height 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.24s ease,
    transform 0.3s ease,
    padding 0.3s ease,
    border-color 0.2s ease;
}

.signup-eye {
  width: 28px;
  height: 28px;
  margin-left: 6px;
  border: 0;
  background: transparent;
  color: rgba(173, 198, 240, 0.85);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.signup-eye svg {
  width: 20px;
  height: 20px;
}

.signup-submit {
  margin-top: 8px;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #2384ff, #0f4ed7);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signup-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(8, 80, 230, 0.38);
}

.signup-submit svg {
  width: 26px;
  height: 26px;
}

.signup-toggle-copy {
  margin-top: 16px;
  text-align: center;
  font-size: 16px;
  color: rgba(192, 211, 244, 0.9);
}

.signup-toggle-signup-text,
.signup-toggle-login-text {
  margin-right: 4px;
}

.signup-toggle-login-text {
  display: none;
}

.signup-mode-toggle {
  color: #34a0ff;
  font-weight: 700;
  text-decoration: none;
}

.signup-mode-toggle:hover {
  text-decoration: underline;
}

.signup-card.auth-submitting .signup-submit {
  pointer-events: none;
  opacity: 0.86;
}

.signup-card.auth-submitting .signup-mode-toggle {
  pointer-events: none;
  opacity: 0.62;
}

.signup-card.auth-login .signup-input-wrap.signup-only {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  transform: translateY(-9px);
  padding-top: 0;
  padding-bottom: 0;
  border-color: rgba(66, 122, 241, 0);
  pointer-events: none;
}

.signup-card.auth-login .signup-toggle-signup-text {
  display: none;
}

.signup-card.auth-login .signup-toggle-login-text {
  display: inline;
}

.hero-layout.hero-layout-started .hero-node-stage {
  transform: translateX(-224px) scale(0.93);
  filter: brightness(1.08);
}

.hero-layout.hero-layout-started .hero-node-target-dot {
  opacity: 1;
  transform: scale(1);
}

.hero-layout.hero-layout-started .hero-tech-graphic {
  animation-play-state: paused;
}

.hero-layout.hero-layout-started .signup-card {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
  pointer-events: auto;
}

.hero-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(64px, 5vw, 88px);
  line-height: 1.03;
  color: #f6f9ff;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
}

.hero-title-accent {
  display: inline-block;
  color: var(--accent-1);
  text-shadow: 0 0 18px rgba(24, 96, 255, 0.25);
  animation: limitsPulse 2.8s ease-in-out infinite;
}

.hero-copy {
  margin: 16px 0 0;
  max-width: 740px;
  font-size: clamp(19px, 1.25vw, 24px);
  line-height: 1.48;
  color: rgba(233, 241, 255, 0.9);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button-hero {
  font-size: 18px;
  padding: 14px 36px;
}

.button-hero .icon {
  width: 26px;
  height: 26px;
}

.hero-info-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 21px;
  border-radius: 16px;
  border: 1px solid rgba(40, 82, 182, 0.45);
  background: rgba(5, 12, 30, 0.68);
  color: rgba(239, 245, 255, 0.98);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-info-button svg {
  width: 24px;
  height: 24px;
  color: #0f63ff;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.28s ease;
}

.hero-info-label {
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.28s ease;
}

.hero-info-button.hero-info-switching .hero-info-label {
  opacity: 0;
  transform: translateY(-5px);
}

.hero-info-button.hero-info-switching svg {
  opacity: 0.65;
  transform: scale(0.92);
}

.hero-info-button:hover {
  border-color: rgba(63, 118, 238, 0.7);
  box-shadow: 0 0 18px rgba(29, 82, 194, 0.28);
  background: rgba(8, 18, 44, 0.78);
}

.feature-grid {
  margin-top: 14px;
  padding-top: 10px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 158px;
  padding: 24px 22px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(3, 11, 29, 0.72), rgba(2, 8, 21, 0.78));
  box-shadow:
    inset 0 0 0 1px rgba(84, 125, 227, 0.04),
    0 12px 26px rgba(1, 8, 22, 0.4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.feature-icon-wrap {
  grid-row: 1 / span 2;
  align-self: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  background: radial-gradient(circle at 35% 35%, rgba(22, 110, 255, 0.2), rgba(3, 24, 74, 0.56));
  box-shadow: inset 0 0 0 1px rgba(21, 89, 233, 0.25);
}

.feature-icon-wrap svg {
  width: 27px;
  height: 27px;
}

.feature-card h3 {
  grid-column: 2;
  margin-top: 0;
  font-size: 16px;
  font-weight: 600;
  color: #edf3ff;
}

.feature-card p {
  grid-column: 2;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.52;
  color: rgba(219, 229, 247, 0.88);
}

@keyframes limitsPulse {
  0%,
  100% {
    color: #0f63ff;
    text-shadow: 0 0 16px rgba(15, 99, 255, 0.22);
    transform: translateY(0);
  }

  50% {
    color: #4ca2ff;
    text-shadow: 0 0 28px rgba(76, 162, 255, 0.62);
    transform: translateY(-1px);
  }
}

@keyframes heroNodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.uiverse-midnight-sky {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background-color: #050505;
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-footer {
  position: fixed;
  left: 64px;
  bottom: 10px;
  z-index: 60;
  margin: 0;
  width: calc(100vw - 128px);
  border-radius: 13px;
  border: 1px solid rgba(40, 110, 226, 0.44);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.8), rgba(2, 10, 28, 0.9));
  padding: 12px 14px;
  color: rgba(194, 214, 246, 0.9);
  font-size: 14px;
}

.landing-footer p {
  margin: 0;
}

.landing-footer a {
  color: #c6defe;
  text-decoration: none;
}

.landing-footer a:hover {
  color: #f2f8ff;
  text-decoration: underline;
}

@media (min-width: 901px) {
  .page-shell {
    padding-bottom: 106px;
  }

  .feature-grid {
    margin-top: auto;
    margin-bottom: 12px;
    padding-top: 0;
  }
}

@media (max-width: 1500px) {
  .top-bar {
    left: 40px;
    right: 40px;
  }

  .main-nav {
    gap: 26px;
  }

  .nav-link {
    font-size: 16px;
  }

  .page-shell {
    width: calc(100vw - 80px);
    margin-left: 40px;
    padding-top: 164px;
  }

  .edge-badge-text {
    font-size: 13px;
  }

  .hero-layout {
    grid-template-columns: minmax(560px, 56%) 1fr;
    column-gap: clamp(24px, 4.2vw, 68px);
  }

  .hero-tech-graphic {
    width: clamp(248px, 25vw, 368px);
  }

  .signup-card {
    width: clamp(320px, 29vw, 420px);
    padding: 24px 22px 20px;
  }

  .signup-title {
    font-size: clamp(30px, 2vw, 36px);
  }

  .signup-subtitle {
    font-size: 14px;
  }

  .auth-alert-title {
    font-size: 13px;
  }

  .auth-alert-message {
    font-size: 12px;
  }

  .signup-submit {
    min-height: 50px;
    font-size: 22px;
  }

  .hero-title {
    font-size: clamp(56px, 4.4vw, 78px);
  }

  .hero-copy {
    font-size: clamp(17px, 1.08vw, 21px);
  }

  .button {
    font-size: 14px;
    padding: 9px 19px;
  }

  .button-top {
    padding: 10px 22px;
  }

  .button-hero {
    font-size: 17px;
    padding: 12px 28px;
  }

  .hero-info-button {
    min-height: 56px;
    font-size: 15px;
    padding: 0 20px;
  }

  .feature-card {
    min-height: 138px;
    padding: 18px 16px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .main-nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 15px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-right {
    display: none;
    margin-top: 28px;
    min-height: 0;
    justify-content: flex-start;
    padding-right: 0;
  }

  .hero-layout.hero-layout-started .hero-right {
    display: flex;
  }

  .hero-transition-scene {
    width: min(580px, 100%);
    min-height: 0;
    justify-content: flex-start;
  }

  .hero-node-stage {
    display: none;
  }

  .signup-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(580px, 100%);
    transform: translateY(20px) scale(0.98);
  }

  .hero-layout.hero-layout-started .signup-card {
    transform: translateY(0) scale(1);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .top-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 12px 8px;
    background: linear-gradient(180deg, rgba(3, 11, 29, 0.94), rgba(3, 11, 29, 0.66));
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    row-gap: 6px;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: 8px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 20px;
    gap: 5px;
    line-height: 1;
  }

  .main-nav {
    position: static;
    transform: none;
    width: 100%;
    justify-content: flex-start;
    order: 3;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    padding: 0;
    margin-top: 0;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(180deg, rgba(5, 15, 40, 0), rgba(2, 9, 26, 0));
    transition: max-height 0.24s ease, opacity 0.2s ease, padding 0.2s ease;
  }

  .mobile-menu-profile {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(64, 116, 228, 0.24);
    background: linear-gradient(180deg, rgba(8, 24, 61, 0.72), rgba(3, 12, 34, 0.78));
  }

  .mobile-menu-greeting {
    margin: 0;
    color: #dcebff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
  }

  .mobile-menu-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(99, 132, 200, 0.5);
    color: #d7e6ff;
    background: rgba(11, 30, 73, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .mobile-menu-status.mobile-menu-status-auth {
    border-color: rgba(88, 210, 171, 0.48);
    color: #b8f5e2;
    background: rgba(10, 62, 50, 0.55);
  }

  .main-nav.main-nav-mobile-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
    padding: 10px;
    margin-top: 4px;
    border-color: rgba(64, 116, 228, 0.34);
    background: linear-gradient(180deg, rgba(5, 15, 40, 0.9), rgba(2, 9, 26, 0.94));
    box-shadow: inset 0 0 0 1px rgba(84, 125, 227, 0.1), 0 10px 24px rgba(1, 8, 22, 0.36);
  }

  .main-nav.main-nav-mobile-open .mobile-menu-profile {
    display: flex;
  }

  .nav-link {
    font-size: 13px;
    flex: 0 0 auto;
    border-radius: 10px;
    padding: 10px 12px 11px;
    background: linear-gradient(180deg, rgba(5, 15, 40, 0.86), rgba(2, 9, 26, 0.9));
    border: 1px solid rgba(64, 116, 228, 0.3);
    width: 100%;
    transform: translateY(4px);
    opacity: 0;
    transition:
      transform 0.24s ease,
      opacity 0.24s ease,
      border-color 0.2s ease,
      background-color 0.2s ease;
  }

  .main-nav.main-nav-mobile-open .nav-link {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav.main-nav-mobile-open .nav-link:nth-child(1) { transition-delay: 0.02s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(2) { transition-delay: 0.04s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(3) { transition-delay: 0.06s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(4) { transition-delay: 0.08s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(5) { transition-delay: 0.10s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(6) { transition-delay: 0.12s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(7) { transition-delay: 0.14s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(8) { transition-delay: 0.16s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(9) { transition-delay: 0.18s; }
  .main-nav.main-nav-mobile-open .nav-link:nth-child(10) { transition-delay: 0.20s; }

  .main-nav .nav-link-active {
    border-color: rgba(98, 176, 255, 0.85);
    background: linear-gradient(180deg, rgba(14, 49, 122, 0.92), rgba(7, 30, 84, 0.95));
    color: #d9ebff;
    box-shadow: inset 0 0 0 1px rgba(124, 180, 255, 0.28), 0 8px 18px rgba(4, 16, 46, 0.28);
  }

  .top-actions {
    margin-left: auto;
    min-width: 0;
    min-height: 42px;
    order: 4;
    width: 100%;
    justify-content: flex-end;
    padding-top: 2px;
  }

  .top-actions.top-actions-authenticated .top-start-button {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  body.is-authenticated .top-start-button {
    display: none;
  }

  body.is-authenticated .top-auth-links {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    margin-left: auto;
    width: calc(100vw - 128px);
    display: inline-flex !important;
    gap: 7px;
  }

  body.is-authenticated .top-auth-link {
    min-height: 33px;
    padding: 0 11px;
    font-size: 12px;
  }

  .top-start-button {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
  }

  body.is-authenticated .main-nav.main-nav-mobile-open .nav-link-mobile-auth {
    display: inline-flex;
  }

  .button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .page-shell {
    width: calc(100vw - 20px);
    margin-left: 10px;
    padding-top: 126px;
    height: auto;
    min-height: 100dvh;
    padding-bottom: 28px;
  }

  .edge-badge {
    max-width: 100%;
    margin-bottom: 14px;
    padding: 8px 12px 8px 10px;
  }

  .edge-badge-text {
    font-size: 12px;
  }

  .hero-layout {
    margin-top: 10px;
    row-gap: 12px;
  }

  .hero-title {
    font-size: clamp(36px, 8.1vw, 52px);
    line-height: 0.96;
    letter-spacing: -0.01em;
  }

  .hero-copy {
    margin-top: 10px;
    font-size: clamp(14px, 3.4vw, 17px);
    line-height: 1.48;
    max-width: 36ch;
  }

  .hero-actions {
    margin-top: 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .button-hero {
    width: 100%;
    font-size: 15px;
    min-height: 50px;
    padding: 12px 16px;
  }

  .hero-info-button {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    padding: 0 14px;
    border-radius: 12px;
    justify-content: center;
  }

  .signup-card {
    padding: 22px 18px 20px;
  }

  .signup-title {
    font-size: clamp(28px, 8vw, 34px);
  }

  .signup-subtitle,
  .signup-toggle-copy {
    font-size: 14px;
  }

  .signup-submit {
    min-height: 50px;
    font-size: 21px;
  }

  .hero-info-button svg {
    width: 18px;
    height: 18px;
  }

  .feature-grid {
    margin-top: 14px;
    margin-bottom: 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    min-height: 0;
    padding: 14px 12px;
  }
}

@media (max-width: 600px) {
  .top-bar {
    padding: 8px 10px 7px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 17px;
    letter-spacing: 0.05em;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .page-shell {
    width: calc(100vw - 16px);
    margin-left: 8px;
    padding-top: 116px;
    padding-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(32px, 10.2vw, 42px);
    line-height: 0.94;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.44;
  }

  .button-hero {
    min-height: 48px;
    font-size: 14px;
  }

  .hero-info-button {
    min-height: 46px;
    font-size: 13px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 12px;
    line-height: 1.46;
  }
}

/* Base Sky Layer */
.uiverse-midnight-sky .sky-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: #050505;
}

/* Generic star layer style */
.uiverse-midnight-sky .stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  pointer-events: none;
}

/* Layer 1: Small fast twinkling stars - High density */
.uiverse-midnight-sky .stars-1 {
  background-image: radial-gradient(1px 1px at 10% 10%, #fff, transparent),
    radial-gradient(1px 1px at 30% 20%, #fff, transparent),
    radial-gradient(1px 1px at 50% 50%, #fff, transparent),
    radial-gradient(1px 1px at 70% 30%, #fff, transparent),
    radial-gradient(1px 1px at 90% 10%, #fff, transparent);
  background-size: 200px 200px;
  animation: twinkle 3s ease-in-out infinite;
}

/* Layer 2: Medium slower twinkling stars */
.uiverse-midnight-sky .stars-2 {
  background-image: radial-gradient(1.5px 1.5px at 20% 40%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60% 85%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 85% 65%, #fff, transparent);
  background-size: 300px 300px;
  animation: twinkle 5s ease-in-out infinite 1s;
}

/* Layer 3: Larger, very slow twinkling stars */
.uiverse-midnight-sky .stars-3 {
  background-image: radial-gradient(2px 2px at 40% 70%, #fff, transparent),
    radial-gradient(2px 2px at 10% 80%, #fff, transparent),
    radial-gradient(2px 2px at 80% 40%, #fff, transparent);
  background-size: 400px 400px;
  animation: twinkle 7s ease-in-out infinite 2s;
}

/* Meteor / Shooting Star Layer */
.uiverse-midnight-sky .meteor {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
}

/* Meteor Tail */
.uiverse-midnight-sky .meteor::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, #fff, transparent);
}

/* Meteor Instances with staggered starts */
.uiverse-midnight-sky .m1 {
  top: 10%;
  left: 110%;
  animation: shoot 8s linear infinite;
}

.uiverse-midnight-sky .m2 {
  top: 30%;
  left: 110%;
  animation: shoot 12s linear infinite 4s;
}

.uiverse-midnight-sky .m3 {
  top: 50%;
  left: 110%;
  animation: shoot 10s linear infinite 2s;
}

/* The Moon */
.uiverse-midnight-sky .moon {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 15px 15px 0 0 #fdfbd3;
  filter: drop-shadow(0 0 15px rgba(253, 251, 211, 0.4));
  z-index: 10;
}

/* Twinkle Animation */
@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* Shooting Star Animation - Using % instead of vw/vh */
@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(-35deg);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  15% {
    transform: translateX(-1500px) translateY(1000px) rotate(-35deg);
    opacity: 0;
  }

  100% {
    transform: translateX(-1500px) translateY(1000px) rotate(-35deg);
    opacity: 0;
  }
}

@media (max-width: 1500px) {
  .landing-footer {
    left: 40px;
    width: calc(100vw - 80px);
  }
}

@media (max-width: 900px) {
  .landing-footer {
    width: calc(100vw - 28px);
    bottom: 8px;
    font-size: 13px;
    padding: 10px 12px;
  }

  .feature-grid {
    margin-bottom: 86px;
  }
}
