/**
 * ========================================
 * FAQ SECTION STYLES
 * ========================================
 */

.faq-section {
  position: relative;
  overflow: visible;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==================== FAQ ITEM ==================== */

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

/* ==================== FAQ QUESTION ==================== */

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: none;
  color: white;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  padding-left: 32px;
}

.faq-question span {
  flex: 1;
  line-height: 1.4;
}

.faq-question i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: white;
}

/* ==================== FAQ ANSWER ==================== */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.faq-answer strong {
  color: white;
  font-weight: 700;
}

/* ==================== ANIMATIONS ==================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: fadeInUp 0.5s ease;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }
.faq-item:nth-child(8) { animation-delay: 0.4s; }

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
    padding: 20px 24px;
  }

  .faq-question:hover {
    padding-left: 24px;
  }

  .faq-item.active .faq-answer {
    padding: 0 24px 20px;
  }

  .faq-answer p {
    font-size: 15px;
  }
}

.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.faq-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.8s ease;
}

.faq-cta-btn:hover::before {
  left: 100%;
}

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

@media (max-width: 480px) {
  .faq-section {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }


  .faq-question {
    font-size: 15px;
    padding: 18px 16px;
    gap: 12px;
  }

  .faq-question i {
    font-size: 14px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 18px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}
