/* ─── FAQ Page ────────────────────────────────────────────────── */

/* Hero */
.nf-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(245,158,11,.18) 0%, transparent 70%);
  pointer-events: none;
}
.nf-hero-label {
  display: inline-block;
  background: rgba(245,158,11,.15);
  color: #f59e0b;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
  border: 1px solid rgba(245,158,11,.3);
}
.nf-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.nf-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Search bar */
.nf-search-wrap {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.nf-search {
  width: 100%;
  padding: 14px 48px 14px 18px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  font-size: .95rem;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s;
}
.nf-search::placeholder { color: rgba(255,255,255,.45); }
.nf-search:focus { border-color: #f59e0b; background: rgba(255,255,255,.15); }
.nf-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  opacity: .6;
}

/* Body */
.nf-body {
  padding: 72px 0 88px;
  background: var(--n-bg);
}
.nf-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sidebar nav */
.nf-sidebar {
  position: sticky;
  top: 80px;
}
.nf-sidebar-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-text-muted);
  margin-bottom: 12px;
  padding: 0 8px;
}
.nf-cat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: .88rem;
  font-weight: 500;
  color: var(--n-text-muted);
  cursor: pointer;
  text-align: left;
  transition: var(--n-transition);
  margin-bottom: 2px;
}
.nf-cat-btn:hover { color: var(--n-text); background: rgba(0,0,0,.04); }
.nf-cat-btn.active { color: var(--n-primary); background: var(--n-primary-l); font-weight: 600; }
.nf-cat-icon { font-size: 1rem; flex-shrink: 0; }
.nf-cat-count {
  margin-left: auto;
  background: var(--n-bg);
  border: 1px solid var(--n-border);
  color: var(--n-text-muted);
  font-size: .7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
}
.nf-cat-btn.active .nf-cat-count { background: var(--n-primary); color: #fff; border-color: var(--n-primary); }

/* FAQ content */
.nf-content {}
.nf-section { margin-bottom: 48px; }
.nf-section-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--n-border);
}
.nf-section-icon { font-size: 1.3rem; }
.nf-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--n-text);
  letter-spacing: -.02em;
}
.nf-section-count {
  margin-left: auto;
  font-size: .78rem;
  color: var(--n-text-muted);
  font-weight: 500;
}

/* Accordion items */
.nf-item {
  background: #fff;
  border: 1.5px solid var(--n-border);
  border-radius: var(--n-radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.nf-item:hover { border-color: #d1d5db; }
.nf-item.open { border-color: #f59e0b; box-shadow: 0 4px 20px rgba(245,158,11,.1); }

.nf-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.nf-q-text {
  font-size: .95rem;
  font-weight: 600;
  color: var(--n-text);
  line-height: 1.4;
  flex: 1;
}
.nf-item.open .nf-q-text { color: var(--n-primary); }
.nf-toggle {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--n-bg);
  border: 1.5px solid var(--n-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  color: var(--n-text-muted);
  transition: transform .22s, background .2s, border-color .2s;
}
.nf-item.open .nf-toggle {
  transform: rotate(180deg);
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}

.nf-a {
  display: none;
  padding: 0 20px 18px;
  font-size: .9rem;
  color: var(--n-text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--n-border);
  padding-top: 14px;
}
.nf-item.open .nf-a { display: block; }

/* No results */
.nf-no-results {
  display: none;
  text-align: center;
  padding: 64px 24px;
  color: var(--n-text-muted);
  font-size: .95rem;
}
.nf-no-results-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* Still need help banner */
.nf-cta {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: var(--n-radius-lg);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.nf-cta-left {}
.nf-cta-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.nf-cta-sub { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.nf-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nf-cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  transition: var(--n-transition);
  text-decoration: none;
  white-space: nowrap;
}
.nf-cta-btn-accent { background: #f59e0b; color: #0a0a0a; border: 2px solid #f59e0b; }
.nf-cta-btn-accent:hover { background: #d97706; border-color: #d97706; color: #0a0a0a; }
.nf-cta-btn-outline { background: transparent; color: rgba(255,255,255,.8); border: 2px solid rgba(255,255,255,.25); }
.nf-cta-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .nf-layout { grid-template-columns: 1fr; }
  .nf-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
  .nf-sidebar-title { display: none; }
  .nf-cat-btn { width: auto; padding: 7px 14px; border: 1.5px solid var(--n-border); border-radius: 99px; margin-bottom: 0; }
  .nf-cat-btn.active { border-color: var(--n-primary); }
  .nf-cat-count { display: none; }
}
@media (max-width: 480px) {
  .nf-hero { padding: 56px 0 52px; }
  .nf-cta { padding: 28px 20px; }
  .nf-q { padding: 14px 16px; }
  .nf-a { padding: 0 16px 14px; padding-top: 12px; }
}
