:root {
  --brand-primary: #2d6bff;
  --brand-primary-hover: #1a56e8;
  --brand-light: #eef3ff;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Base Utility Classes & Custom Components */
.brand-bg { background-color: var(--brand-primary) !important; }
.brand-text { color: var(--brand-primary) !important; }
.brand-border { border-color: var(--brand-primary) !important; }

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 107, 255, 0.25);
}

.btn-light {
  background-color: #ffffff !important;
  color: #2d6bff !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.btn-light:hover {
  background-color: #f8fafc !important;
  color: #1a56e8 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.doc-content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}
.doc-content h1, .doc-content h2, .doc-content h3, .doc-content h4 {
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}
.doc-content h1 { font-size: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.doc-content h2 { font-size: 1.5rem; }
.doc-content h3 { font-size: 1.25rem; }
.doc-content p { margin-bottom: 1.2rem; }
.doc-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.doc-content blockquote {
  border-left: 4px solid var(--brand-primary);
  background-color: var(--brand-light);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  font-style: italic;
}
.doc-content code {
  background-color: #f1f5f9;
  color: #0f172a;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: monospace;
}
.doc-content pre {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 1.25rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* Fast Responsive YouTube Video Embed Container */
.video-embed-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}
.video-embed-container iframe,
.video-embed-container embed,
.video-embed-container object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-open { background-color: #dbeafe; color: #1e40af; }
.badge-in_progress { background-color: #fef3c7; color: #92400e; }
.badge-resolved { background-color: #dcfce7; color: #166534; }
.badge-closed { background-color: #f1f5f9; color: #475569; }
.badge-high { background-color: #fee2e2; color: #991b1b; }
.badge-medium { background-color: #ffedd5; color: #9a3412; }
.badge-low { background-color: #f3f4f6; color: #374151; }
