/* ===========================================
   FAQ V2 — Full-Width Modern Section
   =========================================== */

.faq-v2-section {
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, #F5F7FA 0%, #F5F7FA 35%, #2F80ED 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-height: 100vh;
  /* background-attachment: fixed breaks on iOS Safari — removed */
}

/* Decorative background elements */
.faq-v2-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-v2-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-v2-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

/* Remove the card styling - go full width */
.faq-v2-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Two-Column Grid */
.faq-v2-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 48px;
  align-items: flex-start;
}

/* ========== LEFT COLUMN ========== */

.faq-v2-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-v2-heading {
  max-width: 100%;
  padding-top: 12px;
}

.faq-v2-title {
  font-size: 48px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.faq-v2-accent {
  color: #2F80ED;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.faq-v2-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2F80ED, #BBD7FF);
  border-radius: 2px;
  opacity: 0.6;
}

.faq-v2-subtitle {
  font-size: 16px;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

/* Help section heading */
.faq-v2-help-label {
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  margin: 16px 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Contact Button */
.faq-v2-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2F80ED;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(47, 128, 237, 0.25);
}

.faq-v2-contact-btn:hover {
  background: #1D6FD3;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.35);
}

/* Support Cards */
.faq-v2-support-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-v2-support-card {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: flex-start;
  backdrop-filter: blur(12px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.faq-v2-support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 128, 237, 0.2), transparent);
}

.faq-v2-support-card:hover {
  border-color: #D6E4FF;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.12);
  transform: translateY(-3px);
}

.faq-v2-support-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EAF2FF 0%, #F5F9FF 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-v2-support-card:hover .faq-v2-support-icon {
  background: linear-gradient(135deg, #2F80ED 0%, #5BA3F5 100%);
  color: white;
  transform: scale(1.1);
}

.faq-v2-support-content {
  flex: 1;
  padding-top: 2px;
}

.faq-v2-support-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.faq-v2-support-desc {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

/* ========== RIGHT COLUMN ========== */

.faq-v2-right {
  display: flex;
  flex-direction: column;
}

.faq-v2-accordion {
  display: flex;
  flex-direction: column;
}

.faq-v2-item {
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  padding-bottom: 0;
  transition: all 0.3s ease;
}

.faq-v2-item:last-child {
  border-bottom: none;
}

.faq-v2-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  transition: all 0.3s ease;
  text-align: left;
  outline: none;
}

.faq-v2-question:hover {
  color: #2F80ED;
}

.faq-v2-question:focus-visible {
  outline: 2px solid #2F80ED;
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-v2-question span {
  flex: 1;
}

.faq-v2-chevron {
  flex-shrink: 0;
  color: #2F80ED;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 20px;
  height: 20px;
}

.faq-v2-item.faq-v2-open .faq-v2-question {
  color: #2F80ED;
  font-weight: 700;
}

.faq-v2-item.faq-v2-open .faq-v2-chevron {
  transform: rotate(180deg);
}

/* Answer Container */
.faq-v2-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  padding-bottom: 0;
}

.faq-v2-item.faq-v2-open .faq-v2-answer {
  max-height: 700px;
  opacity: 1;
  padding-bottom: 16px;
}

.faq-v2-answer p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}

.faq-v2-answer p + p {
  margin-top: 12px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .faq-v2-section {
    padding: 70px 20px 60px;
  }

  .faq-v2-grid {
    grid-template-columns: 38% 62%;
    gap: 40px;
  }

  .faq-v2-title {
    font-size: 42px;
  }

  .faq-v2-question {
    font-size: 15px;
    padding: 18px 0;
  }
}

@media (max-width: 768px) {
  .faq-v2-section {
    padding: 60px 20px 40px;
  }

  .faq-v2-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-v2-left {
    gap: 28px;
  }

  .faq-v2-title {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .faq-v2-subtitle {
    font-size: 15px;
  }

  .faq-v2-support-cards {
    gap: 14px;
  }

  .faq-v2-support-card {
    padding: 16px;
    gap: 14px;
    border-radius: 12px;
  }

  .faq-v2-support-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .faq-v2-support-title {
    font-size: 14px;
  }

  .faq-v2-support-desc {
    font-size: 12px;
  }

  .faq-v2-question {
    font-size: 15px;
    padding: 16px 0;
  }

  .faq-v2-answer p {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .faq-v2-section {
    padding: 48px 16px 32px;
  }

  .faq-v2-section::before,
  .faq-v2-section::after {
    display: none;
  }

  .faq-v2-title {
    font-size: 28px;
  }

  .faq-v2-subtitle {
    font-size: 14px;
  }

  .faq-v2-help-label {
    font-size: 11px;
  }

  .faq-v2-left {
    gap: 20px;
  }

  .faq-v2-support-card {
    padding: 14px;
    border-radius: 10px;
  }

  .faq-v2-support-icon {
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .faq-v2-support-title {
    font-size: 13px;
  }

  .faq-v2-support-desc {
    font-size: 12px;
  }

  .faq-v2-question {
    font-size: 14px;
    padding: 14px 0;
  }

  .faq-v2-chevron {
    width: 18px;
    height: 18px;
  }

  .faq-v2-answer p {
    font-size: 12px;
    line-height: 1.5;
  }
}
