:root {
  --bg: #09090d;
  --card: #120507;
  --card-2: #16161c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #b9bcc6;
  --red: #ff2b2b;
  --red-2: #ff4d5e;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: 1240px;
}

.faq-section {
  margin: 42px auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.help-panel,
.faq-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* LEFT SIDE */
.help-panel {
  padding: 22px;

  position: relative;
}

.help-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a4bff;
  border: 1px solid rgba(169, 66, 255, 0.35);
  background: rgba(56, 0, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 8px 24px rgba(104, 0, 255, 0.12);
  margin-bottom: 26px;
}

.help-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.help-title .accent {
  background: linear-gradient(135deg, #d6b4ff 0%, #b687ff 45%, #8f5bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.help-desc {
  margin: 26px 0 0;
  max-width: 430px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
}

.help-card {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 34px;
  height: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: auto;
}

.help-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: end;
  padding: 24px;
}

.help-overlay-content {
  width: 100%;
}

.help-overlay-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #7a3cff, #9a4bff);
  box-shadow: 0 16px 30px rgba(255, 0, 0, 0.28);
  transition: 0.25s ease;
}

.help-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(255, 0, 0, 0.34);
}

.help-btn i {
  font-size: 18px;
}

/* RIGHT SIDE */
.faq-panel {
  padding: 20px;
}

.faq-panel-head {
  margin-bottom: 16px;
  padding: 4px 4px 10px;
}

.faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9a4bff;
  margin-bottom: 10px;
}

.faq-heading {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.faq-subheading {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
  overflow: hidden;
  transition: 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(166, 77, 255, 0.24);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
}

.faq-question-text {
  line-height: 1.5;
}

.faq-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.25s ease;
}

.faq-item.active .faq-icon {
  border-color: rgba(255, 43, 43, 0.2);
  color: #9a4bff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-answer-inner strong {
  color: #fff;
}

@media (max-width: 1080px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .help-panel,
  .faq-panel {
    border-radius: 24px;
  }

  .help-panel {
    padding: 18px;
  }

  .help-desc {
    max-width: 100%;
    font-size: 17px;
  }

  .help-card {
    min-height: 260px;
    border-radius: 24px;
  }

  .faq-panel {
    padding: 14px;
  }

  .faq-heading {
    font-size: 24px;
  }

  .faq-question {
    padding: 16px;
    font-size: 15px;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  .faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
}
