:root {
  --bg: #f6f7fb;
  --paper: #fff;
  --ink: #181a2c;
  --muted: #6e7288;
  --line: #e3e5ef;
  --purple: #6a46ed;
  --mint: #d8ff88;
  --danger: #b52743;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 0;
  border-radius: 9px;
  background: var(--purple);
  color: #fff;
  padding: 13px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-weight: 600;
  transition:
    transform 0.15s,
    background 0.15s;
}
button:hover,
.button:hover {
  transform: translateY(-1px);
  background: #5936d5;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.secondary:hover {
  background: #eceaf6;
}
.danger {
  background: #fff0f2;
  color: var(--danger);
}
.danger:hover {
  background: #ffe1e7;
}
.dark {
  background: var(--ink);
}
.site-header {
  max-width: 1280px;
  margin: auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-light {
  font-weight: 400;
}
.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--purple);
  border-radius: 8px;
  font-size: 23px;
  color: #fff;
  display: grid;
  place-items: center;
  margin-right: 6px;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a:hover {
  color: var(--purple);
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 78px 0 65px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--purple);
  border-radius: 50%;
  margin-right: 8px;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -1.5px;
}
h1 {
  font-size: 64px;
  margin: 22px 0;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
}
h1 span,
.accent {
  color: var(--purple);
}
.hero-copy p {
  font-size: 17px;
  color: var(--muted);
  max-width: 470px;
}
.actions {
  display: flex;
  gap: 12px;
  margin: 30px 0;
}
.hero-details {
  display: flex;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
  padding-top: 26px;
}
.gpu-visual {
  background: #212139;
  color: #fff;
  min-height: 420px;
  border-radius: 24px;
  padding: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px #24204922;
  position: relative;
  background-image: radial-gradient(
    ellipse at 70% 30%,
    #59508b55,
    transparent 60%
  );
}
.visual-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #aeabc7;
}
.status-dot {
  color: var(--mint);
}
.chip {
  width: 210px;
  height: 210px;
  border: 12px solid #484465;
  outline: 1px solid #77718d;
  margin: 45px auto;
  background: #171628;
  transform: rotate(-13deg);
  box-shadow:
    18px 20px 0 #141424,
    0 0 70px #ab8eff55;
  position: relative;
}
.chip:before,
.chip:after {
  content: "";
  position: absolute;
  inset: -27px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 9px,
    #77728b 9px 12px
  );
  height: 14px;
  z-index: -1;
}
.chip:after {
  top: auto;
  bottom: -27px;
}
.chip-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #787089;
  margin: 7px;
  height: calc(100% - 14px);
}
.chip-inner small {
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 3px;
}
.chip-inner strong {
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: 5px;
}
.chip-inner span {
  font-size: 24px;
  letter-spacing: 6px;
  color: #c6c2df;
}
.visual-bottom {
  display: flex;
  align-items: center;
  gap: 36px;
  border-top: 1px solid #ffffff22;
  padding-top: 20px;
}
.visual-bottom small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #aaa6c1;
}
.visual-bottom strong {
  font-size: 17px;
  font-weight: 500;
}
.visual-arrow {
  margin-left: auto;
  border-radius: 50%;
  background: var(--mint);
  color: #25243a;
  width: 36px;
  height: 36px;
  text-align: center;
  font-size: 23px;
}
.strip {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  font-size: 15px;
  font-weight: 700;
  color: #7e8197;
  letter-spacing: 2px;
}
.features {
  padding: 65px 0;
}
.section-heading h2 {
  margin-top: 15px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 35px;
}
.feature-grid article {
  padding: 25px 25px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.number {
  font-size: 12px;
  color: var(--purple);
  font-weight: 700;
}
.feature-grid p {
  font-size: 14px;
  color: var(--muted);
}
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px;
  background: var(--mint);
  border-radius: 15px;
  margin-bottom: 65px;
}
.cta h2 {
  margin: 12px 0;
}
footer {
  max-width: 1280px;
  margin: auto;
  padding: 25px 40px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
footer .brand {
  font-size: 16px;
  color: var(--ink);
}
.auth-shell {
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding-block: 55px;
}
.auth-card {
  width: 100%;
  max-width: 450px;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 15px 55px #30265408;
}
.auth-card h1 {
  font-size: 36px;
}
.auth-card p {
  color: var(--muted);
  font-size: 14px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 17px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d9dce7;
  border-radius: 8px;
  padding: 12px;
  margin-top: 7px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #c9bafb;
  border-color: var(--purple);
}
form button[type="submit"] {
  width: 100%;
}
.auth-link {
  text-align: center;
}
.auth-link a {
  color: var(--purple);
  font-weight: 600;
}
.message {
  color: var(--danger) !important;
  font-size: 14px;
  min-height: 1em;
}
.message:empty {
  display: none;
}
.workspace {
  padding-top: 42px;
  padding-bottom: 60px;
  min-height: 78vh;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: 43px;
  margin: 10px 0;
}
.page-heading p {
  color: var(--muted);
  font-size: 14px;
}
.badge {
  background: #ece7ff;
  color: var(--purple);
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 18px;
  border: 1px solid var(--line);
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 26px;
}
.toolbar label {
  margin: 0;
  min-width: 200px;
}
.toolbar button {
  margin-left: auto;
}
.gpu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gpu-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}
.gpu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gpu-icon {
  background: #eeebff;
  color: var(--purple);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 23px;
}
.gpu-card h2 {
  font-size: 27px;
  margin-bottom: 8px;
}
.gpu-card .specs {
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.price {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1px;
  margin: 19px 0 0;
}
.price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.disk-price {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.gpu-card button {
  width: 100%;
}
.notice {
  background: #efedf8;
  border: 1px solid #e4dff4;
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 25px;
  font-size: 13px;
  color: #5d5779;
}
.notice p {
  margin-bottom: 0;
}
.overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.balance-card {
  background: #25213e;
  color: #fff;
  border-radius: 15px;
  padding: 32px;
  background-image: radial-gradient(
    ellipse at right bottom,
    #664da888,
    transparent 70%
  );
}
.balance-card .eyebrow {
  color: #c6bfdd;
}
.balance {
  font-size: 45px;
  letter-spacing: -2px;
  font-weight: 700;
  padding: 19px 0 5px;
}
.balance-card > span:last-child {
  font-size: 13px;
  color: #bcb5ce;
}
.topup-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
  background: #fff;
}
.topup-card h2 {
  font-size: 22px;
  margin-top: 0;
}
.topup-card form {
  display: flex;
  align-items: end;
  gap: 15px;
}
.topup-card label {
  margin: 0;
  flex: 1;
}
.topup-card button {
  width: auto !important;
  font-size: 13px;
  padding-inline: 16px;
}
.topup-card small {
  font-size: 11px;
  color: var(--muted);
}
.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 18px;
  gap: 16px;
}
.section-row h2,
.history h2 {
  font-size: 24px;
}
.instance-list {
  display: grid;
  gap: 14px;
}
.instance-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 22px;
}
.instance-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.instance-head h3 {
  margin: 0;
}
.instance-info {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.instance-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.instance-actions button {
  font-size: 12px;
  padding: 8px 14px;
}
.ssh {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  border-radius: 7px;
  background: #f3f3f9;
  margin-top: 15px;
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 40px;
  border: 1px dashed #cec9dd;
  border-radius: 12px;
  color: var(--muted);
  grid-column: 1/-1;
}
.history {
  margin-top: 34px;
}
.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th,
td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 11px;
  color: var(--muted);
  background: #fafafe;
}
.positive {
  color: #28723e;
}
.negative {
  color: var(--danger);
}
.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 8px;
  background: #fff;
  font-size: 13px;
}
.payment-row button,
.payment-row .button {
  font-size: 12px;
  padding: 7px 11px;
}
.payment-actions {
  display: flex;
  gap: 8px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 520px;
  width: calc(100% - 30px);
  padding: 30px;
  color: var(--ink);
}
dialog::backdrop {
  background: #19152588;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 28px;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.icon-button {
  padding: 0;
  background: none;
  color: var(--muted);
  font-size: 27px;
}
dialog small {
  font-size: 11px;
  color: var(--muted);
}
.demo-banner {
  text-align: center;
  font-size: 11px;
  padding: 9px;
  background: #fff3ce;
  color: #765509;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #a58af3;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .hero {
    gap: 35px;
  }
  h1 {
    font-size: 51px;
  }
  .gpu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topup-card form {
    display: block;
  }
  .topup-card button {
    margin-top: 10px;
    width: 100% !important;
  }
}
@media (max-width: 700px) {
  main {
    padding-inline: 20px;
  }
  .site-header {
    padding: 18px 20px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 11px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-icon {
    width: 27px;
    height: 27px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 30px;
  }
  h1 {
    font-size: 48px;
  }
  .hero-details {
    font-size: 10px;
    gap: 15px;
  }
  .gpu-visual {
    min-height: 360px;
  }
  .chip {
    width: 180px;
    height: 180px;
    margin-block: 35px;
  }
  .strip {
    font-size: 10px;
    gap: 10px;
    letter-spacing: 0.5px;
  }
  .feature-grid,
  .overview,
  .gpu-grid {
    grid-template-columns: 1fr;
  }
  .features {
    padding-block: 40px;
  }
  .cta {
    align-items: start;
    gap: 22px;
    flex-direction: column;
    padding: 25px;
  }
  .cta h2 {
    font-size: 29px;
  }
  footer {
    padding: 25px 20px;
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .toolbar {
    flex-wrap: wrap;
    padding: 16px;
  }
  .toolbar label {
    min-width: 0;
    width: 100%;
  }
  .toolbar button {
    width: 100%;
  }
  .auth-card {
    padding: 26px;
  }
  .balance {
    font-size: 39px;
  }
  .section-row {
    flex-wrap: wrap;
  }
  .instance-head {
    align-items: start;
  }
  .payment-row {
    align-items: start;
    flex-direction: column;
  }
  .payment-actions {
    flex-wrap: wrap;
  }
}
/* Usernames can contain up to 40 unbroken characters. */
.page-heading > div {
  min-width: 0;
  max-width: 100%;
}
.page-heading h1 {
  overflow-wrap: anywhere;
}
