:root {
  --bg: #0f1115;
  --bg-light: #171a21;
  --card: #1f2430;
  --primary: #7a5cfa;
  --text: #e5e7eb;
  --muted: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

#end-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: var(--bg-light);
  border-bottom: 1px solid #2a2f3a;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'VT323', monospace;
  font-size: 1.8rem;
  color: var(--primary);
}

.nav-left img {
  width: 32px;
  image-rendering: pixelated;
}

nav a {
  margin-left: 25px;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--primary);
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px,-6px);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 120px 60px;
}

.hero h1 {
  font-family: 'VT323', monospace;
  font-size: 6rem;
  color: var(--primary);
}

.subtitle {
  color: var(--muted);
  margin: 20px 0 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: var(--primary);
  color: white;
}

.secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* SECTIONS */
.section {
  padding: 100px 60px;
}

.section h2 {
  font-family: 'VT323', monospace;
  font-size: 3rem;
  margin-bottom: 50px;
}

.dark {
  background: var(--bg-light);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 30px;
}

.card {
  background: var(--card);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #2a2f3a;
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(122,92,250,0.25);
}

.step span {
  font-family: 'VT323', monospace;
  font-size: 3rem;
  color: var(--primary);
}

/* COMMANDS */
.commands-box {
  background: #0b0d12;
  padding: 30px;
  border-radius: 12px;
  font-family: monospace;
  color: #a5b4fc;
}

/* FOOTER */
footer {
  padding: 40px;
  text-align: center;
  background: #0b0d12;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-light);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s;
  }

  nav.open {
    max-height: 300px;
  }

  nav a {
    padding: 15px 0;
    margin: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}
