/* Body styles inherited from main.css — no body {} block here */

.faq-platform-tabs {
  display: flex;
  gap: 12px;
  margin: 20px 0 40px;
}

.faq-platform-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  transition: all 200ms ease;
}

.faq-platform-tab:hover {
  color: var(--color-text);
}

.faq-platform-tab--active {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
}

.faq-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
  line-height: 1.6;
}

.faq-page__title {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);  /* was 32px */
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-text);
}

.faq-section {
  margin-bottom: 48px;
}

.faq-section__title {
  font-size: 1.375rem;      /* was 22px */
  color: var(--color-primary);
  margin-bottom: 24px;
  border-left: 6px solid var(--color-primary);
  padding-left: 16px;
  font-weight: 600;
}

.faq-item {
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 1rem 1.25rem;     /* was 16px 20px */
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent; /* iOS tap fix */
}

.faq-item[open] {
  border-color: var(--color-primary);
  background-color: var(--color-surface-2);
}

.faq-item__question {
  font-size: 1.125rem;       /* was 18px */
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.faq-item__answer {
  margin-top: 12px;
  font-size: 1rem;           /* was 16px */
  line-height: 1.6;
  color: var(--color-text-muted);
}

details summary::-webkit-details-marker {
  display: none;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .faq-page {
    padding: 32px 16px;
  }

  .faq-page__title {
    font-size: 1.625rem;     /* was 26px */
    margin-bottom: 32px;
  }

  .faq-section__title {
    font-size: 1.25rem;      /* was 20px */
    padding-left: 12px;
    margin-bottom: 20px;
  }

  .faq-item {
    padding: 0.875rem 1rem;  /* was 14px 16px */
  }

  .faq-item__question {
    font-size: 1rem;         /* was 16px */
  }

  .faq-item__answer {
    font-size: 0.9375rem;    /* was 15px */
  }
}

/* ── Extracted from faq-app.php ── */
.faq-gateway {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 80vh;
      text-align: center;
      padding: 20px;
    }
    .faq-gateway__btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 200px;
      padding: 30px 20px;
      margin: 10px;
      background: #f8f8f8;
      color: #333;
      text-decoration: none;
      border-radius: 20px;
      font-size: 16px;
      font-weight: 600;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border: 1px solid #eee;
    }
    .faq-gateway__btn:hover {
      background: #fff;
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
      border-color: #eb870f;
    }
    .faq-gateway__btn img {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 15px;
    }
    .faq-gateway__buttons {
      display: flex;
      gap: 20px;
      margin-top: 30px;
    }
    .faq-gateway__back {
      margin-top: 40px;
      font-size: 14px;
      color: #eb870f;
      text-decoration: none;
    }
    .faq-gateway__back:hover {
      text-decoration: underline;
    }

/* ── Extracted from faq-web.php ── */
.faq-gateway {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 78vh;
    text-align: center;
    padding: 20px;
  }
  .faq-gateway__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 200px;
    padding: 30px 20px;
    margin: 10px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
  }
  .faq-gateway__btn:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #eb870f;
  }
  .faq-gateway__btn img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
  }
  .faq-gateway__buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
  }

/* ── Extracted from ios-faq-app.php ── */
.faq-gateway__back {
      display: inline-block;
      margin: 20px 0 40px;
      font-size: 14px;
      color: #eb870f;
      text-decoration: none;
    }
    .faq-gateway__back:hover {
      text-decoration: underline;
    }
    .faq-qna__controls {
      display: flex;
      justify-content: center;
      background: transparent;
      padding-top: 20px;
    }

    .faq-qna__viewport {
      width: 100%;
      min-height: 360px;
      height: auto;
      display: flex;
      justify-content: center;
      padding: 30px 0 0;
      background: transparent;
      margin-bottom: 140px;
    }

/* ── Extracted from ios-faq-web.php ── */
.faq-qna__controls {
      display: flex;
      justify-content: center;
      background: transparent;
      padding-top: 20px;
    }

    .faq-qna__viewport {
      width: 100%;
      min-height: 360px;
      height: auto;
      display: flex;
      justify-content: center;
      padding: 30px 0 0;
      background: transparent;
      margin-bottom: 140px;
    }

/* ── Extracted from android-faq-app.php ── */
.faq-gateway__back {
      display: inline-block;
      margin: 20px 0 40px;
      font-size: 14px;
      color: #eb870f;
      text-decoration: none;
    }
    .faq-gateway__back:hover {
      text-decoration: underline;
    }
