

.help-page {
  position: relative;
  padding: 40px 0 64px;
  background-color: var(--surface-1);
  overflow: hidden;
}

.help-page .container {
  position: relative;
  z-index: 1;
}

.help-bg-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(15, 23, 31, 0.08) 0, transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(42, 76, 102, 0.16) 0, transparent 42%),
    radial-gradient(circle at 60% 96%, rgba(21, 32, 43, 0.08) 0, transparent 50%),
    linear-gradient(180deg, var(--surface-1) 0%, #fff 100%);
  pointer-events: none;
}


.help-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.help-breadcrumb a {
  color: var(--brand-secondary-2);
  font-weight: 500;
}

.help-breadcrumb a:hover {
  color: var(--brand-primary);
}

.help-breadcrumb i {
  font-size: 0.75rem;
}


.help-hero {
  text-align: center;
  margin-bottom: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.help-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(15, 23, 31, 0.10);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.help-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-secondary);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.help-hero > p {
  margin: 0 auto 22px;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.55;
}


.help-search {
  position: relative;
  max-width: 580px;
  margin: 0 auto 18px;
}

.help-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.help-search-input {
  width: 100%;
  height: 60px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background-color: #fff;
  color: var(--brand-secondary);
  font-size: 1rem;
  padding: 0 56px 0 56px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-search-input::placeholder {
  color: #9aa1ad;
}

.help-search-input:hover {
  border-color: #cdd3da;
}

.help-search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 6px rgba(15, 23, 31, 0.10);
}

.help-search:focus-within .help-search-icon {
  color: var(--brand-primary);
}

.help-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: var(--surface-1);
  color: var(--brand-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.help-search-clear:hover {
  background-color: var(--brand-primary);
  color: #fff;
}


.help-hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 0.85rem;
  color: var(--brand-secondary);
}

.help-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.help-hero-stats i {
  color: var(--brand-primary);
  font-size: 0.95rem;
}


.help-section-head {
  margin-bottom: 18px;
}

.help-section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin: 0 0 4px;
}

.help-section-head h2 i {
  color: var(--brand-primary);
}

.help-section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}


.help-popular {
  margin-bottom: 36px;
}

.help-popular-card {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px;
  background-color: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--brand-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.help-popular-card:hover {
  border-color: rgba(15, 23, 31, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--brand-secondary);
}

.help-popular-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(15, 23, 31, 0.10);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.help-popular-text {
  flex: 1;
  min-width: 0;
}

.help-popular-arrow {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.help-popular-card:hover .help-popular-arrow {
  color: var(--brand-primary);
  transform: translateX(3px);
}


.help-popular.is-search-active {
  display: none;
}


.help-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -8px 28px;
  padding: 12px 8px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-nav.is-stuck {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.help-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background-color: #fff;
  color: var(--brand-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.help-nav-pill i {
  font-size: 0.95rem;
  color: var(--brand-primary);
  transition: color 0.2s ease;
}

.help-nav-pill:hover {
  border-color: rgba(15, 23, 31, 0.45);
  color: var(--brand-primary);
}

.help-nav-pill.is-active {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.help-nav-pill.is-active i {
  color: #fff;
}


.help-category {
  scroll-margin-top: 88px;
  margin-bottom: 36px;
}

.help-category.is-hidden {
  display: none;
}

.help-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.help-category-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(15, 23, 31, 0.10);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.help-category-head h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-secondary);
  margin: 0 0 2px;
}

.help-category-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}


.help-accordion {
  --bs-accordion-bg: #fff;
  --bs-accordion-border-color: var(--border-soft);
  --bs-accordion-border-radius: var(--radius-md);
  --bs-accordion-inner-border-radius: var(--radius-md);
  --bs-accordion-btn-padding-x: 18px;
  --bs-accordion-btn-padding-y: 16px;
  --bs-accordion-btn-color: var(--brand-secondary);
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-btn-focus-border-color: var(--brand-primary);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 4px rgba(15, 23, 31, 0.12);
  --bs-accordion-active-color: var(--brand-secondary);
  --bs-accordion-active-bg: #fff;
  --bs-accordion-color: var(--brand-secondary);
  --bs-accordion-body-padding-x: 18px;
  --bs-accordion-body-padding-y: 18px;

  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: #fff;
  overflow: hidden;
}

.help-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  background-color: #fff;
  position: relative;
}

.help-accordion .accordion-item:last-child {
  border-bottom: 0;
}

.help-accordion .accordion-item.is-hidden {
  display: none;
}

.help-accordion .accordion-button {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-secondary);
  border-radius: 0 !important;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.help-accordion .accordion-button:hover {
  color: var(--brand-primary);
}

.help-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background-color: rgba(15, 23, 31, 0.04);
  box-shadow: none;
}

.help-accordion .accordion-button:not(.collapsed)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--brand-primary);
}

.help-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236b7480' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  width: 14px;
  height: 14px;
  background-size: 14px 14px;
  transition: transform 0.2s ease;
}

.help-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%239f1e33' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}

.help-accordion .accordion-body {
  color: var(--brand-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.help-accordion .accordion-body p {
  margin: 0 0 10px;
}

.help-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.help-accordion .accordion-body ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.help-accordion .accordion-body ul:last-child {
  margin-bottom: 0;
}

.help-accordion .accordion-body ul li {
  margin-bottom: 4px;
}

.help-accordion .accordion-body ul li:last-child {
  margin-bottom: 0;
}

.help-accordion .accordion-body ul li::marker {
  color: var(--brand-primary);
}

.help-accordion .accordion-body code {
  background-color: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 1px 6px;
  font-size: 0.85em;
  color: var(--brand-secondary);
}


.help-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.help-inline-link:hover {
  color: var(--brand-secondary);
  gap: 10px;
}

.help-inline-link i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.help-inline-link:hover i {
  transform: translateX(2px);
}


.help-empty {
  background-color: #fff;
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  margin: 28px 0 36px;
}

.help-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: rgba(15, 23, 31, 0.10);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.help-empty h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin: 0 0 6px;
  word-break: break-word;
}

.help-empty p {
  margin: 0 auto 18px;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.help-empty-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.help-empty-actions .btn {
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}


.help-cta {
  margin-top: 28px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 0%, rgba(15, 23, 31, 0.32) 0, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(42, 76, 102, 0.45) 0, transparent 55%),
    linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow-lg);
}

.help-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.help-cta-body {
  flex: 1;
  min-width: 0;
}

.help-cta-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
}

.help-cta-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.help-cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.help-cta-actions .btn {
  height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.help-cta-actions .btn-outline-accent {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.help-cta-actions .btn-outline-accent:hover {
  background-color: #fff;
  color: var(--brand-primary);
  border-color: #fff;
}


@media (max-width: 991.98px) {
  .help-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .help-nav::-webkit-scrollbar {
    display: none;
  }

  .help-cta {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 22px;
  }

  .help-cta-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .help-page {
    padding: 24px 0 56px;
  }

  .help-hero {
    margin-bottom: 28px;
  }

  .help-hero h1 {
    font-size: 1.6rem;
  }

  .help-hero > p {
    font-size: 0.92rem;
  }

  .help-search-input {
    height: 52px;
    font-size: 0.95rem;
    padding-left: 48px;
    padding-right: 48px;
  }

  .help-search-icon {
    left: 18px;
    font-size: 1rem;
  }

  .help-search-clear {
    width: 32px;
    height: 32px;
    right: 10px;
  }

  .help-hero-stats {
    gap: 14px;
    font-size: 0.78rem;
  }

  .help-category-head {
    gap: 12px;
  }

  .help-category-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    border-radius: var(--radius-md);
  }

  .help-category-head h2 {
    font-size: 1.15rem;
  }

  .help-cta-body h2 {
    font-size: 1.2rem;
  }

  .help-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .help-empty {
    padding: 28px 18px;
  }

  .help-empty-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
