.page-faq {
  --faq-grid-line: rgba(57, 255, 136, 0.045);
  --faq-card-bg: rgba(26, 35, 58, 0.55);
  --faq-border: rgba(255, 255, 255, 0.08);
  background: var(--color-deep);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

.page-faq__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-faq a {
  color: var(--color-neon);
  text-decoration: none;
}

.page-faq a:hover {
  text-decoration: underline;
}

.page-faq__hero {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(920px 420px at 82% -10%, rgba(255, 107, 53, 0.18), transparent 65%),
    radial-gradient(680px 360px at 12% 110%, rgba(57, 255, 136, 0.12), transparent 60%),
    var(--color-deep);
}

.page-faq__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--faq-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--faq-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-faq__hero::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(57, 255, 136, 0.08);
  filter: blur(80px);
  pointer-events: none;
}

.page-faq__hero-inner {
  position: relative;
  z-index: 1;
}

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

.page-faq__hero-copy .coord-label {
  display: inline-block;
  margin-bottom: 16px;
}

.page-faq__hero-copy h1 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin: 0 0 18px;
}

.page-faq__hero-sub {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 8px;
  max-width: 640px;
}

.page-faq__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-faq__hero-visual {
  margin-top: 36px;
}

.page-faq__hero-frame {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(57, 255, 136, 0.2), rgba(255, 107, 53, 0.14));
  transform: rotate(-1.2deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.page-faq__hero-frame::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.page-faq__hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.page-faq__hero-coord {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(10, 17, 40, 0.78);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-neon);
  border: 1px solid rgba(57, 255, 136, 0.25);
}

.page-faq__index-bar {
  position: relative;
  z-index: 5;
  background: rgba(11, 29, 58, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.page-faq__index-bar .container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.page-faq__index-bar .container::-webkit-scrollbar {
  display: none;
}

.page-faq__index-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-faq__index-item span {
  color: var(--color-neon);
  font-weight: 700;
}

.page-faq__index-item:hover {
  border-color: rgba(57, 255, 136, 0.4);
  color: var(--color-white);
  text-decoration: none;
}

.page-faq__section + .page-faq__section {
  position: relative;
}

.page-faq__section + .page-faq__section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.22), transparent);
}

.page-faq__section-head {
  position: relative;
  margin-bottom: 32px;
  padding-left: 16px;
}

.page-faq__section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-neon), transparent);
}

.page-faq__section--screen .page-faq__section-head::before {
  background: linear-gradient(180deg, var(--color-orange), transparent);
}

.page-faq__section--fixture .page-faq__section-head::before {
  background: linear-gradient(180deg, var(--color-gold), transparent);
}

.page-faq__section--contact .page-faq__section-head::before {
  background: linear-gradient(180deg, var(--color-rose), transparent);
}

.page-faq__section-head .section__index {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-neon);
}

.page-faq__section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin: 0 0 10px;
}

.page-faq__section-desc {
  max-width: 640px;
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
}

.page-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.page-faq__list-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .accordion__item {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-border);
  border-radius: 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-faq .accordion__item[open] {
  border-color: rgba(57, 255, 136, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(57, 255, 136, 0.06);
}

.page-faq__section--screen .accordion__item[open] {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 107, 53, 0.07);
}

.page-faq__section--fixture .accordion__item[open] {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 215, 0, 0.06);
}

.page-faq__section--contact .accordion__item[open] {
  border-color: rgba(255, 45, 85, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 45, 85, 0.07);
}

.page-faq .accordion__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  border-radius: 18px;
  transition: background 0.2s ease;
}

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

.page-faq .accordion__summary:hover {
  background: rgba(255, 255, 255, 0.025);
}

.page-faq .accordion__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neon);
  background: rgba(57, 255, 136, 0.1);
}

.page-faq__section--screen .accordion__icon {
  color: var(--color-orange);
  background: rgba(255, 107, 53, 0.12);
}

.page-faq__section--fixture .accordion__icon {
  color: var(--color-gold);
  background: rgba(255, 215, 0, 0.1);
}

.page-faq__section--contact .accordion__icon {
  color: var(--color-rose);
  background: rgba(255, 45, 85, 0.12);
}

.page-faq .accordion__text {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
}

.page-faq .accordion__num {
  display: inline-block;
  margin-right: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-neon);
  opacity: 0.7;
}

.page-faq .accordion__toggle {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--color-text);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.page-faq .accordion__item[open] .accordion__toggle {
  transform: rotate(135deg);
  border-color: var(--color-neon);
  color: var(--color-neon);
}

.page-faq .accordion__content {
  padding: 2px 20px 20px 68px;
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--color-text);
}

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

.page-faq .accordion__content strong {
  color: var(--color-neon);
  font-weight: 600;
}

.page-faq__section--fixture .accordion__content strong {
  color: var(--color-gold);
}

.page-faq__side-card {
  position: relative;
  margin: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(11, 29, 58, 0.55);
}

.page-faq__side-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-faq__side-caption {
  margin: 10px 4px 4px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text);
}

.page-faq__device-panel {
  padding: 24px;
}

.page-faq__device-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.page-faq__device-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}

.page-faq__device-list li:last-child {
  border-bottom: 0;
}

.page-faq__device-list strong {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
}

.page-faq__device-list span {
  font-size: 0.8rem;
  color: var(--color-text);
  text-align: right;
}

.page-faq__stat-panel {
  padding: 24px;
}

.page-faq__stat-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-white);
  margin: 12px 0 4px;
}

.page-faq__stat-unit {
  font-size: 0.5em;
  color: var(--color-neon);
  vertical-align: super;
  margin-left: 2px;
}

.page-faq__stat-label {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--color-text);
}

.page-faq__stat-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.page-faq__stat-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 0.85rem;
  color: var(--color-text);
}

.page-faq__stat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-neon);
  transform: rotate(45deg);
}

.page-faq__contact-panel {
  padding: 24px;
}

.page-faq__contact-line {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 10px 0;
  word-break: break-all;
}

@media (min-width: 640px) {
  .page-faq__hero {
    padding: 64px 0 56px;
  }

  .page-faq__hero-copy h1 {
    font-size: 2.6rem;
  }

  .page-faq__hero-visual {
    margin-top: 32px;
  }
}

@media (min-width: 768px) {
  .page-faq__section-head h2 {
    font-size: 2rem;
  }

  .page-faq__section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
  }

  .page-faq__section-head .section__index {
    margin-bottom: 0;
  }

  .page-faq__section-desc {
    flex-basis: 100%;
  }

  .page-faq__index-item {
    font-size: 0.9rem;
  }
}

@media (min-width: 992px) {
  .page-faq__hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }

  .page-faq__hero-copy h1 {
    font-size: 3rem;
  }

  .page-faq__hero-visual {
    margin-top: 0;
  }

  .page-faq__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
  }

  .page-faq__side {
    position: sticky;
    top: 100px;
  }
}

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

  .page-faq__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .page-faq__section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
