:root {
  --background: #0b0d12;
  --surface: #121620;
  --surface-2: #181d29;
  --border: #293041;
  --text: #f5f7fb;
  --muted: #a8b0c0;
  --accent: #ff5b5b;
  --accent-hover: #ff7777;
  --success: #38d996;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 91, 91, .14), transparent 35rem),
    radial-gradient(circle at 90% 20%, rgba(92, 111, 255, .10), transparent 30rem),
    var(--background);
}

a { color: inherit; }

.topbar, main, footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #b83f68);
  box-shadow: 0 12px 30px rgba(255, 91, 91, .25);
}

.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: var(--muted); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(56, 217, 150, .12);
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0 90px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: .97;
  letter-spacing: -.055em;
}

.lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover { background: var(--accent-hover); }

.button.secondary { background: rgba(255,255,255,.025); }
.button.secondary:hover { border-color: #485166; }

.server-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(18, 22, 32, .84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.server-card-header {
  display: flex;
  justify-content: space-between;
  padding: 19px 22px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
}

.badge {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 91, 91, .11);
  font-size: .72rem;
}

dl { margin: 0; }

dl > div {
  padding: 19px 22px;
  border-bottom: 1px solid var(--border);
}

dl > div:last-child { border-bottom: 0; }

dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.key-row code {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

code {
  color: #e8ebf2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.copy {
  flex: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 10px;
  color: var(--muted);
  background: var(--surface-2);
  cursor: pointer;
}

.copy:hover { color: var(--text); border-color: #485166; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 30px;
}

.panel {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 22, 32, .7);
}

.step {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 900;
}

.panel h2 { margin: 0 0 12px; font-size: 1.35rem; }
.panel p { min-height: 76px; color: var(--muted); line-height: 1.65; }

pre {
  overflow-x: auto;
  min-height: 76px;
  margin: 20px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0a0c11;
  font-size: .82rem;
  line-height: 1.55;
}

.text-link {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover { color: var(--accent); }

.notice {
  margin: 0 0 55px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 186, 92, .3);
  border-radius: 14px;
  color: #e7d8bd;
  background: rgba(255, 186, 92, .07);
  line-height: 1.6;
}

footer {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}

#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  transform: translateY(12px);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  pointer-events: none;
  transition: .2s ease;
}

#toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 45px;
  }

  .content-grid { grid-template-columns: 1fr; }
  .panel p { min-height: auto; }
}

@media (max-width: 560px) {
  .topbar, main, footer { width: min(100% - 24px, 1180px); }
  .status { display: none; }
  .hero { padding-bottom: 55px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}
