:root {
  --axnv-faq-bg: #020816;
  --axnv-faq-bg-soft: #031126;
  --axnv-faq-card: rgba(255, 255, 255, 0.065);
  --axnv-faq-card-strong: rgba(255, 255, 255, 0.1);
  --axnv-faq-border: rgba(255, 255, 255, 0.12);
  --axnv-faq-border-strong: rgba(87, 211, 255, 0.35);
  --axnv-faq-text: #f5f8ff;
  --axnv-faq-muted: #aab7cf;
  --axnv-faq-muted-2: #7f8aa3;
  --axnv-faq-primary: #42d9ff;
  --axnv-faq-secondary: #8b5cf6;
  --axnv-faq-accent: #19f5b8;
  --axnv-faq-warning: #ffd166;
  --axnv-faq-error: #ff6b6b;
  --axnv-faq-radius-sm: 14px;
  --axnv-faq-radius-md: 22px;
  --axnv-faq-radius-lg: 34px;
  --axnv-faq-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --axnv-faq-max: 1180px;
}

* {
  box-sizing: border-box;
}

.axnv-faq-page a {
  color: inherit;
  text-decoration: none;
}

.axnv-faq-page {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(36, 230, 255, 0.16), transparent 34%),
    radial-gradient(circle at 18% 22%, rgba(10, 98, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(108, 92, 255, 0.12), transparent 30%),
    linear-gradient(180deg, var(--axnv-faq-bg) 0%, var(--axnv-faq-bg-soft) 44%, var(--axnv-faq-bg) 100%);
  color: var(--axnv-faq-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.axnv-faq-container {
  width: min(100% - 40px, var(--axnv-faq-max));
  margin: 0 auto;
}

.axnv-faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--axnv-faq-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.axnv-faq-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--axnv-faq-primary), var(--axnv-faq-secondary));
}

/* HERO */
.axnv-faq-hero {
  position: relative;
  padding: 130px 0 60px;
  overflow: hidden;
}

.axnv-faq-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
}

.axnv-faq-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.axnv-faq-orb-one {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(66, 217, 255, 0.5), transparent 70%);
}

.axnv-faq-orb-two {
  width: 380px;
  height: 380px;
  top: 40px;
  right: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
}

.axnv-faq-hero-copy {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.axnv-faq-hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.axnv-faq-hero-copy > p {
  margin: 0 auto 34px;
  max-width: 640px;
  color: var(--axnv-faq-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.axnv-faq-search-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto 30px;
}

.axnv-faq-search-wrap svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--axnv-faq-muted-2);
  pointer-events: none;
}

.axnv-faq-search-wrap input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: 999px;
  border: 1px solid var(--axnv-faq-border);
  background: var(--axnv-faq-card);
  color: var(--axnv-faq-text);
  font-size: 0.98rem;
  outline: none;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.axnv-faq-search-wrap input::placeholder {
  color: var(--axnv-faq-muted-2);
}

.axnv-faq-search-wrap input:focus {
  border-color: var(--axnv-faq-border-strong);
  background: var(--axnv-faq-card-strong);
}

.axnv-faq-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.axnv-faq-hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 22px;
  border-radius: var(--axnv-faq-radius-sm);
  border: 1px solid var(--axnv-faq-border);
  background: var(--axnv-faq-card);
  min-width: 160px;
}

.axnv-faq-hero-stats span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--axnv-faq-muted-2);
}

.axnv-faq-hero-stats strong {
  font-size: 1rem;
  color: var(--axnv-faq-text);
}

/* CATEGORY NAV */
.axnv-faq-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 8, 22, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--axnv-faq-border);
  padding: 14px 0;
}

.axnv-faq-nav-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.axnv-faq-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--axnv-faq-border);
  background: var(--axnv-faq-card);
  color: var(--axnv-faq-muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.axnv-faq-nav-chip:hover,
.axnv-faq-nav-chip.is-active {
  color: var(--axnv-faq-text);
  border-color: var(--axnv-faq-border-strong);
  background: var(--axnv-faq-card-strong);
}

.axnv-faq-nav-chip-ama {
  border-color: rgba(139, 92, 246, 0.4);
  color: #cabdff;
}

.axnv-faq-no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--axnv-faq-muted);
}

.axnv-faq-no-results a {
  color: var(--axnv-faq-primary);
  text-decoration: underline;
}

/* SECTIONS */
.axnv-faq-section {
  position: relative;
  padding: 70px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.axnv-faq-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 880px;
  margin: 0 0 32px;
  scroll-margin-top: 90px;
}

.axnv-faq-cat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--axnv-faq-radius-sm);
  border: 1px solid var(--axnv-faq-border-strong);
  background: linear-gradient(135deg, rgba(66, 217, 255, 0.16), rgba(139, 92, 246, 0.16));
  font-size: 1.3rem;
}

.axnv-faq-section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
}

.axnv-faq-section-heading p {
  margin: 0;
  color: var(--axnv-faq-muted);
  line-height: 1.7;
}

/* ACCORDION */
.axnv-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.axnv-faq-item {
  border: 1px solid var(--axnv-faq-border);
  border-radius: var(--axnv-faq-radius-sm);
  background: var(--axnv-faq-card);
  padding: 4px 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.axnv-faq-item[open] {
  border-color: var(--axnv-faq-border-strong);
  background: var(--axnv-faq-card-strong);
}

.axnv-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  position: relative;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.5;
}

.axnv-faq-item summary::-webkit-details-marker {
  display: none;
}

.axnv-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--axnv-faq-border);
  color: var(--axnv-faq-primary);
  font-size: 1.1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.axnv-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: rgba(66, 217, 255, 0.14);
}

.axnv-faq-item p {
  margin: 0 0 20px;
  color: var(--axnv-faq-muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

.axnv-faq-item code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--axnv-faq-accent);
  font-size: 0.85em;
  word-break: break-all;
}

.axnv-faq-item a {
  color: var(--axnv-faq-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* AMA */
.axnv-faq-ama-section {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), transparent 60%);
}

.axnv-faq-ama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.axnv-faq-ama-card {
  border: 1px solid var(--axnv-faq-border);
  border-radius: var(--axnv-faq-radius-md);
  background: var(--axnv-faq-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.axnv-faq-ama-q,
.axnv-faq-ama-a {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.axnv-faq-ama-q p {
  margin: 0;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.5;
}

.axnv-faq-ama-a {
  padding-top: 14px;
  border-top: 1px solid var(--axnv-faq-border);
}

.axnv-faq-ama-a p {
  margin: 0;
  color: var(--axnv-faq-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.axnv-faq-ama-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--axnv-faq-muted);
}

.axnv-faq-ama-tag-team {
  background: rgba(66, 217, 255, 0.16);
  color: var(--axnv-faq-primary);
}

/* WARNING CARD */
.axnv-faq-warning-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 32px;
  border-radius: var(--axnv-faq-radius-lg);
  border: 1px solid rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.06);
}

.axnv-faq-warning-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 209, 102, 0.18);
  color: var(--axnv-faq-warning);
  font-weight: 900;
  font-size: 1.2rem;
}

.axnv-faq-warning-card h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.axnv-faq-warning-card p {
  margin: 0 0 20px;
  color: var(--axnv-faq-muted);
  line-height: 1.75;
}

.axnv-faq-warning-card code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--axnv-faq-accent);
  font-size: 0.85em;
  word-break: break-all;
}

.axnv-faq-warning-actions,
.axnv-faq-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* BUTTONS (secondary/ghost — primary reuses global .axio-btn-primary) */
.axnv-faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1px solid var(--axnv-faq-border-strong);
  transition: background 0.2s ease, transform 0.2s ease;
}

.axnv-faq-btn-secondary {
  background: var(--axnv-faq-card);
  color: var(--axnv-faq-text);
}

.axnv-faq-btn-secondary:hover {
  background: var(--axnv-faq-card-strong);
}

.axnv-faq-btn-ghost {
  border-color: var(--axnv-faq-border);
  color: var(--axnv-faq-muted);
}

.axnv-faq-btn-ghost:hover {
  color: var(--axnv-faq-text);
  border-color: var(--axnv-faq-border-strong);
}

/* FINAL CTA */
.axnv-faq-final {
  padding: 80px 0 110px;
}

.axnv-faq-final-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 32px;
  border-radius: var(--axnv-faq-radius-lg);
  border: 1px solid var(--axnv-faq-border);
  background: var(--axnv-faq-card);
}

.axnv-faq-final-card h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.axnv-faq-final-card p {
  margin: 0 0 28px;
  color: var(--axnv-faq-muted);
  line-height: 1.75;
}

.axnv-faq-final-actions {
  justify-content: center;
}

/* Search-filter states (JS toggles these) */
.axnv-faq-page [data-faq-item].axnv-faq-hidden {
  display: none !important;
}

.axnv-faq-page [data-faq-section].axnv-faq-hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .axnv-faq-warning-card {
    flex-direction: column;
  }

  .axnv-faq-section-heading {
    flex-direction: column;
  }
}
