/* ==========================================================================
   Help Center Page Styles
   ========================================================================== */

/* Hero Section
   ========================================================================== */

.hero-help-center {
  position: relative;
  padding: 128px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 247, 242, 1) 50%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.hero-help-center::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(158, 0, 49, 0.05) 0%, rgba(0, 0, 0, 0) 50%, rgba(158, 0, 49, 0.1) 100%);
  pointer-events: none;
}

.hero-help-center__content {
  position: relative;
  max-width: 1216px;
  margin: 0 auto;
  text-align: center;
}

.hero-help-center__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 60px;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

.hero-help-center__highlight {
  color: #9E0031;
}

.hero-help-center__description {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.625;
  color: #4A5565;
  max-width: 896px;
  margin: 0 auto 60px;
}

/* Search Input */
.hero-help-center__search {
  position: relative;
  max-width: 672px;
  margin: 0 auto;
}

.hero-help-center__search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.hero-help-center__search-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.257;
  color: #0A0A0A;
  background: #FFFFFF;
  border: 1px solid #D1D5DC;
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-help-center__search-input::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.hero-help-center__search-input:focus {
  outline: none;
  border-color: #9E0031;
  box-shadow: 0 0 0 3px rgba(158, 0, 49, 0.1);
}

/* Help Topics Section
   ========================================================================== */

.section--help-topics {
  padding: 80px 0;
  background: #FFFFFF;
}

.help-topics__header {
  text-align: center;
  margin-bottom: 64px;
}

.help-topics__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.111;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.help-topics__description {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #4A5565;
}

.help-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1216px;
  margin: 0 auto;
}

/* Topic Card
   ========================================================================== */

.topic-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.topic-card__icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(158, 0, 49, 0.1);
  border-radius: 14px;
}

.topic-card__icon {
  width: 24px;
  height: 24px;
}

.topic-card__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin: 0;
}

.topic-card__description {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #4A5565;
  flex-grow: 1;
  margin: 0;
}

.topic-card__cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* Button variant for topic cards */
.btn--outline-secondary {
  background: transparent;
  color: #364153;
  border: 2px solid #D1D5DC;
  padding: 10px 18px;
  font-family: var(--font-family-primary);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.429;
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

/* Removed duplicate .btn--outline-secondary:hover - now in components.css */

/* FAQ Help Center Section
   ========================================================================== */

.section--faq-help-center {
  padding: 80px 0;
  background: #F7F7F2;
}

.faq-help-center__header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-help-center__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.111;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.faq-help-center__description {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #4A5565;
}

.faq-help-center__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 832px;
  margin: 0 auto;
}

/* FAQ Card Simple
   ========================================================================== */

.faq-card-simple {
  background: #F7F7F2;
  border-radius: 16px;
  padding: 32px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card-simple__question {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin: 0;
}

.faq-card-simple__answer {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #4A5565;
  padding-bottom: 32px;
  margin: 0;
}

/* Contact Support CTA Section
   ========================================================================== */

.section--contact-support-cta {
  padding: 80px 0;
  background: #FFFFFF;
}

.contact-support-cta__content {
  text-align: center;
  max-width: 832px;
  margin: 0 auto;
}

.contact-support-cta__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.111;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.contact-support-cta__description {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #4A5565;
  margin-bottom: 32px;
}

.contact-support-cta__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .help-topics__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-help-center {
    padding: 96px 0;
  }

  .hero-help-center__title {
    font-size: 36px;
  }

  .hero-help-center__description {
    font-size: 18px;
    margin-bottom: 48px;
  }

  .hero-help-center__search-input {
    font-size: 16px;
  }

  .section--help-topics {
    padding: 64px 0;
  }

  .help-topics__header {
    margin-bottom: 48px;
  }

  .help-topics__title {
    font-size: 30px;
  }

  .help-topics__description {
    font-size: 18px;
  }

  .help-topics__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section--faq-help-center {
    padding: 64px 0;
  }

  .faq-help-center__header {
    margin-bottom: 48px;
  }

  .faq-help-center__title {
    font-size: 30px;
  }

  .faq-help-center__description {
    font-size: 18px;
  }

  .section--contact-support-cta {
    padding: 64px 0;
  }

  .contact-support-cta__title {
    font-size: 30px;
  }

  .contact-support-cta__description {
    font-size: 18px;
  }

  .contact-support-cta__cta {
    width: 100%;
    justify-content: center;
  }

  .faq-card-simple {
    padding: 24px 24px 0;
  }

  .faq-card-simple__answer {
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-help-center__title {
    font-size: 28px;
  }

  .hero-help-center__description {
    font-size: 16px;
  }

  .help-topics__title,
  .faq-help-center__title,
  .contact-support-cta__title {
    font-size: 24px;
  }

  .help-topics__description,
  .faq-help-center__description,
  .contact-support-cta__description {
    font-size: 16px;
  }

  .topic-card {
    padding: 24px;
  }
}
