/* =========================================
   FAQ REDESIGN – Modern Dark Finance Theme
   Mirrors: login-redesign.css / levels-redesign
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Scope: everything inside .faq-page ── */
body:has(.faq-page),
html:has(.faq-page) {
  background: #070b14 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body { background: #070b14; }

/* ── CSS variables (mirrors home-redesign) ── */
.faq-page {
  --accent:            var(--AppColor, #00d4aa);
  --accent-glow:       rgba(0, 212, 170, 0.25);
  --accent-dark:       #009e7e;
  --bg-base:           #070b14;
  --bg-card:           #0d1424;
  --bg-glass:          rgba(255,255,255,0.04);
  --bg-glass-border:   rgba(255,255,255,0.08);
  --text-primary:      #f0f4ff;
  --text-secondary:    #8b9bb4;
  --text-muted:        #4a5568;
  --border:            rgba(255,255,255,0.07);
  --shadow-card:       0 8px 40px rgba(0,0,0,0.5);
  --radius:            18px;
  --radius-sm:         10px;
  --radius-pill:       100px;

  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  box-sizing: border-box;
}
.faq-page * { box-sizing: border-box; }

/* ── hide the old site wrappers when this redesign is active ── */
.faq-page > .preloader,
.faq-page > header.main-header,
.faq-page > .mobile-menu,
.faq-page > section.page-title,
.faq-page > footer.main-footer,
.faq-page > .sticky-header,
.faq-page > section:not(.faq-main-section),
.faq-page > button.scroll-top,
.faq-page > style,
.faq-page > section.xVDL { display: none !important; }

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.faq-bg {
  position: fixed;
  inset: 0; z-index: 0;
  background: var(--bg-base);
}
.faq-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(0,212,170,0.035) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(99,102,241,0.03) 0%, transparent 60%);
}
.faq-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 80%);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.faq-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 68px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,11,20,0.80);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.faq-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.faq-nav-logo img { height: 36px; filter: brightness(1.1); }
.faq-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.faq-nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.faq-nav-links a:hover { color: var(--text-primary); }
.faq-nav-actions { display: flex; align-items: center; gap: 10px; }
.faq-nav-ghost {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: var(--text-primary); background: transparent; border: 1px solid var(--border);
  text-decoration: none; transition: all 0.25s;
}
.faq-nav-ghost:hover { border-color: var(--accent); color: var(--accent); }
.faq-nav-cta {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--accent);
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 0 18px var(--accent-glow);
}
.faq-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--accent-glow); color: #fff; }

/* ============================================================
   MAIN WRAPPER & HEADER
   ============================================================ */
.faq-wrapper {
  position: relative;
  z-index: 1;
  padding: 130px clamp(20px, 5vw, 80px) 100px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 70px;
  animation: faqFadeUp 0.6s ease both;
}
.faq-header-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-pill);
  background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.22);
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.faq-header h1 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
  color: var(--text-primary);
}
.faq-header h1 em { font-style: normal; color: var(--accent); }
.faq-header p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   ACCORDION STYLING
   ============================================================ */
/* Category Title */
.faq-cat-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 50px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.5px;
  animation: faqFadeUp 0.6s ease 0.1s both;
}
.faq-cat-title i { color: var(--accent); font-size: 18px; }

/* The modern accordion card */
.faq-card {
  background: rgba(13,20,36,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  animation: faqFadeUp 0.6s ease 0.2s both;
}
.faq-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(13,20,36,0.85);
}

.faq-card-header {
  padding: 0;
  background: transparent;
  border-bottom: none;
}
/* The actual toggle button */
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
  font-family: inherit;
  transition: color 0.3s;
}
.faq-btn:hover { color: var(--accent); }
.faq-btn:focus { outline: none; }

/* Accordion indicator (+ / -) */
.faq-btn .faq-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.3s ease;
  margin-left: 20px;
}
.faq-btn:not(.collapsed) .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(180deg);
}

/* Accordion body container */
.faq-collapse {
  transition: height 0.35s ease-in-out;
}
.faq-body {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.faq-body a { color: var(--accent); text-decoration: none; }
.faq-body a:hover { text-decoration: underline; }

/* Support CTA block at bottom */
.faq-footer-cta {
  margin-top: 60px;
  padding: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,212,170,0.1) 0%, rgba(13,20,36,0.8) 100%);
  border: 1px solid rgba(0,212,170,0.2);
  text-align: center;
  animation: faqFadeUp 0.6s ease 0.4s both;
}
.faq-footer-cta h3 { color: #fff; font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.faq-footer-cta p { color: var(--text-secondary); font-size: 15px; margin: 0 0 24px; }
.faq-footer-cta a {
  display: inline-block;
  padding: 12px 28px; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.faq-footer-cta a:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--accent-glow); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@keyframes faqFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 820px) {
  .faq-nav-links { display: none; }
  .faq-btn { font-size: 15px; padding: 20px; }
  .faq-body { padding: 0 20px 20px; font-size: 14px; }
}
@media (max-width: 480px) {
  .faq-header h1 { font-size: 32px; }
  .faq-nav-cta { padding: 6px 14px; font-size: 12px; }
  .faq-nav-ghost { padding: 6px 12px; font-size: 12px; }
  .faq-footer-cta { padding: 30px 20px; }
}
@media (max-width: 360px) {
  .faq-nav-cta { padding: 5px 10px; font-size: 11px; }
  .faq-nav-ghost { padding: 5px 8px; font-size: 11px; }
}
