/* ── SHARED COMPONENTS ─────────────────────────────────────────── */

/* ── HEADER COMPONENT ─────────────────────────────────────────── */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--brand);
}

/* ── BUTTON COMPONENTS ─────────────────────────────────────────── */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: var(--border-light);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--text);
}

/* ── RESPONSIVE DESIGN ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 1rem;
    height: var(--header-height-mobile);
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .markdown-body {
    font-size: 14px !important;
  }
}
