.page-faq {
  --faq-navy-deep: #060B14;
  --faq-navy: #0A1220;
  --faq-navy-soft: #152A43;
  --faq-bg: #F0F4F8;
  --faq-card: #FFFFFF;
  --faq-line: #D3DCE6;
  --faq-muted: #8892A6;
  --faq-accent: #FF6B35;
  --faq-electric: #00B4D8;
  --faq-cyan: #00E5FF;
  --faq-purple: #7B2CBF;
  --faq-text: #1A1A1A;
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(ellipse at 80% 8%, rgba(0, 229, 255, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, var(--faq-navy-deep) 0%, var(--faq-navy) 45%, var(--faq-navy-soft) 100%);
  color: #fff;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "FAQ";
  position: absolute;
  right: 16px;
  bottom: -46px;
  font-family: var(--font-mono);
  font-size: clamp(140px, 20vw, 260px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.page-faq .faq-hero .container {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.64);
}

.page-faq .faq-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
  transition: color 0.2s;
}

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

.page-faq .faq-hero .section-kicker {
  color: var(--faq-cyan);
}

.page-faq .faq-hero-grid {
  display: grid;
  gap: 28px;
}

.page-faq .faq-hero-copy h1 {
  margin: 0 0 14px;
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-faq .faq-hero-lead {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.8;
}

.page-faq .faq-hero-card {
  position: relative;
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-faq .faq-hero-card .badge {
  margin-bottom: 12px;
}

.page-faq .faq-hero-card-heading {
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 1.05rem;
}

.page-faq .faq-hero-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-hero-card-list li + li {
  margin-top: 10px;
}

.page-faq .faq-hero-card-list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  transition: color 0.2s, transform 0.2s;
}

.page-faq .faq-hero-card-list a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faq-accent);
  flex-shrink: 0;
  transition: background 0.2s;
}

.page-faq .faq-hero-card-list a:hover {
  color: var(--faq-cyan);
  transform: translateX(4px);
}

.page-faq .faq-body {
  background: linear-gradient(180deg, var(--faq-bg) 0%, #E6EDF4 100%);
  padding: 40px 0 64px;
}

.page-faq .faq-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.page-faq .faq-stat {
  background: var(--faq-card);
  border-left: 4px solid var(--faq-accent);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(6, 11, 20, 0.05);
}

.page-faq .faq-stat .data-number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
  color: var(--faq-navy-deep);
}

.page-faq .faq-stat .data-label {
  font-size: 0.8125rem;
  color: var(--faq-muted);
}

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

.page-faq .faq-index {
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(160deg, var(--faq-navy-deep) 0%, var(--faq-navy) 60%, var(--faq-navy-soft) 100%);
  color: #fff;
}

.page-faq .faq-index-icon {
  display: none;
}

.page-faq .faq-index-title {
  display: none;
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.page-faq .faq-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-index-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--faq-navy);
  border: 1px solid var(--faq-line);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  text-decoration: none;
  transition: box-shadow 0.2s, color 0.2s, border-color 0.2s;
}

.page-faq .faq-index-list a:hover {
  box-shadow: 0 6px 16px rgba(0, 180, 216, 0.2);
  border-color: var(--faq-electric);
  color: var(--faq-navy-deep);
}

.page-faq .faq-index-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--faq-accent);
}

.page-faq .faq-index-list a:hover .faq-index-num {
  color: var(--faq-navy-deep);
}

.page-faq .faq-index-note {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  color: var(--faq-muted);
  line-height: 1.7;
}

.page-faq .faq-main {
  min-width: 0;
}

.page-faq .faq-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-faq .faq-filter-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.page-faq .faq-filter-labels label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--faq-line);
  color: var(--faq-navy);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.page-faq .faq-filter-labels label:hover {
  box-shadow: 0 8px 20px rgba(6, 11, 20, 0.08);
  transform: translateY(-2px);
}

.page-faq .faq-filter:has(#cat-all:checked) label[for="cat-all"],
.page-faq .faq-filter:has(#cat-download:checked) label[for="cat-download"],
.page-faq .faq-filter:has(#cat-data:checked) label[for="cat-data"],
.page-faq .faq-filter:has(#cat-pricing:checked) label[for="cat-pricing"],
.page-faq .faq-filter:has(#cat-other:checked) label[for="cat-other"] {
  background: var(--faq-accent);
  border-color: var(--faq-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.28);
}

.page-faq .faq-filter:has(#cat-all:focus-visible) label[for="cat-all"],
.page-faq .faq-filter:has(#cat-download:focus-visible) label[for="cat-download"],
.page-faq .faq-filter:has(#cat-data:focus-visible) label[for="cat-data"],
.page-faq .faq-filter:has(#cat-pricing:focus-visible) label[for="cat-pricing"],
.page-faq .faq-filter:has(#cat-other:focus-visible) label[for="cat-other"] {
  outline: 3px solid rgba(0, 180, 216, 0.4);
  outline-offset: 2px;
}

.page-faq .faq-panels {
  display: grid;
  gap: 24px;
}

.page-faq .faq-panel {
  background: var(--faq-card);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(6, 11, 20, 0.07);
  counter-reset: faq;
}

.page-faq .faq-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--faq-bg);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--faq-navy-deep);
}

.page-faq .faq-panel-title span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--faq-accent);
  letter-spacing: 0.08em;
}

.page-faq .faq-item {
  background: #F8FAFC;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.page-faq .faq-item[open] {
  background: #fff;
  border-color: rgba(0, 180, 216, 0.32);
  box-shadow: 0 8px 20px rgba(6, 11, 20, 0.06);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--faq-navy-deep);
}

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

.page-faq .faq-item summary::before {
  content: "Q" counter(faq);
  counter-increment: faq;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--faq-navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
}

.page-faq .faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--faq-electric);
  transition: transform 0.2s, color 0.2s;
}

.page-faq .faq-item[open] summary::after {
  content: "−";
  color: var(--faq-accent);
}

.page-faq .faq-item summary:hover {
  color: var(--faq-electric);
}

.page-faq .faq-answer {
  padding: 0 0 16px 48px;
  color: #445;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-faq .faq-answer p {
  margin: 0;
}

.page-faq .faq-answer a {
  color: var(--faq-electric);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-faq .faq-answer a:hover {
  color: var(--faq-accent);
}

.page-faq .faq-contact {
  background: #E6EDF4;
  padding: 48px 0 72px;
}

.page-faq .faq-contact-card {
  display: grid;
  gap: 24px;
  border-radius: 18px;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--faq-navy-deep) 0%, var(--faq-navy) 52%, var(--faq-purple) 180%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(6, 11, 20, 0.22);
}

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

.page-faq .faq-contact-copy h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.3;
}

.page-faq .faq-contact-copy p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.page-faq .faq-contact-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 44px rgba(6, 11, 20, 0.5);
}

.page-faq .faq-filter:has(#cat-download:checked) .faq-panel:not(#faq-download),
.page-faq .faq-filter:has(#cat-data:checked) .faq-panel:not(#faq-data),
.page-faq .faq-filter:has(#cat-pricing:checked) .faq-panel:not(#faq-pricing),
.page-faq .faq-filter:has(#cat-other:checked) .faq-panel:not(#faq-other) {
  display: none;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 56px 0 72px;
  }

  .page-faq .faq-hero-copy h1 {
    font-size: 2.5rem;
  }

  .page-faq .faq-hero-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
  }

  .page-faq .faq-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

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

  .page-faq .faq-index {
    position: sticky;
    top: 24px;
    padding: 28px 22px;
  }

  .page-faq .faq-index-icon {
    display: block;
    width: 100px;
    height: 100px;
    margin-bottom: 18px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 8px 20px rgba(0, 180, 216, 0.35));
  }

  .page-faq .faq-index-title {
    display: block;
  }

  .page-faq .faq-index-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .page-faq .faq-index-list::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    border-left: 1px dashed rgba(0, 229, 255, 0.28);
  }

  .page-faq .faq-index-list a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 10px 10px 10px 44px;
    border-radius: 10px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.84);
    white-space: normal;
    font-size: 0.9375rem;
  }

  .page-faq .faq-index-list a:hover {
    background: rgba(0, 180, 216, 0.14);
    border-color: transparent;
    box-shadow: none;
    color: #fff;
  }

  .page-faq .faq-index-num {
    color: var(--faq-cyan);
  }

  .page-faq .faq-index-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
  }

  .page-faq .faq-panel {
    padding: 32px 28px;
  }

  .page-faq .faq-contact {
    padding: 64px 0 88px;
  }

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

@media (min-width: 1200px) {
  .page-faq .faq-hero-copy h1 {
    font-size: 2.75rem;
  }

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

  .page-faq .faq-stats {
    margin-bottom: 40px;
  }

  .page-faq .faq-panels {
    gap: 28px;
  }

  .page-faq .faq-contact-card {
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
  }
}
