/*==============================================================================
    ABOUT FAQ
==============================================================================*/

/*==============================================================================
    ANSWER
==============================================================================*/

.fe-faq-answer {
  display: grid;

  grid-template-rows: 0fr;

  transition:
    grid-template-rows 0.35s ease,
    padding 0.35s ease;

  padding: 0 24px 0 98px;
}

.fe-faq-answer > * {
  overflow: hidden;
}

/* When Details Open */

.fe-faq-card[open] .fe-faq-answer {
  grid-template-rows: 1fr;

  padding: 0 24px 24px 98px;
}

/* First Element */

.fe-faq-answer > :first-child {
  margin-top: 0;
}

.fe-faq-answer > :last-child {
  margin-bottom: 0;
}

.fe-faq-answer p {
  color: #64748b;

  line-height: 1.9;

  font-size: 0.96rem;
}

.fe-faq-answer strong {
  color: #0f172a;

  font-weight: 700;
}
/*==============================================================================
    SECTION HEADER
==============================================================================*/

.fe-about-faq .fe-section-header {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.fe-about-faq .fe-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.fe-about-faq .fe-section-title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
}

.fe-about-faq .fe-section-title span {
  color: #2563eb;
}

.fe-about-faq .fe-section-subtitle {
  max-width: 680px;
  margin: auto;
  color: #64748b;
  line-height: 1.8;
  font-size: 1.05rem;
}

/*==============================================================================
    GRID
==============================================================================*/

.fe-faq-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 24px;

  margin-bottom: 80px;
}

/*==============================================================================
    CARD
==============================================================================*/

.fe-faq-card {
  position: relative;

  border: 1px solid #e2e8f0;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.82);

  backdrop-filter: blur(16px);

  overflow: hidden;

  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);

  transition: 0.35s ease;
}

.fe-faq-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12);
}

.fe-faq-card[open] {
  border-color: #2563eb;

  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.14);
}

/*==============================================================================
    SUMMARY
==============================================================================*/

.fe-faq-card summary {
  display: flex;

  align-items: center;

  gap: 18px;

  padding: 24px;

  cursor: pointer;

  list-style: none;

  user-select: none;
}

.fe-faq-card summary::-webkit-details-marker {
  display: none;
}

/*==============================================================================
    ICON
==============================================================================*/

.fe-faq-icon {
  width: 56px;

  height: 56px;

  flex-shrink: 0;

  border-radius: 18px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: 1.2rem;

  background: linear-gradient(135deg, #2563eb, #3b82f6);

  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

/*==============================================================================
    QUESTION
==============================================================================*/

.fe-faq-question {
  flex: 1;

  font-size: 1.05rem;

  font-weight: 700;

  line-height: 1.5;

  color: #0f172a;
}

/*==============================================================================
    TOGGLE
==============================================================================*/

.fe-faq-toggle {
  width: 40px;

  height: 40px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f8fafc;

  color: #2563eb;

  transition: 0.35s;
}

.fe-faq-card[open] .fe-faq-toggle {
  transform: rotate(45deg);

  background: #2563eb;

  color: #fff;
}

/*==============================================================================
    ANSWER
==============================================================================*/

.fe-faq-answer {
  padding: 0 24px 24px 98px;

  color: #64748b;

  line-height: 1.9;

  font-size: 0.96rem;
}

.fe-faq-answer strong {
  color: #0f172a;

  font-weight: 700;
}

/*==============================================================================
    FOOTER
==============================================================================*/

/*==============================================================================
    FAQ FOOTER CTA
==============================================================================*/

.fe-faq-footer {
  position: relative;

  max-width: 900px;

  margin: 0 auto;

  padding: 70px 60px;

  overflow: hidden;

  border-radius: 32px;

  text-align: center;

  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #2563eb 100%);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 25px 70px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  isolation: isolate;
}

/* Decorative Glow */

.fe-faq-footer::before,
.fe-faq-footer::after {
  content: "";

  position: absolute;

  border-radius: 50%;

  pointer-events: none;

  z-index: 0;
}

.fe-faq-footer::before {
  width: 260px;

  height: 260px;

  top: -120px;

  right: -80px;

  background: rgba(59, 130, 246, 0.18);

  filter: blur(12px);
}

.fe-faq-footer::after {
  width: 220px;

  height: 220px;

  bottom: -100px;

  left: -70px;

  background: rgba(249, 115, 22, 0.15);

  filter: blur(12px);
}

/* Keep content above background */

.fe-faq-footer > * {
  position: relative;

  z-index: 2;
}

/* Heading */

.fe-faq-footer h3 {
  margin: 0 0 18px;

  font-size: clamp(2rem, 4vw, 2.7rem);

  font-weight: 800;

  line-height: 1.2;

  color: #fff;
}

/* Description */

.fe-faq-footer p {
  max-width: 650px;

  margin: 0 auto 36px;

  font-size: 1.05rem;

  line-height: 1.9;

  color: rgba(255, 255, 255, 0.82);
}

/* Buttons */

.fe-faq-actions {
  display: flex;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 18px;
}

/* Mobile */

@media (max-width: 768px) {
  .fe-faq-footer {
    padding: 50px 28px;

    border-radius: 24px;
  }

  .fe-faq-footer h3 {
    font-size: 1.8rem;
  }

  .fe-faq-footer p {
    font-size: 0.95rem;

    margin-bottom: 28px;
  }

  .fe-faq-actions {
    flex-direction: column;
  }

  .fe-faq-actions .fe-btn {
    width: 100%;
  }
}

/*==============================================================================
    BUTTONS
==============================================================================*/

.fe-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.7rem;

  padding: 14px 30px;

  border-radius: 999px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s;
}

.fe-btn-primary {
  background: #2563eb;

  color: #fff;

  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.3);
}

.fe-btn-primary:hover {
  transform: translateY(-3px);

  background: #1d4ed8;
}

.fe-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);

  color: #fff;

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);
}

.fe-btn-outline:hover {
  background: #fff;

  color: #0f172a;
}

/*==============================================================================
    COLOR VARIANTS
==============================================================================*/

.fe-faq--blue .fe-faq-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.fe-faq--green .fe-faq-icon {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.fe-faq--orange .fe-faq-icon {
  background: linear-gradient(135deg, #ea580c, #fb923c);
}

.fe-faq--purple .fe-faq-icon {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.fe-faq--red .fe-faq-icon {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.fe-faq--cyan .fe-faq-icon {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}

/*==============================================================================
    RESPONSIVE
==============================================================================*/

@media (max-width: 992px) {
  .fe-faq-grid {
    grid-template-columns: 1fr;
  }

  .fe-faq-footer {
    padding: 50px 35px;
  }
}

@media (max-width: 768px) {
  .fe-about-faq .fe-section-header {
    margin-bottom: 50px;
  }

  .fe-faq-card summary {
    padding: 20px;
  }

  .fe-faq-icon {
    width: 48px;

    height: 48px;

    border-radius: 14px;

    font-size: 1rem;
  }

  .fe-faq-question {
    font-size: 1rem;
  }

  .fe-faq-answer {
    padding: 0 20px 20px 86px;
  }

  .fe-faq-footer {
    padding: 40px 24px;
  }

  .fe-faq-footer h3 {
    font-size: 1.6rem;
  }

  .fe-faq-actions {
    flex-direction: column;
  }

  .fe-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fe-faq-card,
  .fe-btn {
    transition: none;
  }
}
