.faq-container {
  max-width: 900px;
  margin: 70px auto;
  padding: 0 30px;
  font-family: 'Poppins', sans-serif;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeIn 0.6s ease-out;
}

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

.faq-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: #161925;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #0062FF, #00C6FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-header p {
  font-size: 20px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-search {
  display: flex;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  animation: slideIn 0.5s 0.2s ease-out both;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.faq-search-input {
  flex: 1;
  padding: 18px 25px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 17px;
  outline: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: white;
  padding-left: 55px;
}

.faq-search-input:focus {
  border-color: #0062FF;
  box-shadow: 0 6px 25px rgba(0, 98, 255, 0.2);
  transform: scale(1.02);
}

.faq-search-button {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 22px;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.faq-search-input:focus + .faq-search-button {
  color: #0062FF;
  background: rgba(0, 98, 255, 0.1);
}

.faq-items-container {
  display: grid;
  gap: 25px;
  animation: fadeIn 0.8s 0.4s ease-out both;
}

.faq-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.faq-card.active {
  box-shadow: 0 10px 30px rgba(0, 98, 255, 0.18);
  border: 2px solid rgba(0, 98, 255, 0.3);
  transform: translateY(-3px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-card:hover .faq-question {
  background: rgba(0, 98, 255, 0.03);
}

.faq-question h3 {
  font-size: 20px;
  font-weight: 600;
  color: #161925;
  margin: 0;
  flex: 1;
  padding-right: 20px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.faq-card.active .faq-question h3 {
  color: #0062FF;
}

.faq-toggle-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 255, 0.1);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 14px;
  color: #0062FF;
}

.faq-card.active .faq-toggle-icon {
  background: #0062FF;
  color: white;
}

.faq-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
  margin: 0 30px;
  transition: all 0.5s ease;
}

.faq-card.active .faq-divider {
  background: linear-gradient(90deg, transparent, #0062FF, transparent);
  height: 2px;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.6s ease;
}

.faq-card.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 30px;
}

.faq-answer p {
  color: #555;
  line-height: 1.8;
  font-size: 17px;
  margin: 0;
  padding-top: 20px;
  animation: textAppear 0.5s 0.2s ease-out both;
}

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

.faq-no-results {
  text-align: center;
  padding: 50px;
  background: rgba(0, 98, 255, 0.03);
  border-radius: 16px;
  font-size: 19px;
  color: #666;
  border: 2px dashed rgba(0, 98, 255, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 98, 255, 0.1); }
  70% { box-shadow: 0 0 0 15px rgba(0, 98, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 98, 255, 0); }
}

.faq-contact {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 98, 255, 0.03), rgba(0, 198, 255, 0.03));
  border-radius: 20px;
  border: 1px solid rgba(0, 98, 255, 0.1);
  animation: fadeIn 0.8s 0.6s ease-out both;
}

.faq-contact p {
  font-size: 22px;
  color: #161925;
  margin-bottom: 25px;
  font-weight: 500;
}

.faq-contact-button {
  background: linear-gradient(135deg, #0062FF, #00C6FF);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 45px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(0, 98, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.faq-contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0051d1, #00a8e0);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faq-contact-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 98, 255, 0.5);
}

.faq-contact-button:hover::before {
  opacity: 1;
}

.faq-contact-button span {
  position: relative;
  z-index: 1;
}

.faq-card:active {
  transform: scale(0.98);
}

.faq-contact-button:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 4px 15px rgba(0, 98, 255, 0.4);
}

@media (max-width: 768px) {
  .faq-container {
    padding: 0 15px;
    margin: 40px auto;
  }
  
  .faq-header h1 {
    font-size: 32px;
  }
  
  .faq-header p {
    font-size: 17px;
  }
  
  .faq-question {
    padding: 22px;
  }
  
  .faq-question h3 {
    font-size: 18px;
  }
  
  .faq-search {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .faq-search-input {
    padding: 15px 20px;
    padding-left: 50px;
    font-size: 16px;
  }
  
  .faq-contact {
    padding: 30px 20px;
  }
  
  .faq-contact p {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .faq-question {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .faq-question h3 {
    margin-bottom: 15px;
    padding-right: 0;
  }
  
  .faq-toggle-icon {
    align-self: flex-end;
  }
}