/**
 * Lumière — المساعدة (HelpPage.tsx)
 */

.lm-help-page {
  background: #fff;
  min-height: 100vh;
  padding-bottom: 5rem;
  direction: rtl;
}

.lm-help-page__head {
  background: #fbf7ee;
  border-bottom: 1px solid rgba(180, 150, 100, 0.2);
  padding: 3.25rem 1.25rem 1.25rem;
}

.lm-help-page__title {
  margin: 0 0 0.375rem;
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--lm-fg);
}

.lm-help-page__title em {
  color: var(--lm-primary);
  font-style: italic;
}

.lm-help-page__lead {
  margin: 0;
  color: var(--lm-muted);
  font-size: 0.75rem;
}

.lm-help-page__body {
  padding: 1.25rem;
}

.lm-help-page__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.lm-help-page__channel {
  background: #fbf7ee;
  border: 1px solid rgba(201, 169, 110, 0.15);
  padding: 1rem 0.5rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  transition: background 0.15s;
}

.lm-help-page__channel:hover {
  background: rgba(201, 169, 110, 0.08);
}

.lm-help-page__channel-icon {
  display: flex;
}

.lm-help-page__channel-icon--gold { color: var(--lm-primary); }
.lm-help-page__channel-icon--mint { color: #6ee7b7; }
.lm-help-page__channel-icon--violet { color: #c4b5fd; }

.lm-help-page__channel-label {
  color: var(--lm-fg);
  font-size: 0.75rem;
}

.lm-help-page__channel-sub {
  color: var(--lm-muted);
  font-size: 0.5625rem;
}

.lm-help-page__chat {
  background: linear-gradient(135deg, #fbf7ee, #f5edd8);
  border: 1px solid rgba(180, 150, 100, 0.3);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 18, 9, 0.06);
}

.lm-help-page__chat-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lm-primary), transparent);
}

.lm-help-page__chat-copy {
  flex: 1;
}

.lm-help-page__chat-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--lm-primary);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
}

.lm-help-page__chat-title {
  margin: 0 0 0.25rem;
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--lm-fg);
}

.lm-help-page__chat-body {
  margin: 0;
  color: var(--lm-muted);
  font-size: 0.6875rem;
  line-height: 1.6;
}

.lm-help-page__chat-btn {
  background: linear-gradient(135deg, var(--lm-primary), #e8c98e);
  border: none;
  color: #0a0608;
  padding: 0.75rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.lm-help-page__faq-label {
  margin: 0 0 0.875rem;
  color: var(--lm-primary);
  font-size: 0.5625rem;
  letter-spacing: 0.25em;
}

.lm-help-page__faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(201, 169, 110, 0.15);
}

.lm-help-page__faq-item {
  background: #fbf7ee;
}

.lm-help-page__faq-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 1.125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  font-family: inherit;
  gap: 0.75rem;
}

.lm-help-page__faq-trigger span:first-child {
  color: var(--lm-fg);
  font-size: 0.8125rem;
}

.lm-help-page__faq-chev {
  color: var(--lm-primary);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lm-help-page__faq-item.is-open .lm-help-page__faq-chev {
  transform: rotate(-90deg);
}

.lm-help-page__faq-panel {
  padding: 0 1.125rem 1rem;
}

.lm-help-page__faq-panel p {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  color: var(--lm-muted);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.lm-help-page__note {
  margin-top: 1.25rem;
  padding: 1rem 1.125rem;
  background: #fbf7ee;
  border: 1px solid rgba(180, 150, 100, 0.22);
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}

.lm-help-page__note > span {
  color: var(--lm-primary);
  font-size: 0.875rem;
  line-height: 1;
}

.lm-help-page__note p {
  margin: 0;
  color: var(--lm-muted);
  font-size: 0.6875rem;
  line-height: 1.7;
}

.lm-help-page__note p span {
  color: var(--lm-primary);
}

@media (max-width: 520px) {
  .lm-help-page__channels {
    grid-template-columns: 1fr;
  }

  .lm-help-page__chat {
    flex-direction: column;
    align-items: stretch;
  }

  .lm-help-page__chat-btn {
    text-align: center;
  }
}
