:root {
  --bg: #0f1115;
  --card: #171a21;
  --text: #e6e6e6;
  --muted: #9da3af;
  --accent: #4f46e5;
  --accent-hover: #6366f1;
  --border: #262b35;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--text);
}

.logo {
  font-weight: 600;
  font-size: 1.1rem;
}

.hero {
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.buttons .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.5rem;
}

.primary {
  background: var(--accent);
  color: white;
}

.primary:hover {
  background: var(--accent-hover);
}

.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.secondary:hover {
  border-color: var(--accent);
}

.features {
  padding: 4rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.security {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.security p {
  color: var(--muted);
  margin-top: 1rem;
}

.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a {
  margin: 0 1rem;
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}
html {
  scroll-behavior: smooth;
}

img.responsive {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.section {
  padding: 4rem 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
  }

  .nav nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}
/* Subtle background glow */
.glow {
  position: relative;
}

.glow::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* Animated nav underline */
.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Page fade */
.page-transition {
  animation: pageFade 0.4s ease;
}

@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Command block styling */
pre {
  background: #0c0e12;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow-x: auto;
}

code {
  color: #a5b4fc;
  font-family: monospace;
  font-size: 0.85rem;
}

/* Matrix ID box */
.matrix-id-box {
  margin-top: 2rem;
  background: var(--card);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: inline-flex;
  gap: 1rem;
  align-items: center;
}

.matrix-id-box button {
  background: var(--accent);
  border: none;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}

.matrix-id-box button:hover {
  background: var(--accent-hover);
}

.border-top {
  border-top: 1px solid var(--border);
}
.btn.large {
  font-size: 1rem;
  padding: 1rem 2rem;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid #1f1f1f;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 38px;
}

.navbar a {
  color: #aaa;
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
}

.navbar a:hover {
  color: #fff;
}
.status-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.monitor-card {
  background: #111;
  border: 1px solid #1f1f1f;
  padding: 20px;
  border-radius: 12px;
  color: #eaeaea;
}

.monitor-card h4 {
  margin-top: 0;
  margin-bottom: 10px;
}
