:root {
  --space-950: #070816;
  --space-900: #0c0d24;
  --space-850: #11123a;
  --space-800: #17184b;
  --surface: rgba(17, 18, 58, 0.72);
  --surface-strong: rgba(24, 25, 76, 0.9);
  --line: rgba(179, 217, 255, 0.16);
  --line-strong: rgba(139, 230, 255, 0.34);
  --text: #f6f8ff;
  --muted: #aab4d6;
  --soft: #dbe7ff;
  --cyan: #62e6ff;
  --pink: #ff72f4;
  --violet: #8d6cff;
  --success: #7cf7c8;
  --danger: #ff8da1;
  --warning: #ffd17a;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(98, 230, 255, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 114, 244, 0.18), transparent 30%),
    radial-gradient(circle at 56% 84%, rgba(141, 108, 255, 0.18), transparent 36%),
    linear-gradient(180deg, var(--space-950), #0b0b21 48%, #080817);
  font-family: Outfit, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(98, 230, 255, 0.65) 0 1px, transparent 1px);
  background-position: 0 0, 34px 28px;
  background-size: 82px 82px, 137px 137px;
  opacity: 0.11;
}

a { color: inherit; }

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 22, 0.76);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand, .nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), rgba(98, 230, 255, 0.72) 28%, rgba(141, 108, 255, 0.9) 58%, rgba(255, 114, 244, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 40px rgba(98, 230, 255, 0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 128%;
  height: 128%;
  object-fit: cover;
}

.brand-word {
  display: grid;
  line-height: 1.05;
}

.brand-word small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  gap: 10px;
}

.nav a, .link-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.nav a:hover, .link-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.nav form { margin: 0; }
.link-button { border: 0; background: transparent; cursor: pointer; }
.nav-cta {
  color: var(--space-950) !important;
  background: linear-gradient(135deg, var(--cyan), var(--pink)) !important;
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(38px, 6vw, 84px) clamp(20px, 6vw, 92px) 34px;
  overflow: hidden;
  position: relative;
}

.hero-copy { max-width: 660px; }

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
}

h1, h2, h3, p { letter-spacing: 0; }

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.92;
  font-weight: 950;
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 900;
}

.lead {
  color: var(--soft);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.45;
  max-width: 620px;
}

.compact { font-size: 18px; color: var(--muted); }

.actions, .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px) scale(.99); }
.primary {
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  color: var(--space-950);
  border-color: rgba(255, 255, 255, .18);
}
.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.dark {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--line-strong);
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(92%, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(139, 230, 255, 0.2);
  background:
    radial-gradient(circle at 50% 50%, rgba(98, 230, 255, 0.10), transparent 38%),
    conic-gradient(from 130deg, transparent, rgba(98, 230, 255, .2), rgba(255, 114, 244, .44), transparent 64%);
  filter: drop-shadow(0 34px 80px rgba(98, 230, 255, 0.12));
  animation: slow-spin 22s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 114, 244, 0.18);
  border-radius: 50%;
}

.mascot-frame {
  width: min(82%, 500px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  animation: float 5.8s ease-in-out infinite;
}

.mascot-frame::before {
  content: "";
  position: absolute;
  inset: 22% 12% 5%;
  border-radius: 50%;
  background: rgba(98, 87, 255, 0.34);
  filter: blur(28px);
  transform: translateY(36%);
}

.mascot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
}

.node {
  position: absolute;
  min-width: 70px;
  min-height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.node-sp { left: 4%; top: 22%; }
.node-us { right: 2%; top: 28%; }
.node-ger { left: 12%; bottom: 10%; }
.node-nl { right: 12%; bottom: 12%; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.strip p { color: var(--muted); max-width: 720px; }

.auth-shell {
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-panel, .panel, .plan, .release-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px);
}

.auth-panel {
  width: min(100%, 460px);
  padding: 30px;
}

.auth-mascot {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 12px;
}

.form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: rgba(7, 8, 22, 0.6);
  outline: none;
  transition: border-color .16s ease, background .16s ease;
}

input:focus {
  border-color: var(--cyan);
  background: rgba(7, 8, 22, 0.86);
}

.error { color: var(--danger); font-weight: 800; }
.notice { color: var(--warning); font-weight: 800; }
.muted { color: var(--muted); }

.workspace {
  padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 72px);
}

.workspace.narrow { max-width: 920px; }

.workspace-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.workspace h1 { font-size: clamp(42px, 6vw, 76px); }

.layout {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(320px, 1.12fr);
  gap: 18px;
}

.panel, .release-note {
  padding: 24px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 950;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.status.active {
  background: rgba(124, 247, 200, 0.13);
  color: var(--success);
  border-color: rgba(124, 247, 200, 0.3);
}

.status.inactive {
  background: rgba(255, 141, 161, 0.13);
  color: var(--danger);
  border-color: rgba(255, 141, 161, 0.3);
}

.facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.facts div {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

dt { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
dd { margin: 0; overflow-wrap: anywhere; color: var(--soft); }

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}

th { color: var(--muted); font-size: 12px; text-transform: uppercase; }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.plan {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.plan strong {
  font-size: 34px;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  align-items: center;
}

.download-hero img {
  width: 100%;
  object-fit: contain;
}

@media (max-width: 820px) {
  .topbar { padding: 0 14px; }
  .brand-word small { display: none; }
  .nav { gap: 4px; font-size: 13px; }
  .nav a, .link-button { padding: 0 10px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 34px; padding-bottom: 18px; }
  .hero-visual { min-height: 118px; }
  .orbit { width: min(54%, 180px); }
  .mascot-frame { width: min(48%, 152px); }
  .node { min-width: 58px; min-height: 40px; font-size: 12px; }
  .strip, .workspace-head, .download-hero { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; }
  .layout, .plans { grid-template-columns: 1fr; }
  .auth-shell { padding: 20px; }
  .download-hero img { width: 180px; }
}
