/* FAQ Section Styles */

.faq-section {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #25030d 10%, #3d0a1f 45%, #4d0f28 100%);
  padding: 2.5rem 1rem;
}

.faq-section__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-section__title {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.faq-section__title img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.faq-section__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  width: 100%;
}

/* iOS Liquid Glass Effect for FAQ Questions */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  will-change: transform;
}

/* Glass effect overlay - removed gradient, using white only */

.faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.faq-question:active {
  transform: translateY(0);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.faq-question[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.faq-question__text {
  flex: 1;
  font-size: var(--font-size-px-18);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  padding-right: 1rem;
  position: relative;
  z-index: 1;
}

.faq-question__icon {
  font-size: var(--font-size-px-28);
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: transform;
}

.faq-question[aria-expanded="true"] .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out;
  opacity: 0;
  margin-top: 0;
  will-change: max-height, opacity;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  opacity: 1;
  margin-top: 0.75rem;
}

.faq-answer__content {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.faq-answer__content p {
  font-size: var(--font-size-px-16);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.faq-answer__content p:last-child {
  margin-bottom: 0;
}

.faq-answer__content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.faq-answer__content li {
  font-size: var(--font-size-px-16);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .faq-question__text {
    font-size: var(--font-size-px-16);
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 0.75rem;
  }

  .faq-section__title {
    margin-bottom: 1.5rem;
  }

  .faq-section__content {
    gap: 0.75rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
    border-radius: 12px;
  }

  .faq-question__text {
    font-size: var(--font-size-px-15);
    padding-right: 0.75rem;
  }

  .faq-question__icon {
    font-size: var(--font-size-px-24);
    width: 24px;
    height: 24px;
  }

  .faq-answer__content {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .faq-answer__content p,
  .faq-answer__content li {
    font-size: var(--font-size-px-15);
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .faq-section {
    padding: 1.5rem 0.5rem;
  }

  .faq-question {
    padding: 0.875rem 1rem;
  }

  .faq-question__text {
    font-size: var(--font-size-px-14);
    padding-right: 0.5rem;
  }

  .faq-question__icon {
    font-size: var(--font-size-px-20);
    width: 20px;
    height: 20px;
  }

  .faq-answer__content {
    padding: 1rem;
  }

  .faq-answer__content p,
  .faq-answer__content li {
    font-size: var(--font-size-px-14);
    line-height: 1.6;
  }
}
