:root {
  --bg: #111316;
  --panel: #1b1f27;
  --panel-light: #222735;
  --text: #e6e8eb;
  --muted: #a9afc0;
  --blue: #1f5eff;
  --blue-dark: #163fba;
  --border: rgba(255,255,255,0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  background: rgba(17,19,22,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-links a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

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

.nav-btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.nav-btn:hover {
  background: var(--blue-dark);
}

/* HERO */
.hero {
  padding: 80px 20px 40px;
}

.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 14px 0;
}

.hero-text p {
  color: var(--muted);
  max-width: 520px;
}

.tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-actions {
  margin-top: 22px;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
}

.primary {
  background: var(--blue);
  color: white;
}

.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* SECTIONS */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px;
}

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

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* CARDS */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
  color: var(--muted);
}

/* IMAGES */
.image-card img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* CODE */
pre {
  background: var(--panel-light);
  padding: 14px;
  border-radius: 12px;
  overflow-x: auto;
}

/* FOOTER */
.footer {
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .grid,
  .grid.three {
    grid-template-columns: 1fr;
  }
}
