/* ============================================
   FAQ SECTION LAYOUT
   ============================================ */

.faq {
  background: linear-gradient(180deg, #241552 0%, #1a1a2e 100%);
  margin-top: -2px;
  padding: var(--spacing-2xl) 0;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.faq__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.faq__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.faq__header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  line-height: 1.6;
}

.faq__items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

/* FAQ Item */
.faq__item {
  background: var(--card-bg-modern);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border-modern);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.faq__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(180deg, #00d4ff, #667eea);
  transition: width 0.4s ease;
  border-radius: 1.25rem 0 0 1.25rem;
}

.faq__item:hover::before {
  width: 4px;
}

.faq__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Question Button */
.faq__question {
  background: transparent;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1.5rem 1.75rem;
  text-align: left;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  width: 100%;
}

.faq__question:hover {
  color: #00d4ff;
}

/* Toggle Icon */
.faq__toggle {
  font-size: 1.25rem;
  font-weight: 300;
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  color: #00d4ff;
  line-height: 1;
}

.faq__item.open .faq__toggle {
  background: #00d4ff;
  color: var(--bg-primary);
  transform: rotate(45deg);
}

/* Answer */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.5s ease;
}

.faq__answer p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.7;
}

.faq__item.open .faq__answer {
  max-height: 1000px;
  padding: 0 1.75rem 1.5rem 1.75rem;
  opacity: 1;
}
