/* Help Center Page Specific Style Layers */
.help-center-page {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
}

.h-container {
	position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero & Search Elements */
.help-hero {
	position: relative;
  padding: 8rem 0 5rem 0;
  text-align: center;
  background: linear-gradient(180deg, #0b132b 0%, #070b13 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.help-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 2rem;
}

.help-search-box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 680px;
  margin: 0 auto 1.5rem auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  transition: var(--transition);
}

.help-search-box:focus-within {
  border-color: var(--accent-teal);
  box-shadow: 0 0 25px rgba(0, 242, 205, 0.05);
}

.search-icon {
  margin-right: 1rem;
}

.help-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  width: 100%;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.hot-topics {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hot-topics a {
  color: var(--accent-teal);
  text-decoration: none;
  margin-left: 0.75rem;
  transition: var(--transition);
}

.hot-topics a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* Category Support Cards Grid */
.help-categories {
  padding: 5rem 0;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.help-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition);
}

.help-card:hover {
  border-color: rgba(0, 242, 205, 0.15);
  transform: translateY(-4px);
}

.help-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.help-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.help-link {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Accordion FAQs Panel */
.help-faqs {
  padding: 2rem 0 6rem 0;
}

.faq-section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  color: var(--accent-teal);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 1.5rem;
}

/* Open Interactive States managed by JS class injection */
.faq-item.active .faq-content {
  max-height: 200px; /* Expands open safely */
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* Flips + into an x indicator */
}

/* Support Escalation Footer Block */
.help-escalation {
  padding: 4rem 0 8rem 0;
}

.escalation-box {
  background: #ffffff;
  color: #070b13;
  padding: 4rem;
  border-radius: 24px;
  text-align: center;
}

.escalation-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.escalation-box p {
  color: #4b5563;
  max-width: 550px;
  margin: 0 auto 2.5rem auto;
  font-size: 1rem;
  line-height: 1.5;
}

.escalation-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.escalation-actions .btn-outline {
  color: #070b13;
  border-color: rgba(7, 11, 19, 0.2);
}

.escalation-actions .btn-outline:hover {
  background: rgba(7, 11, 19, 0.05);
  border-color: #070b13;
}


/*///////////////////////////////////////////////*/
/*///////////////////////////////////////////////*/

/* Support Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 19, 0.6); /* Translucent base background mask */
  backdrop-filter: blur(8px);
  z-index: 10000; /* Overrides the scroll progress bar layer */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Modal Entry Open State Trigger Class */
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #111827; /* Deep card background */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  width: 90%;
  max-width: 640px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-window {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 1rem;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.close-modal-btn:hover {
  color: var(--accent-teal);
}

/* Internal Form Elements Layout */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-teal);
  background: #111827;
}

/* Buttons and Interactions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1.5rem;
}

.btn-cancel {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-cancel:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.btn-submit-ticket {
  background: var(--accent-white);
  color: #070b13;
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit-ticket:hover {
  background: var(--accent-teal);
  box-shadow: 0 0 15px rgba(0, 242, 205, 0.2);
}

/* Responsiveness Adaptations */
@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .modal-window {
    padding: 1.5rem;
  }
}

/* Responsiveness Adaptations */
@media (max-width: 992px) {
  .help-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .escalation-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .escalation-box {
    padding: 3rem 1.5rem;
  }
}