.faq-section {
  padding: 80px 0;
  background-color: hsl(0 0% 96% / 0.3);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.7s;
  animation-duration: 0.7s;
}

.faq-title {
  font-size: 48px;
  line-height: 1;
  color: #020b36;
  font-weight: 500;
  margin-bottom: 16px;
}

.faq-subtitle {
  color: #52587a;
  font-size: 20px;
  line-height: 28px;
}

.faq-categories {
  margin-bottom: 48px;
  gap: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-category {
  font-size: 16px;
  line-height: 24px;
  padding: 12px 24px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  color: #020b36;
  background-color: #f5f5f5;
  border-radius: 9999px;
  white-space: nowrap;
  border: 0;
  height: auto;
  letter-spacing: 0;
  font-weight: 400;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}

.faq-category.active,
.faq-category:hover {
  background-color: #020b36;
  color: #fff;
}

.faq-items {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.3s;
  transition-duration: 0.7s;
  animation-duration: 0.7s;
  animation-delay: 0.3s;
}

.faq-item-inner {
  width: 100%;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  background-color: #fff;
  border-radius: 12px;
}

.faq-question {
  display: flex;
  font-size: 16px;
  line-height: 24px;
  padding: 20px 24px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  color: #020b36;
  border-radius: 12px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-duration: 0.2s;
  transition-duration: 0.2s;
}

.faq-item.active .faq-question svg {
  transform: translate(0, 0) rotate(180deg) skew(0, 0) scale(1, 1);
}

.faq-answer {
  font-size: 14px;
  line-height: 20px;
  padding: 0 24px 20px 24px;
  color: #52587a;
  display: none;
}

.faq-answer a {
  color: #0282f2;
  font-weight: 500;
}

.faq-answer a:hover {
  color: hsl(208 98% 48% / 0.9);
}

@media screen and (max-width: 1023px) {
  .faq-title {
    font-size: 36px;
    line-height: 40px;
  }
}

@media screen and (max-width: 767px) {
  .faq-section {
    padding: 48px 0;
  }

  .faq-header {
    margin-bottom: 32px;
  }

  .faq-title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 12px;
  }

  .faq-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .faq-categories {
    margin-bottom: 32px;
    gap: 8px;
  }

  .faq-category {
    font-size: 14px;
    line-height: 20px;
    padding: 10px 16px;
  }

  .faq-items {
    grid-template-columns: auto;
    gap: 16px;
  }

  .faq-question {
    font-size: 14px;
    line-height: 20px;
    padding: 16px 20px;
  }

  .faq-answer {
    font-size: 12px;
    line-height: 1.625;
    padding: 0 20px 16px 20px;
  }
}
