/* docs.css - Extracted from inline styles */

html { scroll-behavior: smooth; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(30,27,75,.45), transparent 65%);
}

.starfield::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  filter: blur(90px);
  background: radial-gradient(circle at 20% 20%, rgba(79,70,229,.28), transparent 50%),
              radial-gradient(circle at 80% 30%, rgba(236,72,153,.24), transparent 50%);
}

.docs-nav {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.docs-nav::-webkit-scrollbar { width: 4px; }
.docs-nav::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); }
.docs-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 2px; }

.docs-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: #94a3b8;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.docs-nav a:hover,
.docs-nav a.active {
  color: #e2e8f0;
  border-left-color: #6366f1;
  background-color: rgba(99, 102, 241, 0.1);
}

.docs-content { max-width: 800px; }

.docs-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  letter-spacing: -0.02em;
}

.docs-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.docs-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.docs-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.docs-content ul,
.docs-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #cbd5e1;
}

.docs-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.docs-content code {
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
  font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
  font-size: 0.875em;
  color: #c4b5fd;
}

.docs-content pre {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.docs-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: #e2e8f0;
}

.feature-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.2);
}

.alert {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1.5px solid;
}

.alert-info {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}
