:root {
  --bg: #070b0d;
  --bg-elevated: rgba(14, 19, 22, 0.9);
  --panel: rgba(18, 24, 27, 0.9);
  --panel-strong: rgba(10, 14, 17, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #edf8f7;
  --muted: #a2b6b2;
  --accent: #8afc00;
  --accent-2: #ff7a18;
  --accent-3: #00d1ff;
  --shadow: rgba(138, 252, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(138, 252, 0, 0.10), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 122, 24, 0.14), transparent 24%),
    linear-gradient(180deg, #05090b 0%, #0a1214 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 60px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 18px;
  background: rgba(10, 13, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-name {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.is-active {
  background: linear-gradient(135deg, var(--accent), #b5ff3d);
  color: #071012;
  box-shadow: 0 10px 24px rgba(138, 252, 0, 0.22);
}

.nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 60px 0 18px;
}

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

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.2rem, 4.2vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  word-spacing: 0.04em;
  font-weight: 900;
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.lead {
  max-width: 700px;
  margin-top: 26px;
  color: rgba(223, 234, 239, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  font-weight: 700;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), #b5ff3d);
  color: #071012;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(138, 252, 0, 0.22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.015);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(223, 234, 239, 0.8);
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}

.stats strong {
  font-size: clamp(2rem, 2vw, 2.5rem);
  color: var(--text);
  line-height: 1;
}

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

.visual-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.33), transparent 58%);
  filter: blur(8px);
}

.screen-card {
  position: relative;
  z-index: 1;
  width: min(420px, 88%);
  min-height: 360px;
  padding: 18px 18px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 25, 27, 0.94), rgba(8, 12, 15, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.03);
  transform: rotate(-4deg);
}

.screen-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.screen-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}

.screen-topbar span:nth-child(1) { background: #ff7b79; }
.screen-topbar span:nth-child(2) { background: #ffc857; }
.screen-topbar span:nth-child(3) { background: #63eb9d; }

.code-lines {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9rem;
  color: #dfe8ff;
}

.code-lines span {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.floating-tag {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 15, 24, 0.7);
  backdrop-filter: blur(10px);
}

.tag-one {
  top: 52px;
  right: 36px;
  color: var(--accent-2);
}

.tag-two {
  bottom: 92px;
  left: 14px;
  color: var(--accent-3);
}

.tag-three {
  right: 70px;
  bottom: 40px;
  color: var(--accent);
}

.section {
  padding: 42px 0 18px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.intro-box {
  margin-top: 12px;
  padding: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.card-grid,
.project-grid {
  display: grid;
  gap: 20px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-weight: 800;
  background: rgba(124, 92, 255, 0.12);
  color: var(--accent-2);
}

.info-card h3,
.project-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.info-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.server-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  background: linear-gradient(180deg, rgba(17, 22, 27, 0.95), rgba(12, 15, 19, 0.9));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 30px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.server-card:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 252, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 36px rgba(0,0,0,0.24);
}

.server-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(138, 252, 0, 0.08);
  border: 1px solid rgba(138, 252, 0, 0.2);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  font-weight: 800;
}

.server-card h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}

.server-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.spec-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  color: var(--muted);
  font-size: 0.78rem;
}

.spec-list strong {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
}

.performance-main {
  padding-top: 40px;
}

.performance-hero {
  padding-bottom: 20px;
}

.performance-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.benchmark-wrap {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.benchmark-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 18, 21, 0.88);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.benchmark-item:hover {
  border-color: rgba(138, 252, 0, 0.28);
}

.benchmark-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.benchmark-item summary::-webkit-details-marker {
  display: none;
}

.benchmark-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 900;
}

.benchmark-item[open] summary::after {
  content: "−";
}

.benchmark-body {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 18px 20px;
}

.console-panel {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(12, 16, 20, 0.98), rgba(9, 12, 15, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}

.console-topbar {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.console-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.console-topbar span:nth-child(1) { background: #ff7676; }
.console-topbar span:nth-child(2) { background: #ffc857; }
.console-topbar span:nth-child(3) { background: #70eb9b; }

.console-lines {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: #dfe7f5;
}

.console-lines span {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.03);
  animation: consoleGlow 2.8s ease-in-out infinite alternate;
}

.full-benchmark {
  border-color: rgba(138, 252, 0, 0.18);
}

.benchmark-log {
  gap: 14px;
}

.terminal-block,
.terminal-table,
.terminal-grid {
  display: grid;
  gap: 8px;
}

.terminal-block {
  padding: 6px 0;
}

.terminal-subheader {
  padding-top: 10px;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.terminal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.terminal-grid span,
.terminal-block span {
  animation: consoleGlow 2.8s ease-in-out infinite alternate;
}

.terminal-table {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table-header {
  color: var(--accent-2);
  font-weight: 700;
  background: rgba(124, 92, 255, 0.08);
}

.table-row:last-child {
  border-bottom: none;
}

.network-table .table-header,
.network-table .table-row {
  grid-template-columns: 1.1fr 1.2fr 1fr 1fr 0.8fr;
}

.table-row span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 20px;
}

.summary-card {
  background: rgba(15, 19, 22, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.summary-card strong {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.summary-card small {
  color: var(--muted);
  font-size: 0.74rem;
}

.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(10, 14, 17, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 8px 0 20px;
}

.status-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-banner-left strong {
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}

.status-banner-left span {
  color: var(--muted);
}

.status-banner-message {
  color: var(--text);
  font-weight: 600;
}

.server-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.server-monitor-card {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 22, 27, 0.95), rgba(10, 14, 17, 0.9));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.server-monitor-card.online {
  border-color: rgba(138, 252, 0, 0.18);
}

.monitor-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(138, 252, 0, 0.7);
}

.server-monitor-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.status-history-panel {
  margin-top: 26px;
  background: rgba(15, 19, 22, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.history-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.history-item {
  display: grid;
  grid-template-columns: 126px 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.history-time {
  color: var(--muted);
  font-size: 0.8rem;
}

.history-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.history-mode.operational {
  background: rgba(138, 252, 0, 0.12);
  border: 1px solid rgba(138, 252, 0, 0.2);
  color: var(--accent);
}

.history-mode.degraded {
  background: rgba(255, 122, 24, 0.12);
  border: 1px solid rgba(255, 122, 24, 0.2);
  color: var(--accent-2);
}

.history-mode.maintenance {
  background: rgba(0, 209, 255, 0.12);
  border: 1px solid rgba(0, 209, 255, 0.2);
  color: var(--accent-3);
}

.history-mode.outages {
  background: rgba(255, 92, 92, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.2);
  color: #ff8d8d;
}

.history-item p {
  margin: 0;
  color: var(--muted);
}

@keyframes consoleGlow {
  0% { box-shadow: inset 0 0 0 rgba(138, 252, 0, 0); }
  100% { box-shadow: inset 0 0 12px rgba(138, 252, 0, 0.08); }
}

.status-page-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 40px;
}

.status-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(1280px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(10, 13, 16, 0.9);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.24);
  position: sticky;
  top: 0;
  z-index: 30;
}

.status-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.81rem;
}

.status-nav a {
  color: rgba(216, 227, 235, 0.72);
  text-decoration: none;
}

.status-nav a.active {
  color: #fff;
}

.status-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.secondary-btn,
.primary-btn {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.primary-btn {
  background: linear-gradient(135deg, rgba(138,252,0,0.16), rgba(98,150,255,0.12));
  border-color: rgba(138,252,0,0.3);
  color: #d6ffb5;
}

.status-portal {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding-top: 18px;
}

.status-hero {
  position: relative;
  text-align: center;
  padding: 36px 20px 26px;
  background:
    linear-gradient(180deg, rgba(16, 20, 24, 0.96), rgba(12, 17, 20, 0.96)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 32px
    );
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px 12px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.status-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(49, 216, 136, 0.12);
  border: 1px solid rgba(49, 216, 136, 0.3);
  color: #78f7b7;
  font-weight: 800;
}

.status-banner-pill.degraded {
  background: rgba(255, 168, 56, 0.12);
  border-color: rgba(255, 168, 56, 0.33);
  color: #ffc867;
}

.status-banner-pill.maintenance {
  background: rgba(66, 147, 255, 0.12);
  border-color: rgba(66, 147, 255, 0.33);
  color: #9ed0ff;
}

.status-banner-pill.outages {
  background: rgba(255, 92, 92, 0.12);
  border-color: rgba(255, 92, 92, 0.33);
  color: #ff9b9b;
}

.status-hero h1 {
  margin: 20px 0 8px;
  font-size: clamp(2.6rem, 4vw, 4.3rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 900;
  color: #e8f5ff;
}

.status-hero p {
  margin: 0;
  color: rgba(216, 227, 235, 0.66);
  font-size: 0.8rem;
}

.status-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(11, 16, 20, 0.95);
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.status-range {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(10, 16, 20, 0.96);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
  flex-wrap: wrap;
}

.range-btn {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: rgba(220,231,236,0.8);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  font-weight: 700;
  cursor: pointer;
}

.range-btn.active {
  background: rgba(138,252,0,0.1);
  border-color: rgba(138,252,0,0.25);
  color: #d9ffb4;
}

.summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: rgba(228, 235, 238, 0.8);
}

.summary-pill.success { border-color: rgba(49,216,136,0.24); color: #7ff0bd; }
.summary-pill.warning { border-color: rgba(255,188,77,0.24); color: #ffca78; }
.summary-pill.info { border-color: rgba(38,165,255,0.24); color: #8ecbff; }
.summary-pill.danger { border-color: rgba(255,93,93,0.24); color: #ff9b9b; }
.summary-pill.neutral { color: rgba(212, 220, 225, 0.8); }

.summary-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  padding: 0 6px;
  color: var(--text);
}

.status-board {
  background: rgba(13, 18, 22, 0.96);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.status-group {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.status-group:first-child {
  border-top: none;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.015);
  color: rgba(209, 218, 224, 0.9);
  text-transform: none;
  font-weight: 700;
  font-size: 0.86rem;
}

.group-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-square {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  font-size: 0.7rem;
  color: #a8b0ff;
  border-radius: 4px;
  background: rgba(174, 180, 255, 0.12);
  border: 1px solid rgba(174,180,255,0.18);
}

.group-toggle {
  color: rgba(216, 227, 235, 0.72);
  font-size: 0.76rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(190px, 2fr) minmax(180px, 1.4fr) minmax(180px, 1.4fr) minmax(120px, .8fr);
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  min-height: 56px;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.01);
  text-decoration: none;
}

.service-link {
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.service-link:hover {
  background: rgba(138, 252, 0, 0.04);
}

.service-head-row {
  background: rgba(255,255,255,0.015);
  color: rgba(199, 208, 214, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.service-name {
  color: rgba(234, 238, 241, 0.9);
  font-weight: 600;
  font-size: 0.88rem;
}

.service-name strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.service-url {
  display: block;
  margin-top: 3px;
  color: rgba(156, 170, 177, 0.8);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.type-pill,
.time-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(220,231,236,0.8);
}

.service-uptime,
.service-timeline {
  color: rgba(218,229,235,0.86);
  font-size: 0.8rem;
  font-weight: 600;
}

.mini-bars {
  display: inline-block;
  width: 120px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(61,255,169,0.18), rgba(61,255,169,0.6));
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}

.mini-bars::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.12) 0,
    rgba(255,255,255,0.12) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.6;
}

.mini-bars.success {
  background: linear-gradient(90deg, rgba(49,216,136,0.15), rgba(49,216,136,0.86));
}

.mini-bars.success.last {
  width: 100px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 102px;
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  font-weight: 800;
}

.status-badge.success {
  background: rgba(49,216,136,0.12);
  border: 1px solid rgba(49,216,136,0.24);
  color: #80f7be;
}

.status-badge.warning {
  background: rgba(255,168,56,0.12);
  border: 1px solid rgba(255,168,56,0.28);
  color: #ffca78;
}

.status-badge.info {
  background: rgba(66,147,255,0.1);
  border: 1px solid rgba(66,147,255,0.28);
  color: #9ccfff;
}

.status-badge.danger {
  background: rgba(255,92,92,0.1);
  border: 1px solid rgba(255,92,92,0.28);
  color: #ff9b9b;
}

.dot.small {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot.small.success { background: #46e39d; }
.dot.small.warning { background: #ffc857; }
.dot.small.info { background: #4db6ff; }
.dot.small.danger { background: #ff6b6b; }

@media (max-width: 960px) {
  .status-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .status-nav {
    flex-wrap: wrap;
  }

  .status-topbar-actions {
    justify-content: center;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .service-head-row {
    display: none;
  }
}

.status-group:not(:first-child) .service-head-row {
  display: none;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(30,224,197,0.09);
  border: 1px solid rgba(30,224,197,0.2);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.project-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.project-card a::after {
  content: "→";
  margin-left: 8px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding: 32px 0 16px;
  border-top: 1px solid var(--line);
}

.footer h2 {
  margin: 0;
  letter-spacing: -0.05em;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.copyright {
  width: 100%;
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-shell {
  padding-top: 38px;
}

.admin-intro {
  margin-bottom: 28px;
}

.admin-intro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.admin-panel,
.panel {
  background: rgba(15, 19, 22, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.admin-sections {
  display: grid;
  gap: 18px;
}

.admin-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
}

.admin-section summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e3f1ff;
  background: rgba(255,255,255,0.015);
}

.admin-section summary::-webkit-details-marker {
  display: none;
}

.admin-section[open] summary {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(10, 15, 18, 0.9);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.preview-panel {
  margin-top: 24px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.panel-header span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-box {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(8, 12, 15, 0.9);
  padding: 18px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.preview-header strong {
  font-size: 1.1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.status-pill.operational {
  background: rgba(138, 252, 0, 0.12);
  border: 1px solid rgba(138, 252, 0, 0.2);
  color: var(--accent);
}

.status-pill.degraded {
  background: rgba(255, 122, 24, 0.12);
  border: 1px solid rgba(255, 122, 24, 0.2);
  color: var(--accent-2);
}

.status-pill.maintenance {
  background: rgba(0, 209, 255, 0.12);
  border: 1px solid rgba(0, 209, 255, 0.2);
  color: var(--accent-3);
}

.status-pill.outages {
  background: rgba(255, 92, 92, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.2);
  color: #ff8d8d;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.preview-metric {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-metric span {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-metric strong {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.preview-box p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .card-grid,
  .project-grid,
  .about-grid,
  .admin-grid,
  .preview-grid,
  .server-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 420px;
  }

  .stats {
    gap: 20px 24px;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 14px;
  }

  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 14vw, 3.5rem);
  }

  .lead {
    font-size: 1rem;
  }

  .stats {
    gap: 16px;
  }

  .stats li {
    min-width: 0;
    flex: 1 1 44%;
  }

  .screen-card {
    min-height: 300px;
  }

  .floating-tag {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .button {
    width: 100%;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
