:root {
  color-scheme: dark;
  --bg: #070b16;
  --panel: #111827;
  --panel-2: #151f34;
  --line: #29405d;
  --line-2: #34506f;
  --text: #f8fafc;
  --muted: #a9b4c7;
  --green: #35ef8d;
  --cyan: #22d3ee;
  --blue: #3978ff;
  --danger: #fb7185;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.12), transparent 28%),
    radial-gradient(circle at 44% 72%, rgba(53, 239, 141, 0.08), transparent 26%),
    var(--bg);
  color: var(--text);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(460px, 100%);
  padding: 28px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(13, 19, 34, 0.98));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.brand {
  text-align: center;
  margin-bottom: 24px;
}

.logo-orbit {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #0c1325;
}

.logo-orbit::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 26px;
  background: conic-gradient(from 0deg, #7c3aed, #22d3ee, #35ef8d, #3978ff, #7c3aed);
  animation: spin 2.2s linear infinite;
}

.logo-orbit img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand p {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.brand span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.stack {
  display: grid;
  gap: 14px;
}

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

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #0b1224;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  outline: none;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(53, 239, 141, 0.16);
}

button,
.support {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #03130a;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

button:disabled {
  opacity: 0.56;
  cursor: wait;
}

.ghost {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
}

.fine {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(251, 113, 133, 0.42);
  border-radius: 8px;
  background: rgba(251, 113, 133, 0.12);
  color: #fecdd3;
  font-weight: 800;
  font-size: 14px;
}

.notice {
  padding: 12px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  color: #dffbff;
  border: 1px solid rgba(34, 211, 238, 0.24);
  font-size: 14px;
}

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

.license-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
}

.license-box > div:last-child {
  grid-column: 1 / -1;
}

.license-box p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
}

.license-box strong {
  display: block;
  font-size: 16px;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: 20px;
}

.plans {
  display: grid;
  gap: 10px;
}

.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d1426;
}

.plan h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.plan p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.plan strong {
  color: var(--green);
  font-size: 18px;
}

.success-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(53, 239, 141, 0.16);
  border: 1px solid rgba(53, 239, 141, 0.48);
  color: var(--green);
  font-weight: 900;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 14px;
  }

  .panel {
    padding: 22px;
  }
}
