/* FAQ page - Cartoon Blue Style */

.credimetric-faq-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.credimetric-faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 Q60 20 50 30 Q40 20 50 10" fill="rgba(255,255,255,0.1)"/><path d="M20 70 Q30 80 20 90 Q10 80 20 70" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: wave 8s infinite ease-in-out;
}

.credimetric-faq-intro {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  position: relative;
}

.credimetric-faq-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="rgba(116,185,255,0.1)"/><circle cx="80" cy="80" r="4" fill="rgba(116,185,255,0.1)"/></svg>')
    repeat;
  animation: float 25s infinite linear;
}

.credimetric-faq-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.credimetric-faq-category {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(116, 185, 255, 0.15);
  transition: all 0.4s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.credimetric-faq-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
}

.credimetric-faq-category:hover {
  transform: translateY(-15px) rotate(2deg);
  box-shadow: 0 30px 60px rgba(116, 185, 255, 0.25);
  border-color: #74b9ff;
}

.credimetric-faq-category-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.credimetric-faq-category-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.credimetric-faq-category-description {
  color: #7f8c8d;
  line-height: 1.7;
  font-size: 1.1rem;
}

.credimetric-faq-main {
  padding: 100px 0;
  background: white;
  position: relative;
}

.credimetric-faq-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 60,30 80,30 65,45 70,65 50,55 30,65 35,45 20,30 40,30" fill="rgba(116,185,255,0.03)"/></svg>')
    repeat;
  background-size: 150px 150px;
  animation: rotate 40s infinite linear;
}

.credimetric-faq-section {
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.credimetric-faq-section-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: #2c3e50;
  text-align: center;
  position: relative;
}

.credimetric-faq-section-title::before {
  content: attr(data-icon);
  margin-right: 1rem;
  font-size: 2rem;
}

.credimetric-faq-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  border-radius: 2px;
}

.credimetric-faq-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.credimetric-faq-item {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(116, 185, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.credimetric-faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(116, 185, 255, 0.2);
  border-color: #74b9ff;
}

.credimetric-faq-question {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  transition: all 0.3s ease;
}

.credimetric-faq-question:hover {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
}

.credimetric-faq-question h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.credimetric-faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.credimetric-faq-item.active .credimetric-faq-toggle {
  transform: rotate(45deg);
}

.credimetric-faq-answer {
  padding: 0 2rem 2rem;
  color: #7f8c8d;
  line-height: 1.8;
  font-size: 1.1rem;
  display: none;
}

.credimetric-faq-item.active .credimetric-faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

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

.credimetric-faq-contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
  text-align: center;
  position: relative;
}

.credimetric-faq-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="70" cy="70" r="10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>')
    repeat;
  animation: pulse 4s infinite ease-in-out;
}

.credimetric-faq-contact-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.credimetric-faq-contact h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.credimetric-faq-contact p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .credimetric-faq-categories {
    grid-template-columns: 1fr;
  }

  .credimetric-faq-question {
    padding: 1.5rem;
  }

  .credimetric-faq-answer {
    padding: 0 1.5rem 1.5rem;
  }

  .credimetric-faq-section-title {
    font-size: 1.8rem;
  }
}
