/* ===== FAQ — Green Neon Theme (adapted) ===== */

.faq {
  --accent:       #baff4f;                     /* основной неон-зелёный */
  --accent-soft:  rgba(186, 255, 79, 0.12);
  --accent-strong:rgba(186, 255, 79, 0.9);
  --ink:          #f9fafb;                     /* основной текст */
  --muted:        #9ca3af;                     /* вторичный текст */
  --stroke:       rgba(186, 255, 79, 0.22);
  --glass-brd:    rgba(186, 255, 79, 0.35);
  --chip:         rgba(15, 23, 42, 0.9);
}

/* секция */
.faq {
  background: transparent;  /* фон страницы у тебя общий */
}
.faq__head {
  text-align: center;
  position: relative;
}
.faq__sub {
  margin: 0;
  color: var(--muted);
}

/* неоновая полоса */
.faq__tricolore {
  display: flex;
  height: 6px;
  width: 170px;
  margin: 14px auto 0;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    var(--accent),
    #e9ffb7 45%,
    var(--accent-strong)
  );
  box-shadow: 0 0 22px rgba(186, 255, 79, 0.5);
}
.faq__tricolore .it {
  display: none;
}

/* список карточек */
.faq-list {
  display: grid;
  gap: 12px;
}

/* карточка */
.faq-item {
  background: rgba(4, 8, 18, 0.9);
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(186, 255, 79, 0.75);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(186, 255, 79, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: translateY(-3px);
  background: radial-gradient(
      circle at 0 0,
      rgba(186, 255, 79, 0.12),
      transparent 60%
    ),
    rgba(4, 8, 18, 0.96);
}

/* вопрос */
.faq-question {
  width: 100%;
  padding: 16px 56px 16px 18px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 800;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.faq-item:hover .faq-question {
  background: rgba(15, 23, 42, 0.9);
}

/* иконка + / - */
.faq-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: radial-gradient(
    circle at 30% 0,
    rgba(186, 255, 79, 0.35),
    rgba(15, 23, 42, 0.95)
  );
  border: 1px solid rgba(186, 255, 79, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 4px 10px rgba(186, 255, 79, 0.25),
    0 0 14px rgba(186, 255, 79, 0.35);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-question.active .faq-icon::after {
  opacity: 0;
}
.faq-question.active .faq-icon {
  background: radial-gradient(
    circle at 50% 0,
    rgba(186, 255, 79, 0.85),
    rgba(15, 23, 42, 0.95)
  );
}

/* ответ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  border-top: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  transition:
    max-height 0.18s ease,
    padding 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
  opacity: 0;
}
.faq-answer.open {
  max-height: 280px;
  padding: 10px 18px 16px;
  border-top-color: rgba(186, 255, 79, 0.3);
  opacity: 1;
}

/* адаптив */
@media (max-width: 640px) {
  .faq {
    padding: 36px 0;
  }
  .faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
}
/* ===== FAQ — Green Neon Theme (adapted) ===== */

.faq {
  --accent:       #baff4f;                     /* основной неон-зелёный */
  --accent-soft:  rgba(186, 255, 79, 0.12);
  --accent-strong:rgba(186, 255, 79, 0.9);
  --ink:          #f9fafb;                     /* основной текст */
  --muted:        #9ca3af;                     /* вторичный текст */
  --stroke:       rgba(186, 255, 79, 0.22);
  --glass-brd:    rgba(186, 255, 79, 0.35);
  --chip:         rgba(15, 23, 42, 0.9);
}

/* секция */
.faq {
  background: transparent;  /* фон страницы у тебя общий */
}
.faq__head {
  text-align: center;
  position: relative;
}
.faq__sub {
  margin: 0;
  color: var(--muted);
}

/* неоновая полоса */
.faq__tricolore {
  display: flex;
  height: 6px;
  width: 170px;
  margin: 14px auto 0;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    var(--accent),
    #e9ffb7 45%,
    var(--accent-strong)
  );
  box-shadow: 0 0 22px rgba(186, 255, 79, 0.5);
}
.faq__tricolore .it {
  display: none;
}

/* список карточек */
.faq-list {
  display: grid;
  gap: 12px;
}

/* карточка */
.faq-item {
  background: rgba(4, 8, 18, 0.9);
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(186, 255, 79, 0.75);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(186, 255, 79, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: translateY(-3px);
  background: radial-gradient(
      circle at 0 0,
      rgba(186, 255, 79, 0.12),
      transparent 60%
    ),
    rgba(4, 8, 18, 0.96);
}

/* вопрос */
.faq-question {
  width: 100%;
  padding: 16px 56px 16px 18px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 800;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.faq-item:hover .faq-question {
  background: rgba(15, 23, 42, 0.9);
}

/* иконка + / - */
.faq-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: radial-gradient(
    circle at 30% 0,
    rgba(186, 255, 79, 0.35),
    rgba(15, 23, 42, 0.95)
  );
  border: 1px solid rgba(186, 255, 79, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 4px 10px rgba(186, 255, 79, 0.25),
    0 0 14px rgba(186, 255, 79, 0.35);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-question.active .faq-icon::after {
  opacity: 0;
}
.faq-question.active .faq-icon {
  background: radial-gradient(
    circle at 50% 0,
    rgba(186, 255, 79, 0.85),
    rgba(15, 23, 42, 0.95)
  );
}

/* ответ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  border-top: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  transition:
    max-height 0.18s ease,
    padding 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
  opacity: 0;
}
.faq-answer.open {
  max-height: 280px;
  padding: 10px 18px 16px;
  border-top-color: rgba(186, 255, 79, 0.3);
  opacity: 1;
}

/* адаптив */
@media (max-width: 640px) {
  .faq {
    padding: 36px 0;
  }
  .faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
}
