.page-faq {
  position: relative;
  padding-bottom: 56px;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.028) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-faq .container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-faq .breadcrumb {
  padding: 22px 0 6px;
}

.page-faq .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

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

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

.page-faq .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--metal);
  opacity: 0.55;
}

.page-faq .page-head {
  position: relative;
  padding: 18px 0 30px;
}

.page-faq .page-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange) 55%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
}

.page-faq .section-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-blue);
  text-transform: uppercase;
  border: 1px solid var(--border-blue);
  padding: 4px 10px;
  background: var(--blue-glow);
  position: relative;
}

.page-faq .page-title {
  font-size: clamp(30px, 5.4vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  margin: 18px 0 12px;
  color: var(--text-main);
  font-style: italic;
  letter-spacing: -0.02em;
}

.page-faq .page-sub {
  max-width: 720px;
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0 0;
  align-items: start;
}

.page-faq .faq-menu {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 27, 45, 0.95), rgba(26, 35, 51, 0.8));
  border: 1px solid var(--border-dim);
  border-left: 3px solid var(--accent-orange);
  padding: 18px 16px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.page-faq .faq-menu-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(176, 190, 205, 0.25);
}

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

.page-faq .faq-menu-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 12px;
  background: rgba(176, 190, 205, 0.07);
  border: 1px solid rgba(176, 190, 205, 0.18);
  border-radius: 4px;
  transition: all 0.25s;
}

.page-faq .faq-menu-link:hover,
.page-faq .faq-menu-link:focus {
  color: var(--accent-blue);
  border-color: var(--border-blue);
  background: var(--blue-glow);
  transform: translateY(-2px);
}

.page-faq .faq-menu-link:focus {
  outline: 1px solid var(--accent-orange);
  outline-offset: 2px;
}

.page-faq .faq-menu-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-orange);
  margin-right: 8px;
  opacity: 0.85;
}

.page-faq .faq-menu-divider {
  margin: 16px 0 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-orange), transparent);
  opacity: 0.35;
}

.page-faq .faq-help-card {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid var(--border-blue);
  border-radius: 0 8px 8px 0;
  padding: 14px;
}

.page-faq .faq-help-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.page-faq .faq-help-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-faq .faq-help-btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-blue);
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  background: transparent;
  text-decoration: none;
  transition: all 0.25s;
}

.page-faq .faq-help-btn:hover {
  background: var(--blue-glow);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.15);
}

.page-faq .faq-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.page-faq .faq-section {
  scroll-margin-top: 80px;
  position: relative;
  padding-top: 6px;
}

.page-faq .faq-section-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding-left: 18px;
}

.page-faq .faq-section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 4px;
  background: var(--accent-orange);
  border-radius: 2px;
  transition: width 0.2s, box-shadow 0.2s;
}

.page-faq .faq-section:target .faq-section-head::before {
  width: 8px;
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.5);
}

.page-faq .faq-section-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  background: var(--blue-glow);
  border: 1px solid var(--border-blue);
  padding: 3px 7px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-faq .faq-section-title {
  font-size: 25px;
  font-weight: 900;
  margin: 0;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.page-faq .faq-section-desc {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}

.page-faq .faq-section-desc a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-blue);
  transition: all 0.2s;
}

.page-faq .faq-section-desc a:hover {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

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

.page-faq .faq-item {
  position: relative;
  background: rgba(20, 27, 45, 0.7);
  border: 1px solid var(--border-dim);
  border-left: 3px solid transparent;
  border-radius: 0 10px 10px 0;
  transition: all 0.3s;
  overflow: hidden;
}

.page-faq .faq-item:hover {
  transform: translateX(4px);
  border-color: rgba(0, 229, 255, 0.25);
}

.page-faq .faq-item[data-open] {
  border-left-color: var(--accent-orange);
  background: rgba(20, 27, 45, 0.95);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.07);
}

.page-faq .faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  user-select: none;
  cursor: pointer;
  transition: all 0.2s;
}

.page-faq .faq-question:hover {
  background: var(--blue-glow);
}

.page-faq .faq-q-mark {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-orange);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.3);
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.page-faq .accordion-icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s;
}

.page-faq .accordion-icon::before,
.page-faq .accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-blue);
  transition: background 0.3s;
}

.page-faq .accordion-icon::before {
  width: 10px;
  height: 2px;
}

.page-faq .accordion-icon::after {
  width: 2px;
  height: 10px;
}

.page-faq .faq-item[data-open] .accordion-icon::before,
.page-faq .faq-item[data-open] .accordion-icon::after {
  background: var(--accent-orange);
}

.page-faq .faq-item[data-open] .accordion-icon {
  border-color: rgba(255, 106, 0, 0.6);
}

.page-faq .faq-answer {
  padding: 14px 16px 18px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
}

.page-faq .faq-item[data-open] .faq-answer {
  animation: faqFadeIn 0.4s ease 0.05s both;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.page-faq .faq-answer strong {
  color: var(--text-main);
  font-weight: 700;
}

.page-faq .faq-answer a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-blue);
  transition: all 0.2s;
}

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

.page-faq .faq-steps {
  list-style: none;
  margin: 12px 0 14px;
  padding: 0;
  counter-reset: faqStep;
}

.page-faq .faq-steps li {
  counter-increment: faqStep;
  position: relative;
  padding-left: 34px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.page-faq .faq-steps li::before {
  content: counter(faqStep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  background: var(--blue-glow);
  border: 1px solid var(--border-blue);
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
}

.page-faq .faq-steps li::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 5px;
  width: 4px;
  height: 4px;
  background: var(--accent-orange);
  border-radius: 50%;
}

.page-faq .faq-ul {
  list-style: none;
  margin: 12px 0 14px;
  padding: 0;
}

.page-faq .faq-ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.page-faq .faq-ul li::before {
  content: "//";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-orange);
  opacity: 0.75;
}

.page-faq .faq-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255, 209, 102, 0.06);
  border-left: 3px solid var(--warning);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-faq .step-diagram {
  position: relative;
  margin: 16px 0 18px;
  padding: 10px;
  background: var(--bg-panel-soft);
  border: 1px solid var(--border-dim);
  border-radius: 0 12px 12px 0;
}

.page-faq .step-diagram img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 0 8px 8px 0;
  background: var(--bg-panel-soft);
}

.page-faq .step-diagram::after {
  content: "DEVICE VERIFY";
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent-blue);
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--border-blue);
  padding: 4px 10px;
  border-radius: 3px;
  pointer-events: none;
}

.page-faq .panel-compare {
  position: relative;
  margin: 16px 0 18px;
  padding: 10px;
  background: var(--bg-panel-soft);
  border: 1px solid var(--border-dim);
  border-radius: 0 12px 12px 0;
}

.page-faq .panel-compare img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 0 8px 8px 0;
  background: var(--bg-panel-soft);
}

.page-faq .panel-compare::after {
  content: "PANEL VER.";
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent-orange);
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid rgba(255, 106, 0, 0.4);
  padding: 4px 10px;
  border-radius: 3px;
  pointer-events: none;
}

.page-faq .faq-legal-note {
  margin-top: 22px;
  padding: 14px 16px;
  background: rgba(255, 106, 0, 0.05);
  border: 1px dashed rgba(255, 106, 0, 0.3);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
}

.page-faq .faq-legal-note a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-blue);
}

.page-faq .faq-legal-note a:hover {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

@media (min-width: 1024px) {
  .page-faq .container {
    padding: 0 36px;
  }

  .page-faq .faq-grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    padding-top: 36px;
  }

  .page-faq .faq-menu {
    position: sticky;
    top: 96px;
    padding: 22px 18px;
  }

  .page-faq .faq-menu-list {
    flex-direction: column;
    gap: 4px;
  }

  .page-faq .faq-menu-link {
    display: flex;
    width: 100%;
    padding: 10px 12px;
    border-left: 2px solid transparent;
  }

  .page-faq .faq-menu-link:hover,
  .page-faq .faq-menu-link:focus {
    border-left-color: var(--accent-blue);
    transform: translateX(3px);
  }

  .page-faq .faq-content {
    gap: 40px;
  }

  .page-faq .faq-section-title {
    font-size: 28px;
  }
}
