/* ── Shared styles for subpages (privacy, FAQ) ── */

/* Nav links group */
.nav-links {
  display: flex; align-items: center; gap: 20px;
}
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }

/* Page layout */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}

.page-header {
  margin-bottom: 56px;
}
.page-header h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── Legal / Privacy sections ── */
.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.legal-section ul,
.legal-section ol {
  margin: 12px 0;
  padding-left: 24px;
}
.legal-section li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.legal-section li strong {
  color: #e0e0e0;
}

.contact-box {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 8px;
}
.contact-box p {
  margin: 0;
  color: #e0e0e0;
}

/* ── FAQ sections ── */
.faq-category {
  margin-bottom: 16px;
}
.faq-category h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
}

.faq-category-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-category-icon.cyan { background: rgba(91, 234, 196, 0.1); color: var(--cyan); }
.faq-category-icon.purple { background: rgba(139, 111, 212, 0.1); color: var(--purple); }
.faq-category-icon.mint { background: rgba(126, 236, 216, 0.1); color: var(--mint); }
.faq-category-icon.orange { background: rgba(255, 170, 80, 0.1); color: #ffaa50; }

/* FAQ accordion */
.faq-item {
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.3s;
}
.faq-item:hover {
  border-color: rgba(255,255,255,0.08);
}
.faq-item.open {
  border-color: rgba(139, 111, 212, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--cyan);
}

.faq-chevron {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 22px 20px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: #e0e0e0; }

.faq-answer ul,
.faq-answer ol {
  margin: 8px 0;
  padding-left: 22px;
}
.faq-answer li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .page-content {
    padding: 120px 24px 60px;
  }
  .nav-link { display: none; }
}
@media (max-width: 500px) {
  .page-content {
    padding: 110px 18px 48px;
  }
  .faq-question {
    font-size: 14px;
    padding: 16px 18px;
  }
  .faq-answer {
    padding-left: 18px;
    padding-right: 18px;
  }
}
