.page-faq {
  --faq-accent: #00D4FF;
  --faq-accent-2: #F2FF00;
  --faq-surface: #131B2A;
  --faq-surface-hover: #182238;
  --faq-line: rgba(255, 255, 255, 0.08);
  --faq-radius: 22px;
  font-family: var(--font-body);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(107, 33, 255, 0.14), transparent 36%),
    radial-gradient(circle at 10% 70%, rgba(0, 212, 255, 0.08), transparent 30%),
    var(--bg);
  overflow-x: hidden;
}

.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.page-faq .breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .breadcrumb a:hover {
  color: var(--white);
}

.page-faq .breadcrumb-sep {
  color: var(--muted);
}

.page-faq .faq-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 48px 28px;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.92) 0%, rgba(19, 35, 58, 0.8) 55%, rgba(107, 33, 255, 0.38) 100%);
  isolation: isolate;
}

.page-faq .faq-hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-faq .faq-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 15, 25, 0.92) 10%, rgba(11, 15, 25, 0.48) 55%, rgba(11, 15, 25, 0.22) 100%);
}

.page-faq .faq-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-faq .faq-hero-copy {
  max-width: 720px;
}

.page-faq .faq-hero-copy .kicker {
  color: var(--blue);
  margin-bottom: 6px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(38px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 14px 0 16px;
}

.page-faq .faq-h1-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 12px;
}

.page-faq .page-summary {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 24px;
}

.page-faq .faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.page-faq .faq-hero-actions .button {
  text-decoration: none;
}

.page-faq .faq-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.page-faq .faq-hero-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.2);
  animation: faq-pulse 2s ease-in-out infinite;
}

@keyframes faq-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.page-faq .faq-quick {
  margin-top: 48px;
}

.page-faq .faq-quick .section-head {
  margin-bottom: 24px;
}

.page-faq .faq-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-faq .faq-quick-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  text-decoration: none;
  color: var(--white);
  background: var(--faq-surface);
  border: 1px solid var(--faq-line);
  border-radius: var(--faq-radius);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.page-faq .faq-quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.5);
  background: var(--faq-surface-hover);
}

.page-faq .faq-quick-card svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.page-faq .faq-quick-title {
  font-family: var(--font-headline);
  font-size: 20px;
  letter-spacing: 0.01em;
}

.page-faq .faq-quick-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.page-faq .faq-layout {
  margin-top: 56px;
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-faq .faq-sidebar {
  background: var(--faq-surface);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.page-faq .faq-sidebar .kicker {
  color: var(--blue);
  margin-bottom: 6px;
}

.page-faq .faq-sidebar .section-title {
  font-size: 28px;
  margin-bottom: 18px;
}

.page-faq .faq-category-list {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-faq .chip-filter {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  scroll-snap-align: start;
}

.page-faq .chip-filter svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: color 0.25s ease;
  flex: none;
}

.page-faq .chip-filter span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.page-faq .chip-filter:hover {
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--white);
}

.page-faq .chip-filter:hover svg {
  color: var(--blue);
}

.page-faq .chip-filter[aria-pressed="true"],
.page-faq .chip-filter.is-active {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.18), rgba(107, 33, 255, 0.14));
  border-color: rgba(0, 212, 255, 0.55);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.page-faq .chip-filter[aria-pressed="true"] svg,
.page-faq .chip-filter.is-active svg {
  color: var(--blue);
}

.page-faq .chip-filter[aria-pressed="true"] span,
.page-faq .chip-filter.is-active span {
  color: var(--blue);
}

.page-faq .faq-sidebar-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.page-faq .faq-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  background: var(--faq-surface);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.page-faq .faq-item[hidden] {
  display: none !important;
}

.page-faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
}

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

.page-faq .faq-q-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  background: rgba(0, 212, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  flex: none;
}

.page-faq .faq-q-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.page-faq .faq-q-toggle {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
}

.page-faq .faq-q-toggle::before,
.page-faq .faq-q-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.page-faq .faq-q-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-item[open] .faq-q-toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.page-faq .faq-item[open] .faq-q-toggle::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

.page-faq .faq-answer {
  padding: 0 20px;
}

.page-faq .faq-answer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.page-faq .faq-item[open] .faq-answer-inner {
  padding-bottom: 20px;
  animation: faq-fade 0.28s ease;
}

.page-faq .faq-answer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.page-faq .faq-answer a:not(.faq-anchor) {
  color: var(--blue);
  text-decoration: none;
}

.page-faq .faq-answer a:not(.faq-anchor):hover {
  text-decoration: underline;
}

.page-faq .faq-anchor {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.page-faq .faq-anchor:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

@keyframes faq-fade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-faq .faq-compat {
  margin-top: 56px;
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-faq .faq-compat-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--faq-surface);
}

.page-faq .faq-compat-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.page-faq .faq-compat-copy .section-title {
  margin: 8px 0 14px;
}

.page-faq .faq-compat-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.page-faq .faq-compat-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-compat-list li {
  position: relative;
  padding-left: 32px;
  color: var(--white);
  font-size: 15px;
}

.page-faq .faq-compat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  box-shadow: inset 0 0 0 5px rgba(0, 212, 255, 0.35);
}

.page-faq .faq-contact-cta {
  margin-top: 56px;
  background: linear-gradient(135deg, rgba(107, 33, 255, 0.16), rgba(0, 212, 255, 0.08));
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: grid;
  gap: 24px;
}

.page-faq .faq-contact-copy .kicker {
  color: var(--yellow);
}

.page-faq .faq-contact-copy h2 {
  margin: 8px 0 10px;
}

.page-faq .faq-contact-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.page-faq .faq-contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-faq .faq-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--faq-surface);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
}

.page-faq .faq-contact-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.page-faq .faq-contact-label {
  font-size: 13px;
  color: var(--muted);
}

.page-faq .faq-contact-value {
  font-family: var(--font-mono);
  color: var(--white);
  font-size: 15px;
  word-break: break-all;
}

@media (min-width: 640px) {
  .page-faq .faq-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-faq .faq-contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    min-height: 460px;
    padding: 56px 48px;
  }

  .page-faq .faq-hero-copy {
    max-width: 680px;
  }

  .page-faq .faq-quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-faq .faq-layout {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }

  .page-faq .faq-sidebar {
    position: sticky;
    top: 96px;
  }

  .page-faq .faq-category-list {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-faq .chip-filter {
    white-space: normal;
  }

  .page-faq .faq-compat {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
  }

  .page-faq .faq-contact-cta {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 40px 48px;
  }
}
