.page-faq {
  --faq-clip: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --faq-clip-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  --faq-panel-lifted: #131B2A;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

@keyframes page-faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-faq .faq-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 118px 20px 36px;
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(0, 200, 255, 0.16), rgba(57, 255, 20, 0.04) 60%, transparent 80%);
  pointer-events: none;
  clip-path: var(--faq-clip);
}

.page-faq .faq-hero::after {
  content: 'Q&A';
  position: absolute;
  right: 18px;
  top: 108px;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 200, 255, 0.14);
  pointer-events: none;
  z-index: 0;
}

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

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 8px;
}

.page-faq .faq-hero-title {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--title);
  max-width: 12em;
}

.page-faq .faq-hero-title::before {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--grad);
  margin-bottom: 18px;
  transform: skewX(-30deg);
}

.page-faq .faq-hero-lead {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.page-faq .faq-quicknav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.page-faq .faq-quicknav-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-data);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.06);
  padding: 8px 12px;
  clip-path: var(--faq-clip-sm);
}

.page-faq .faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  clip-path: var(--faq-clip-sm);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-faq .faq-chip:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.25);
  transform: translateY(-2px);
}

.page-faq .faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
  scroll-margin-top: 88px;
  position: relative;
}

.page-faq .faq-section + .faq-section {
  border-top: 1px solid var(--border);
}

.page-faq .faq-section--lang::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.08), transparent 70%);
  clip-path: var(--faq-clip);
  pointer-events: none;
}

.page-faq .faq-section-head {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-faq .faq-section-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 80px;
  background: var(--grad);
}

.page-faq .faq-section-head .section-no {
  font-family: var(--font-data);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 0.8;
  color: var(--accent);
  text-shadow: 4px 4px 0 rgba(0, 200, 255, 0.12);
}

.page-faq .faq-section-head .section-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--title);
}

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

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
}

.page-faq .faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  clip-path: var(--faq-clip-sm);
  margin-bottom: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 200, 255, 0.5);
  background: var(--faq-panel-lifted);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--title);
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.page-faq .faq-qno {
  flex-shrink: 0;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent-2);
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.08);
  padding: 3px 8px 2px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-faq .faq-qtxt {
  flex: 1;
}

.page-faq .faq-qicon {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-data);
  font-size: 1.2rem;
  line-height: 1;
  clip-path: var(--faq-clip-sm);
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
}

.page-faq .faq-qicon::before {
  content: '+';
}

.page-faq .faq-item[open] .faq-qicon::before {
  content: '–';
}

.page-faq .faq-item[open] .faq-qicon {
  background: rgba(0, 200, 255, 0.12);
  border-color: var(--accent);
  transform: rotate(180deg);
}

.page-faq .faq-answer {
  padding: 14px 14px 18px 46px;
  border-top: 1px dashed rgba(0, 200, 255, 0.18);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

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

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

.page-faq .faq-answer ul,
.page-faq .faq-answer ol {
  margin: 0 0 10px;
  padding-left: 1.2em;
}

.page-faq .faq-answer li {
  margin: 6px 0;
}

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

.page-faq .faq-item[open] .faq-answer {
  animation: page-faq-answer-in 0.3s ease;
}

.page-faq .kw {
  font-style: normal;
  color: var(--accent);
  background: rgba(0, 200, 255, 0.08);
  padding: 1px 6px;
  border-left: 2px solid var(--accent);
  white-space: normal;
}

.page-faq .faq-media {
  position: relative;
  margin: 0;
  padding: 12px;
  background: linear-gradient(145deg, rgba(0, 200, 255, 0.08), rgba(57, 255, 20, 0.04));
  border: 1px solid var(--border);
  clip-path: var(--faq-clip);
  align-self: start;
}

.page-faq .faq-media::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 3px;
  background: var(--grad);
  transform: skewX(-35deg);
}

.page-faq .faq-media img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--faq-clip-sm);
  background: var(--bg-panel);
}

.page-faq .faq-data-grid {
  display: grid;
  gap: 30px;
}

.page-faq .faq-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
}

.page-faq .faq-stat {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  clip-path: var(--faq-clip-sm);
  padding: 18px 14px 14px;
}

.page-faq .faq-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.page-faq .faq-stat::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.1;
  transform: rotate(45deg);
}

.page-faq .faq-stat-num {
  display: block;
  font-family: var(--font-data);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.page-faq .faq-stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--title);
  margin-top: 10px;
}

.page-faq .faq-stat-note {
  display: block;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text);
  margin-top: 4px;
}

.page-faq .faq-cta {
  position: relative;
  margin-top: 12px;
  padding: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  clip-path: var(--faq-clip);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-content: start;
}

.page-faq .faq-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
}

.page-faq .faq-cta-kicker {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.06);
  padding: 3px 8px;
  clip-path: var(--faq-clip-sm);
}

.page-faq .faq-cta-title {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--title);
}

.page-faq .faq-cta-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-faq .faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq .faq-cta-actions .btn {
  margin: 0;
}

@media (min-width: 860px) {
  .page-faq .faq-hero {
    padding: 168px 40px 52px;
  }

  .page-faq .faq-hero-title {
    font-size: 4rem;
  }

  .page-faq .faq-hero-lead {
    max-width: 640px;
    font-size: 1.05rem;
  }

  .page-faq .faq-section {
    padding: 64px 40px;
  }

  .page-faq .faq-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 44px;
    align-items: start;
  }

  .page-faq .faq-grid--reverse .faq-media {
    order: -1;
  }

  .page-faq .faq-data-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 44px;
    align-items: start;
  }

  .page-faq .faq-stats {
    gap: 14px;
  }

  .page-faq .faq-stat-num {
    font-size: 2.8rem;
  }

  .page-faq .faq-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 30px 34px;
    gap: 20px;
  }

  .page-faq .faq-cta-main {
    max-width: 58%;
  }
}
