/* Documentation Pages Styling */

.docs-header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.docs-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.docs-brand:hover {
  opacity: 0.8;
}

.docs-logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.docs-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.docs-content {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.docs-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
}

.docs-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-family: "Montserrat", sans-serif;
}

.docs-section {
  margin-bottom: 2.5rem;
}

.docs-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.docs-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
}

.docs-section p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.docs-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.docs-section li {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.docs-section li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

.docs-section strong {
  color: var(--accent);
  font-weight: 600;
}

.docs-footer-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.docs-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
  font-family: "Montserrat", sans-serif;
}

.docs-link:hover {
  opacity: 0.7;
}

/* Landing Page Footer */
.landing-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: "Montserrat", sans-serif;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover {
  color: var(--accent);
  background: rgba(138, 43, 226, 0.08);
}

.footer-separator {
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .docs-header {
    padding: 1rem 1.5rem;
  }

  .docs-brand {
    font-size: 1.2rem;
  }

  .docs-logo {
    width: 1.5rem;
    height: 1.5rem;
  }

  .docs-container {
    padding: 2rem 1.5rem;
  }

  .docs-content h1 {
    font-size: 2rem;
  }

  .docs-section h2 {
    font-size: 1.5rem;
  }

  .docs-section h3 {
    font-size: 1.2rem;
  }

  .docs-footer-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }
}
