/* ============================================
   SECTION 10 — FAQ
   ============================================ */

.faq {
  background: var(--iptv-black);
  padding: 52px 20px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 28px;
}

.faq-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 44px;
  text-transform: uppercase;
  color: var(--iptv-white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.faq-header h2 span {
  color: var(--iptv-cyan);
}

.faq-header p {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #D0DDE8;
  display: inline-block;
  text-align: center;
  background: rgba(245,197,24,0.04);
  border: 1px solid rgba(245,197,24,0.2);
  border-top: 3px solid #F5C518;
  border-radius: 12px;
  padding: 14px 32px;
  max-width: 640px;
  line-height: 1.65;
}

/* Accordion list */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--iptv-card);
  border: 1px solid var(--iptv-border);
  border-left: 3px solid var(--iptv-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

@media (hover: hover) {
  .faq-item:hover:not([open]) {
    border-color: rgba(0,212,255,0.2);
    border-left-color: rgba(0,212,255,0.5);
    background: #141f2e;
    box-shadow: 0 4px 24px rgba(0,212,255,0.08);
  }
}

.faq-item[open],
.faq-item.open {
  border-color: var(--iptv-cyan);
  border-left: 3px solid var(--iptv-gold);
  box-shadow: 0 4px 24px rgba(0,212,255,0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  min-height: 52px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--iptv-white);
  line-height: 1.2;
  flex: 1;
  transition: color 0.2s;
}
@media (hover: hover) { .faq-question:hover h3 { color: #00D4FF; } }

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--iptv-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--iptv-cyan);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
@media (hover: hover) {
  .faq-question:hover .faq-icon {
    border-color: #00D4FF;
    background: rgba(0,212,255,0.1);
    box-shadow: 0 0 10px rgba(0,212,255,0.35);
  }
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--iptv-muted);
  line-height: 1.65;
  border-top: 1px solid var(--iptv-border);
  padding-top: 18px;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-answer a {
  color: var(--iptv-cyan);
  text-decoration: none;
}
.faq-answer a:hover { text-decoration: underline; }

/* Bottom CTA */
.faq-cta {
  margin-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.faq-cta p {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #C8DEFF;
  display: inline-block;
  text-align: center;
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.22);
  border-top: 3px solid #00D4FF;
  border-radius: 12px;
  padding: 14px 32px;
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 0;
}

.faq-cta-btn {
  display: block;
  width: 100%;
  max-width: 460px;
}

@media (max-width: 389px) {
  .faq { padding: 44px 16px; }
  .faq-header h2 { font-size: 26px; }
  .faq-header p { font-size: 14px; padding: 12px 18px; max-width: 100%; }
  .faq-header { margin-bottom: 32px; }
  .faq-question { padding: 14px 16px; }
  .faq-question h3 { font-size: 14px; }
  .faq-answer { padding: 0 16px 16px 16px; padding-top: 12px; font-size: 14px; }
  .faq-icon { width: 20px; height: 20px; font-size: 16px; }
  .faq-cta p { font-size: 14px; padding: 12px 18px; max-width: 100%; }
  .faq-cta-btn { max-width: 100%; }
}

@media (min-width: 390px) and (max-width: 768px) {
  .faq { padding: 52px 20px; }
  .faq-header h2 { font-size: 30px; }
  .faq-header p { font-size: 15px; padding: 13px 22px; }
  .faq-question { padding: 16px 18px; }
  .faq-question h3 { font-size: 15px; }
  .faq-answer { padding: 0 18px 18px 18px; padding-top: 14px; font-size: 14px; }
  .faq-cta p { font-size: 15px; padding: 13px 22px; }
  .faq-cta-btn { max-width: 100%; }
}

@media (min-width: 1024px) {
  .faq { padding: 80px 40px; }
}
