@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Main Help Center Wrapper */
.help-center-page {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Hero Section */
.hc-hero {
  background: #fff;
  color: #1e293b;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.hc-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hc-hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hc-search-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.hc-search-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.25rem;
}

.hc-search-input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border-radius: 50px;
  border: none;
  font-size: 1.125rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: box-shadow 0.3s ease;
}

.hc-search-input:focus {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Container */
.hc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Section Titles */
.hc-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #0f172a;
}

/* Quick Guides */
.hc-guides {
  margin-bottom: 60px;
}

.hc-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hc-guide-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.hc-guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.hc-guide-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.hc-guide-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 15px;
  flex-grow: 1;
}

.hc-btn-download {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  background: #eff6ff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hc-guide-card:hover .hc-btn-download {
  background: #dbeafe;
}

/* FAQ / Knowledge Base */
.hc-faq-category {
  margin-bottom: 40px;
}

.hc-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-accordion {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.hc-accordion-item {
  border-bottom: 1px solid #e2e8f0;
}

.hc-accordion-item:last-child {
  border-bottom: none;
}

.hc-accordion-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.0625rem;
  transition: background 0.3s ease;
  user-select: none;
}

.hc-accordion-header:hover {
  background: #f8fafc;
}

.hc-accordion-header i {
  color: #64748b;
  transition: transform 0.3s ease;
}

.hc-accordion-item.active .hc-accordion-header {
  color: var(--color-primary);
}

.hc-accordion-item.active .hc-accordion-header i {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.hc-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: #fafafa;
}

.hc-accordion-item.active .hc-accordion-content {
  max-height: 2000px;
  transition: max-height 0.4s ease-in-out;
}

.hc-content-inner {
  padding: 0 25px 25px;
  color: #475569;
  line-height: 1.6;
}

.hc-content-inner p {
  margin-bottom: 10px;
}

.hc-content-inner ul, .hc-content-inner ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.hc-content-inner li {
  margin-bottom: 5px;
}

.hc-content-inner strong {
  color: #1e293b;
}

/* Empty State Search */
.hc-no-results {
  text-align: center;
  padding: 40px;
  display: none;
  color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
  .hc-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hc-guides-grid {
    grid-template-columns: 1fr;
  }
  .hc-hero {
    padding: 60px 15px;
  }
  .hc-hero h1 {
    font-size: 2rem;
  }
  .hc-accordion-header {
    font-size: 1rem;
    padding: 15px 20px;
  }
}
