/* ═══════════════════════════════════════════════════════════════
   FAQ PAGE — Scoped Styles (.fq-*)
   Redesigned 2026-02-25 — Urbance
   ═══════════════════════════════════════════════════════════════ */

.fq-page {
  --fq-blue:      #2563eb;
  --fq-blue-lt:   #eff6ff;
  --fq-blue-dk:   #1d4ed8;
  --fq-blue-mid:  #3b82f6;
  --fq-text:      #0f172a;
  --fq-muted:     #475569;
  --fq-light:     #94a3b8;
  --fq-border:    #e2e8f0;
  --fq-bg:        #f8fafc;
  --fq-white:     #ffffff;
  --fq-radius:    14px;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.fq-hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  padding: 148px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(96,165,250,.22) 0%, transparent 70%);
  pointer-events: none;
}

.fq-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #f8fafc);
  pointer-events: none;
}

.fq-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fq-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.fq-hero__badge svg { width: 13px; height: 13px; flex-shrink: 0; }

.fq-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 18px;
}

.fq-hero__sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
}

.fq-hero__sub a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(147,197,253,.4);
  transition: color .15s, border-color .15s;
}

.fq-hero__sub a:hover { color: #bfdbfe; border-color: #bfdbfe; }

/* ─── SEARCH ──────────────────────────────────────────────────── */
.fq-hero__search {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.fq-hero__search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #94a3b8;
  pointer-events: none;
  z-index: 1;
}

.fq-hero__search input {
  width: 100%;
  padding: 15px 22px 15px 50px;
  font-size: .97rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--fq-text);
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,.22), 0 1px 4px rgba(0,0,0,.1);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  box-sizing: border-box;
}

.fq-hero__search input:focus {
  border-color: var(--fq-blue);
  box-shadow: 0 4px 24px rgba(0,0,0,.14), 0 0 0 4px rgba(37,99,235,.15);
}

.fq-hero__search input::placeholder { color: #94a3b8; font-weight: 400; }

/* ─── STATS STRIP ─────────────────────────────────────────────── */
.fq-stats {
  background: var(--fq-white);
  border-bottom: 1px solid var(--fq-border);
  padding: 0 24px;
}

.fq-stats__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.fq-stats__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  border-right: 1px solid var(--fq-border);
}

.fq-stats__item:last-child { border-right: none; }

.fq-stats__icon {
  width: 40px;
  height: 40px;
  background: var(--fq-blue-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fq-stats__icon svg { width: 17px; height: 17px; color: var(--fq-blue); }

.fq-stats__num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--fq-text);
  letter-spacing: -.025em;
  line-height: 1;
  margin-bottom: 2px;
}

.fq-stats__label {
  font-size: .74rem;
  font-weight: 600;
  color: var(--fq-muted);
}

/* ─── TABS (sticky) ───────────────────────────────────────────── */
.fq-tabs {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(248,250,252,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fq-border);
  padding: 14px 24px;
}

.fq-tabs__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.fq-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: transparent;
  border: 1.5px solid var(--fq-border);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--fq-muted);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
  font-family: inherit;
}

.fq-tab:hover {
  border-color: #93c5fd;
  color: var(--fq-blue);
  background: var(--fq-blue-lt);
}

.fq-tab.active {
  border-color: var(--fq-blue);
  color: #ffffff;
  background: var(--fq-blue);
  box-shadow: 0 2px 10px rgba(37,99,235,.28);
}

.fq-tab svg { width: 13px; height: 13px; }

/* ─── BODY + LAYOUT ───────────────────────────────────────────── */
.fq-body {
  background: var(--fq-bg);
  padding-bottom: 40px;
}

.fq-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* sidebar */
.fq-sidebar {
  flex: 0 0 190px;
  position: sticky;
  top: 148px;
}

.fq-sidebar__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fq-light);
  margin: 0 0 10px 2px;
}

.fq-sidebar__nav {
  background: var(--fq-white);
  border: 1px solid var(--fq-border);
  border-radius: var(--fq-radius);
  overflow: hidden;
}

.fq-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--fq-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .14s;
}

.fq-sidebar__link svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .7; }

.fq-sidebar__link:hover {
  color: var(--fq-blue);
  background: var(--fq-blue-lt);
  border-left-color: #93c5fd;
}

.fq-sidebar__link.active {
  color: var(--fq-blue);
  background: var(--fq-blue-lt);
  border-left-color: var(--fq-blue);
  font-weight: 700;
}

/* main content */
.fq-content { flex: 1 1 0; min-width: 0; }

/* ─── CATEGORY ────────────────────────────────────────────────── */
.fq-category {
  margin-bottom: 52px;
  scroll-margin-top: 154px;
}

.fq-category__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--fq-border);
}

.fq-category__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--fq-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}

.fq-category__icon svg { width: 16px; height: 16px; color: #fff; }

.fq-category__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fq-text);
  letter-spacing: -.01em;
  margin: 0;
  flex: 1;
}

.fq-category__count {
  font-size: .72rem;
  font-weight: 700;
  color: var(--fq-light);
  background: var(--fq-white);
  border: 1px solid var(--fq-border);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ─── ACCORDION ITEM ──────────────────────────────────────────── */
.fq-item {
  background: var(--fq-white);
  border: 1px solid var(--fq-border);
  border-left: 3px solid transparent;
  border-radius: var(--fq-radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}

.fq-item:hover {
  border-color: #bfdbfe;
  border-left-color: var(--fq-blue-mid);
  box-shadow: 0 2px 12px rgba(37,99,235,.07);
}

.fq-item.open {
  border-color: #bfdbfe;
  border-left-color: var(--fq-blue);
  box-shadow: 0 4px 22px rgba(37,99,235,.11);
}

/* ─── TRIGGER ─────────────────────────────────────────────────── */
.fq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: .96rem;
  font-weight: 600;
  color: var(--fq-text);
  cursor: pointer;
  line-height: 1.45;
  transition: background .15s, color .15s;
}

.fq-trigger:hover { background: #f8fafc; }

.fq-item.open .fq-trigger {
  background: #eff6ff;
  color: var(--fq-blue);
}

.fq-trigger__chevron {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--fq-bg);
  border: 1px solid var(--fq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .17s, border-color .17s;
}

.fq-trigger__chevron svg {
  width: 14px;
  height: 14px;
  color: var(--fq-light);
  transition: transform .22s;
}

.fq-item.open .fq-trigger__chevron {
  background: var(--fq-blue);
  border-color: var(--fq-blue);
}

.fq-item.open .fq-trigger__chevron svg {
  color: #fff;
  transform: rotate(180deg);
}

/* ─── PANEL ───────────────────────────────────────────────────── */
.fq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s cubic-bezier(0, 1, 0, 1);
}

.fq-item.open .fq-panel {
  max-height: 900px;
  transition: max-height .38s ease-in-out;
}

.fq-panel__inner {
  padding: 16px 20px 22px 20px;
  font-size: .93rem;
  color: var(--fq-muted);
  line-height: 1.8;
  border-top: 1px solid var(--fq-border);
}

.fq-panel__inner p { margin: 0 0 10px; }
.fq-panel__inner p:last-child { margin-bottom: 0; }

.fq-panel__inner ul { margin: 8px 0 12px; padding-left: 20px; }
.fq-panel__inner li { margin-bottom: 6px; line-height: 1.7; }

.fq-panel__inner a {
  color: var(--fq-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,.2);
  transition: color .14s, border-color .14s;
}

.fq-panel__inner a:hover { color: var(--fq-blue-dk); border-color: var(--fq-blue-dk); }
.fq-panel__inner strong { color: var(--fq-text); font-weight: 700; }

/* ─── NO RESULTS ──────────────────────────────────────────────── */
.fq-no-results {
  text-align: center;
  padding: 80px 24px;
}

.fq-no-results svg {
  width: 44px;
  height: 44px;
  color: var(--fq-light);
  margin-bottom: 16px;
}

.fq-no-results p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fq-text);
  margin: 0 0 8px;
}

.fq-no-results span { font-size: .9rem; color: var(--fq-muted); }
.fq-no-results a { color: var(--fq-blue); font-weight: 600; text-decoration: none; }

/* ─── STILL STUCK ─────────────────────────────────────────────── */
.fq-still-stuck {
  margin-top: 16px;
  margin-bottom: 64px;
}

.fq-still-stuck__card {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(37,99,235,.28);
  position: relative;
  overflow: hidden;
}

.fq-still-stuck__card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}

.fq-still-stuck__icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fq-still-stuck__icon svg { width: 24px; height: 24px; color: #fff; }

.fq-still-stuck__text { flex: 1 1 220px; }

.fq-still-stuck__text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.fq-still-stuck__text p {
  font-size: .9rem;
  color: rgba(255,255,255,.88);
  margin: 0;
  line-height: 1.55;
}

.fq-still-stuck__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: #ffffff;
  color: #1d4ed8;
  font-size: .9rem;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  transition: background .17s, transform .17s, box-shadow .17s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
  flex-shrink: 0;
}

.fq-still-stuck__btn:hover {
  background: #eff6ff;
  color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* ─── PRE-FOOTER ──────────────────────────────────────────────── */
.fq-prefooter {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 55%, #1e3a5f 100%);
  padding: 88px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fq-prefooter__bg-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 900;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.fq-prefooter__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.fq-prefooter__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.fq-prefooter__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  margin: 0 0 14px;
  line-height: 1.1;
}

.fq-prefooter__sub {
  font-size: .97rem;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  margin: 0 0 34px;
}

.fq-prefooter__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fq-prefooter__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: rgba(255,255,255,.88);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}

.fq-prefooter__link:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.32);
  color: #fff;
}

.fq-prefooter__link--primary {
  background: var(--fq-blue);
  border-color: var(--fq-blue);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}

.fq-prefooter__link--primary:hover {
  background: var(--fq-blue-dk);
  border-color: var(--fq-blue-dk);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .fq-layout { flex-direction: column; gap: 0; padding: 28px 16px 0; }
  .fq-sidebar { display: none; }
}

@media (max-width: 600px) {
  .fq-hero { padding: 130px 20px 90px; }
  .fq-hero__title { font-size: 2rem; }
  .fq-tabs { padding: 10px 16px; top: 64px; }
  .fq-tabs__inner { gap: 5px; }
  .fq-tab { font-size: .78rem; padding: 7px 12px; }
  .fq-trigger { font-size: .9rem; padding: 15px 14px 15px 16px; }
  .fq-panel__inner { padding: 14px 16px 18px; font-size: .9rem; }
  .fq-still-stuck { margin-bottom: 40px; }
  .fq-still-stuck__card { padding: 26px 22px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .fq-stats__inner { flex-direction: column; }
  .fq-stats__item { border-right: none; border-bottom: 1px solid var(--fq-border); justify-content: flex-start; padding: 16px 24px; }
  .fq-stats__item:last-child { border-bottom: none; }
  .fq-prefooter { padding: 64px 20px; }
}
