:root {
  --bg-color: #0b0f19;
  --bg-card: #131b2e;
  --bg-alt: #0e1424;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --border: #1f293d;
  --online: #10b981;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 8px;
  box-shadow: 0 0 10px var(--primary);
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text-main); }
.btn-primary {
  background: var(--primary);
  color: white !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
}
.btn-primary:hover { background: var(--primary-hover); }

.hero {
  padding: 90px 0 70px;
  text-align: center;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--text-muted); }

.section { padding: 80px 0; }
.bg-alt { background-color: var(--bg-alt); }
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: 12px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.status-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.status-row {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.status-row:last-child { border-bottom: none; }
.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 16px;
}
.status-indicator.online {
  background: var(--online);
  box-shadow: 0 0 8px var(--online);
}
.status-col.name { font-weight: 600; width: 35%; }
.status-col.type { color: var(--text-muted); width: 30%; }
.status-col.ping { font-family: monospace; color: #60a5fa; width: 20%; }
.status-col.state { color: var(--online); font-weight: 500; width: 15%; text-align: right; }

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
}
.footer-links a:hover { color: var(--text-main); }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .header-container { flex-direction: column; gap: 16px; }
  .nav a { margin: 0 10px; }
  .status-col.type { display: none; }
  .footer-container { flex-direction: column; gap: 16px; text-align: center; }
}
