/* ============= FAQ SECTION ============= */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  animation: slideUp 0.8s ease;
}

.faq-section .section-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-align: center;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.faq-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-top: 32px;
  margin-bottom: 0;
  font-weight: 400;
}

/* ============= FAQ SEARCH ============= */
.faq-search-container {
  position: relative;
  margin-bottom: 30px;
  animation: slideDown 0.5s ease;
}

.faq-search-input {
  width: 100%;
  padding: 14px 18px 14px 20px;
  background: rgba(59, 130, 246, 0.05);
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
  font-weight: 500;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.faq-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.faq-search-input:focus {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 0 15px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.faq-search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 18px;
  padding: 5px 8px;
  transition: all 0.2s ease;
  font-weight: bold;
}

.faq-search-clear:hover {
  color: var(--primary);
  transform: translateY(-50%) scale(1.2);
}

.faq-no-results {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin: 20px 0;
  animation: slideDown 0.3s ease;
}

.faq-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-nav-btn {
  padding: 10px 18px;
  background: rgba(59, 130, 246, 0.05);
  border: 1.5px solid rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  pointer-events: auto;
  user-select: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.faq-nav-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(34, 197, 94, 0.15));
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  color: var(--text-main);
}

.faq-nav-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.faq-category {
  margin-bottom: 50px;
}

.category-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* ===== FAQ ITEM ===== */
.faq-item {
  background: rgba(79, 70, 229, 0.04);
  border: 1.5px solid rgba(79, 70, 229, 0.2);
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  pointer-events: auto;
  user-select: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item.active {
  background: rgba(34, 197, 94, 0.08);
  border-color: var(--secondary);
}

/* ===== QUESTION ===== */
.faq-question {
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-main);
}

.faq-question > span:first-child {
  flex: 1;
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
  transition: color 0.3s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-weight: bold;
}

.faq-item.active .faq-icon {
  color: var(--secondary);
}

/* ===== ANSWER ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 0;
  line-height: 1.7;
  color: var(--text-light);
  font-size: 14px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 16px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer ol,
.faq-answer ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.faq-answer li {
  margin-bottom: 8px;
}

.faq-answer strong {
  color: var(--text-main);
  font-weight: 700;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-answer a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* ============= COMPARISON TABLE ============= */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(79, 70, 229, 0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.comparison-table th {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 197, 94, 0.1));
  padding: 16px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  font-size: 14px;
}

.comparison-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(79, 70, 229, 0.15);
  font-size: 14px;
  line-height: 1.5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(odd) {
  background: rgba(79, 70, 229, 0.02);
}

.comparison-table tr:hover {
  background: rgba(79, 70, 229, 0.04);
}

/* ============= SUPPORT SECTION ============= */
.support-section {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.08));
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  margin-top: 80px;
  animation: slideUp 0.8s ease 0.3s both;
  position: relative;
  overflow: hidden;
}

.support-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
}

.support-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff, rgba(34, 197, 94, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-section p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}

.support-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============= ANIMATIONS ============= */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 20px;
  }

  .category-title {
    font-size: 20px;
  }

  .faq-item {
    padding: 18px;
  }

  .faq-question {
    font-size: 15px;
    gap: 12px;
  }

  .faq-answer {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
    font-size: 12px;
  }

  .support-section {
    padding: 30px 20px;
  }

  .support-section h3 {
    font-size: 18px;
  }

  .faq-nav {
    gap: 8px;
  }

  .faq-nav-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 30px 16px;
  }

  .faq-nav {
    gap: 6px;
  }

  .faq-nav-btn {
    padding: 8px 12px;
    font-size: 10px;
  }

  .faq-item {
    padding: 16px;
  }

  .faq-question {
    font-size: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-icon {
    align-self: flex-end;
    margin-top: -24px;
  }

  .category-title {
    font-size: 18px;
  }

  .comparison-table {
    font-size: 11px;
  }

  .support-section {
    padding: 20px 16px;
  }

  .support-section h3 {
    font-size: 16px;
  }

  .support-section p {
    font-size: 13px;
  }
}
