.page-faq { background: #011E3E; }

.faq-section {
  position: relative;
  padding: 100px 5%;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #00102A 0%, #011E3E 100%);
}

#faq3dCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

.faq-3d-elements { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.floating-shape {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(55, 158, 245, 0.15), rgba(10, 46, 90, 0.1));
  border: 2px solid rgba(55, 158, 245, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  animation: floatShape 20s infinite ease-in-out;
}

.shape-1 { top: 15%; left: 10%; animation-delay: 0s; }
.shape-2 { top: 25%; right: 15%; animation-delay: -3s; }
.shape-3 { top: 55%; left: 12%; animation-delay: -6s; }
.shape-4 { bottom: 25%; right: 10%; animation-delay: -9s; }
.shape-5 { top: 45%; left: 55%; animation-delay: -12s; }
.shape-6 { bottom: 35%; left: 20%; animation-delay: -15s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(10deg); }
}

.faq-container { position: relative; z-index: 10; max-width: 900px; margin: 0 auto; }

.faq-category {
  background: rgba(1, 30, 62, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 224, 195, 0.1);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(55, 158, 245, 0.15);
  border-color: rgba(108, 180, 255, 0.3);
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #E5E0C3;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(229, 224, 195, 0.1);
}

.faq-category-title i { color: #6CB4FF; }
.faq-list { display: flex; flex-direction: column; gap: 15px; }

.faq-item {
  background: rgba(1, 30, 62, 0.5);
  border: 1px solid rgba(229, 224, 195, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover { border-color: #6CB4FF; }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: #E5E0C3;
  font-family: inherit;
}

.faq-question i { color: #6CB4FF; transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

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

.faq-item.active .faq-answer { max-height: 500px; padding: 0 24px 20px 24px; }
.faq-answer p { color: #C0B8A8; line-height: 1.7; font-size: 0.95rem; }
.faq-answer a { color: #6CB4FF; text-decoration: none; border-bottom: 1px dotted #6CB4FF; }

.faq-cta {
  text-align: center;
  padding: 50px 40px;
  background: rgba(55, 158, 245, 0.1);
  border: 1px solid rgba(229, 224, 195, 0.1);
  border-radius: 20px;
  margin-top: 50px;
}

.faq-cta h3 { font-size: 1.8rem; margin-bottom: 12px; color: #E5E0C3; }
.faq-cta p { color: #C0B8A8; font-size: 1.05rem; margin-bottom: 25px; }
.faq-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .faq-section { padding: 60px 5%; }
  .faq-category { padding: 30px 25px; }
  .floating-shape { display: none; }
  .faq-cta-buttons .btn-lg { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .faq-category-title { font-size: 1.2rem; }
  .faq-question { padding: 16px 18px; font-size: 0.9rem; }
}