/* Help Center — Themed Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--hc-font, 'Inter', sans-serif);
  color: #1a1a2e;
  background: #f8f9fa;
  line-height: 1.6;
}

/* Header */
.hc-header {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hc-header-dark { background: #1a1a2e; color: white; }
.hc-header-light { background: white; color: #1a1a2e; border-bottom: 1px solid #e5e7eb; }
.hc-header-transparent { background: transparent; color: white; position: absolute; width: 100%; z-index: 10; }
.hc-logo { height: 36px; object-fit: contain; }
.hc-logo-text { font-size: 1.25rem; font-weight: 700; }
.hc-go-to-website {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hc-header-dark .hc-go-to-website { background: rgba(255,255,255,0.15); color: white; }
.hc-header-dark .hc-go-to-website:hover { background: rgba(255,255,255,0.25); }
.hc-header-light .hc-go-to-website { background: var(--hc-brand); color: white; }
.hc-header-light .hc-go-to-website:hover { opacity: 0.9; }
.hc-header-transparent .hc-go-to-website { background: rgba(255,255,255,0.15); color: white; }
.hc-header-transparent .hc-go-to-website:hover { background: rgba(255,255,255,0.25); }

/* Hero */
.hc-hero {
  background: var(--hc-brand, #4f46e5);
  color: white;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.hc-hero-with-image {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hc-hero-with-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hc-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hc-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.hc-hero p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; }

/* Search */
.hc-search {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.hc-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hc-search input:focus { outline: 2px solid var(--hc-brand); }
.hc-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

/* Categories */
.hc-container { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; }
.hc-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.hc-categories-list { display: flex; flex-direction: column; gap: 1rem; }
.hc-category-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.hc-category-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.hc-category-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.hc-category-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.hc-category-card p { font-size: 0.875rem; color: #6b7280; }
.hc-category-card .count { font-size: 0.75rem; color: #9ca3af; margin-top: 0.5rem; }

/* Article List */
.hc-article-list { list-style: none; }
.hc-article-list li { border-bottom: 1px solid #e5e7eb; }
.hc-article-list a {
  display: block;
  padding: 1rem 0;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 1rem;
}
.hc-article-list a:hover { color: var(--hc-brand); }

/* Article Detail */
.hc-article { max-width: 800px; margin: 0 auto; padding: 2rem; }
.hc-article h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }
.hc-article-body { font-size: 1rem; line-height: 1.8; }
.hc-article-body h2 { font-size: 1.5rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.hc-article-body h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.hc-article-body p { margin-bottom: 1rem; }
.hc-article-body ul, .hc-article-body ol { margin: 0.5rem 0 1rem 1.5rem; }
.hc-article-body img { max-width: 100%; border-radius: 0.5rem; margin: 1rem 0; }
.hc-article-body pre { background: #1e1e1e; color: #d4d4d4; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin: 1rem 0; }
.hc-article-body code { background: #f3f4f6; padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 0.875rem; }
.hc-article-body pre code { background: none; padding: 0; }
.hc-article-body blockquote { border-left: 3px solid var(--hc-brand); padding-left: 1rem; color: #6b7280; margin: 1rem 0; }
.hc-article-body a { color: var(--hc-brand); }

/* Breadcrumb */
.hc-breadcrumb { font-size: 0.875rem; color: #6b7280; margin-bottom: 1.5rem; }
.hc-breadcrumb a { color: var(--hc-brand); text-decoration: none; }

/* Feedback */
.hc-feedback {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.hc-feedback p { margin-bottom: 0.75rem; color: #6b7280; }
.hc-feedback button {
  padding: 0.5rem 1.5rem;
  margin: 0 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  font-size: 0.875rem;
}
.hc-feedback button:hover { border-color: var(--hc-brand); }
.hc-feedback button.active { background: var(--hc-brand); color: white; border-color: var(--hc-brand); }

/* Footer */
.hc-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
  color: #9ca3af;
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
}

/* Search Results */
.hc-search-results {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 1rem auto 0;
  overflow: hidden;
}
.hc-search-results a {
  display: block;
  padding: 0.75rem 1rem;
  color: #1a1a2e;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
}
.hc-search-results a:hover { background: #f9fafb; }
.hc-search-results .category { font-size: 0.75rem; color: #9ca3af; }

/* Responsive */
@media (max-width: 768px) {
  .hc-hero h1 { font-size: 1.75rem; }
  .hc-categories-grid { grid-template-columns: 1fr; }
  .hc-article { padding: 1rem; }
}

/* Powered by badge */
.hc-powered-by {
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
}
.hc-powered-by a { color: #6b7280; text-decoration: none; }
