.faq-hero {
  background: linear-gradient(135deg, var(--background1) 0%, var(--background2) 50%, var(--background3) 100%);
  color: white;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.faq-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.faq-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}
.faq-search-container {
  max-width: 600px;
  margin: 0 auto;
}
.search-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}
.faq-search-input {
  width: 100%;
  padding: 1.2rem 4.5rem 1.2rem 4rem;
  font-size: 1.2rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  color: #333;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}
.faq-search-input::placeholder {
  color: #666;
  opacity: 0.8;
  font-weight: 400;
}
.faq-search-input:focus {
  border-color: var(--accent1);
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(95, 1, 173, 0.15), 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  transition: all 0.3s ease;
}
.faq-search-input:focus + .search-icon {
  color: var(--accent1);
  transform: translateY(-50%) scale(1.1);
}
.search-clear {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
}
.search-clear:hover {
  color: #666;
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-50%) scale(1.1);
}
.search-results {
  text-align: center;
  margin-top: 0;
}
.search-count {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-style: italic;
  font-weight: 300;
}
.faq-toc {
  position: sticky;
  top: 2rem;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}
.toc-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--background1);
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 1rem;
}
.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.toc-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid transparent;
}
.toc-link .toc-icon {
  margin-right: 0.8rem;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}
.toc-link .toc-counter {
  margin-left: auto;
  background: #f8f9fa;
  color: #666;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}
.toc-link:hover {
  background: #f8f9fa;
  color: var(--background1);
  transform: translateX(4px);
  border-color: rgba(0, 0, 0, 0.05);
}
.toc-link:hover .toc-counter {
  background: var(--accent1);
  color: white;
}
.toc-link.active {
  background: linear-gradient(135deg, var(--accent1) 0%, #7502d5 100%);
  color: white;
  border-color: var(--accent1);
}
.toc-link.active .toc-counter {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.toc-stats {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}
.stat-item {
  flex: 1;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent1);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.faq-content {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 0 6rem;
}
.faq-questions {
  padding-left: 2rem;
}
.faq-section {
  margin-bottom: 4rem;
  scroll-margin-top: 2rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--background1);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-title .section-icon {
  font-size: 2rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent1) 0%, var(--background2) 100%);
  border-radius: 2px;
}
.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(95, 1, 173, 0.1);
}
.question {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--background1);
  margin: 0;
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid #f8f9fa;
  background: linear-gradient(135deg, #fdfdfd 0%, #f8f9fa 100%);
}
.answer {
  padding: 2rem 2.5rem;
  color: #444;
  line-height: 1.7;
  font-size: 1.05rem;
}
.answer p {
  margin-bottom: 1.5rem;
}
.answer p:last-child {
  margin-bottom: 0;
}
.answer ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}
.answer ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: #555;
}
.answer ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent1);
  font-weight: bold;
  font-size: 1.2rem;
}
.answer ul li:last-child {
  margin-bottom: 0;
}
.answer strong {
  color: var(--background1);
  font-weight: 600;
}
.search-highlight {
  background: linear-gradient(120deg, #fff3cd 0%, #ffebcd 100%);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: #8b4513;
  box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
}
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  margin: 2rem 0;
}
.no-results-content {
  max-width: 400px;
  margin: 0 auto;
}
.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}
.no-results h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--background1);
  margin-bottom: 1rem;
}
.no-results p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.faq-cta {
  background: linear-gradient(135deg, var(--background1) 0%, var(--background2) 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
}
.faq-cta h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.faq-cta .lead {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-buttons .btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 200px;
}
.cta-buttons .btn.btn-primary {
  background: var(--accent1);
  border-color: var(--accent1);
  box-shadow: 0 4px 15px rgba(95, 1, 173, 0.3);
}
.cta-buttons .btn.btn-primary:hover {
  background: #7502d5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 1, 173, 0.4);
}
.cta-buttons .btn.btn-outline-primary {
  border-color: white;
  color: white;
  background: transparent;
}
.cta-buttons .btn.btn-outline-primary:hover {
  background: white;
  color: var(--background1);
  transform: translateY(-2px);
}
@media (max-width: 1200px) {
  .faq-questions {
    padding-left: 1rem;
  }
}
@media (max-width: 992px) {
  .faq-toc {
    position: static;
    margin-bottom: 3rem;
  }
  .faq-questions {
    padding-left: 0;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .question {
    font-size: 1.3rem;
    padding: 1.8rem 2rem 1.3rem;
  }
  .answer {
    padding: 1.8rem 2rem;
  }
}
@media (max-width: 768px) {
  .faq-hero {
    padding: 4rem 0 3rem;
  }
  .faq-title {
    font-size: 3rem;
  }
  .faq-subtitle {
    font-size: 1.2rem;
  }
  .faq-search-input {
    font-size: 1.1rem;
    padding: 1rem 4rem 1rem 3.5rem;
  }
  .search-icon {
    left: 1.2rem;
  }
  .search-clear {
    right: 1.2rem;
  }
  .faq-content {
    padding: 3rem 0 4rem;
  }
  .section-title {
    font-size: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .section-title .section-icon {
    font-size: 1.8rem;
  }
  .question {
    font-size: 1.2rem;
    padding: 1.5rem;
  }
  .answer {
    padding: 1.5rem;
    font-size: 1rem;
  }
  .toc-nav {
    gap: 0.3rem;
  }
  .toc-link {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }
  .toc-link .toc-icon {
    margin-right: 0.6rem;
    font-size: 1.1rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 576px) {
  .faq-title {
    font-size: 2.5rem;
  }
  .faq-search-input {
    font-size: 16px;
    padding: 1rem 3.5rem 1rem 3.2rem;
  }
  .search-icon {
    left: 1rem;
  }
  .search-icon svg {
    width: 20px;
    height: 20px;
  }
  .search-clear {
    right: 1rem;
    width: 28px;
    height: 28px;
  }
  .search-clear svg {
    width: 16px;
    height: 16px;
  }
  .question {
    font-size: 1.1rem;
    padding: 1.3rem;
  }
  .answer {
    padding: 1.3rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-title::after {
    width: 60px;
    height: 3px;
  }
  .toc-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
}
