.page-faq {
  --faq-violet: #8B5CF6;
  --faq-muted: rgba(248, 250, 252, .62);
  position: relative;
  overflow-x: clip;
  background: var(--navy);
  color: var(--mist);
}

.page-faq .faq-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 720px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-bg img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .14;
  transform: scale(1.08) rotate(-1deg);
}

.page-faq .faq-hero {
  position: relative;
  z-index: 1;
  padding-top: 32px;
}

.page-faq .faq-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.page-faq .faq-hero-copy .section-label,
.page-faq .faq-categories-head .section-label,
.page-faq .faq-contact-copy .section-label {
  color: var(--cyan);
  letter-spacing: .12em;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 12px 0 16px;
  color: var(--mist);
}

.page-faq .lead-text {
  max-width: 760px;
  color: var(--faq-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.page-faq .faq-hero-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-faq .faq-stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 48, 74, .92), rgba(10, 27, 42, .94));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 14px 16px;
}

.page-faq .faq-stat-card::after {
  content: '';
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, .2), transparent 70%);
  pointer-events: none;
}

.page-faq .faq-stat-card:nth-child(1)::after {
  background: radial-gradient(circle, rgba(255, 107, 53, .24), transparent 70%);
}

.page-faq .faq-stat-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(16, 185, 129, .2), transparent 70%);
}

.page-faq .faq-stat-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faq-muted);
  margin-bottom: 6px;
}

.page-faq .faq-stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--mist);
  letter-spacing: .02em;
}

.page-faq .faq-stat-note {
  display: block;
  font-size: .72rem;
  color: var(--faq-muted);
  margin-top: 4px;
}

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

.page-faq .faq-console-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(4, 10, 16, .42);
}

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

.page-faq .faq-search input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: .92rem;
  box-sizing: border-box;
}

.page-faq .faq-search input::placeholder {
  color: var(--faq-muted);
}

.page-faq .faq-search input:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .18);
}

.page-faq .faq-hot-block {
  background: linear-gradient(135deg, rgba(255, 107, 53, .14), rgba(255, 154, 118, .04));
  border: 1px solid rgba(255, 107, 53, .3);
  border-radius: 14px;
  padding: 14px;
}

.page-faq .faq-block-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--mist);
  margin: 0 0 12px;
  letter-spacing: .02em;
}

.page-faq .faq-hot-badge {
  background: var(--orange);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.page-faq .faq-hot-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-faq .faq-hot-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mist);
  text-decoration: none;
  font-size: .88rem;
  line-height: 1.5;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .2s ease, color .2s ease;
}

.page-faq .faq-hot-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 107, 53, .5);
  flex-shrink: 0;
}

.page-faq .faq-hot-link:hover {
  background: rgba(255, 107, 53, .12);
  color: var(--orange-light);
}

.page-faq .faq-category-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-cat-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.page-faq .faq-cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--mist);
  text-decoration: none;
  font-size: .86rem;
  line-height: 1.4;
  transition: border-color .2s, background .2s;
  min-width: 0;
}

.page-faq .faq-cat-link:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, .08);
}

.page-faq .faq-cat-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--faq-muted);
}

.page-faq .faq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.page-faq .faq-dot-orange {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 107, 53, .55);
}

.page-faq .faq-dot-cyan {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, .55);
}

.page-faq .faq-dot-green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(16, 185, 129, .55);
}

.page-faq .faq-dot-violet {
  background: var(--faq-violet);
  box-shadow: 0 0 8px rgba(139, 92, 246, .55);
}

.page-faq .faq-question-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-faq .faq-q-group {
  scroll-margin-top: 120px;
}

.page-faq .faq-q-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faq-muted);
  margin: 0 0 8px;
  padding: 0 2px;
}

.page-faq .faq-q-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--mist);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.45;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.page-faq .faq-q-item:hover {
  transform: translateX(4px);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, .06);
}

.page-faq .faq-q-num {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--cyan);
  flex-shrink: 0;
  letter-spacing: .04em;
}

.page-faq .faq-q-text {
  flex: 1;
  min-width: 0;
}

.page-faq .faq-q-arrow {
  color: var(--orange);
  font-size: .9rem;
  flex-shrink: 0;
}

.page-faq .faq-chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 27, 42, .92);
}

.page-faq .faq-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(20, 48, 74, .92), rgba(10, 27, 42, .6));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.page-faq .faq-chat-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.page-faq .faq-agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--cyan);
  background: var(--navy-2);
  flex-shrink: 0;
}

.page-faq .faq-agent-avatar img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.page-faq .faq-agent-name {
  display: block;
  font-weight: 800;
  font-size: .94rem;
  color: var(--mist);
}

.page-faq .faq-agent-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  color: var(--faq-muted);
  margin-top: 2px;
}

.page-faq .faq-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(16, 185, 129, .8);
  animation: faqPagePulse 2s ease-in-out infinite;
}

.page-faq .faq-chat-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, .3);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
}

.page-faq .faq-chat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  overflow-anchor: none;
}

.page-faq .faq-msg {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin-top: 10px;
  scroll-margin-top: 120px;
}

.page-faq .faq-msg:first-child {
  margin-top: 0;
}

.page-faq .faq-msg-user {
  align-items: flex-end;
}

.page-faq .faq-msg-agent {
  align-items: flex-start;
}

.page-faq .faq-msg-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.7;
  word-break: break-word;
}

.page-faq .faq-msg-user .faq-msg-bubble {
  background: var(--orange);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, .2);
}

.page-faq .faq-msg-agent .faq-msg-bubble {
  background: rgba(255, 255, 255, .07);
  color: var(--mist);
  border: 1px solid rgba(255, 255, 255, .1);
  border-bottom-left-radius: 4px;
}

.page-faq .faq-msg-bubble p {
  margin: 4px 0 0;
}

.page-faq .faq-msg-tag {
  display: inline-block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.page-faq .faq-inline-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, .4);
  transition: color .2s, border-color .2s;
}

.page-faq .faq-inline-link:hover {
  color: var(--cyan-light);
  border-color: rgba(128, 242, 255, .7);
}

.page-faq .faq-msg-time {
  font-size: .68rem;
  color: var(--faq-muted);
  margin-top: 4px;
  padding: 0 6px;
}

.page-faq .faq-chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(4, 10, 16, .5);
}

.page-faq .faq-chat-input input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: .9rem;
  box-sizing: border-box;
}

.page-faq .faq-chat-input input::placeholder {
  color: var(--faq-muted);
}

.page-faq .faq-chat-input input:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .16);
}

.page-faq .faq-send-btn {
  background: var(--cyan);
  color: var(--ink);
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.page-faq .faq-send-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

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

.page-faq .faq-categories-head {
  margin-bottom: 26px;
}

.page-faq .page-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 8px 0 10px;
  color: var(--mist);
}

.page-faq .faq-cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(150deg, rgba(20, 48, 74, .72), rgba(10, 27, 42, .92));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 22px;
  transition: transform .25s ease, border-color .25s ease;
}

.page-faq .faq-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.page-faq .faq-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.page-faq .faq-cat-icon-orange {
  background: rgba(255, 107, 53, .14);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 53, .4);
}

.page-faq .faq-cat-icon-cyan {
  background: rgba(0, 229, 255, .1);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, .3);
}

.page-faq .faq-cat-icon-green {
  background: rgba(16, 185, 129, .1);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, .32);
}

.page-faq .faq-cat-icon-violet {
  background: rgba(139, 92, 246, .12);
  color: #b39dff;
  border: 1px solid rgba(139, 92, 246, .34);
}

.page-faq .faq-cat-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--mist);
  margin: 4px 0 0;
}

.page-faq .faq-cat-card p {
  font-size: .86rem;
  line-height: 1.65;
  color: var(--faq-muted);
  margin: 0;
}

.page-faq .faq-cat-card a {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, .3);
  align-self: flex-start;
  transition: border-color .2s, color .2s;
}

.page-faq .faq-cat-card a:hover {
  color: var(--cyan-light);
  border-color: rgba(128, 242, 255, .7);
}

.page-faq .faq-contact {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

.page-faq .faq-contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, .32);
  background: linear-gradient(135deg, rgba(255, 107, 53, .16), rgba(20, 48, 74, .85) 58%, rgba(4, 10, 16, .5));
  padding: 26px 22px;
}

.page-faq .faq-contact-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--mist);
  margin: 8px 0 12px;
}

.page-faq .faq-contact-copy p {
  color: var(--faq-muted);
  font-size: .94rem;
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
}

.page-faq .faq-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-faq .faq-contact-actions .btn {
  text-decoration: none;
}

.page-faq .faq-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(10, 27, 42, .68);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 18px;
}

.page-faq .faq-contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .88rem;
}

.page-faq .faq-contact-line span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faq-muted);
}

.page-faq .faq-contact-line strong {
  font-weight: 600;
  color: var(--mist);
  word-break: break-word;
}

.page-faq .faq-contact-note {
  margin: 18px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--faq-muted);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-status-dot {
    animation: none;
  }

  .page-faq .faq-cat-card,
  .page-faq .faq-q-item,
  .page-faq .faq-send-btn {
    transition: none;
  }
}

@keyframes faqPagePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.85);
  }
}

@media (min-width: 720px) {
  .page-faq .faq-hero-side {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .page-faq .faq-console-inner {
    padding: 20px;
  }

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

  .page-faq .faq-contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1080px) {
  .page-faq .faq-hero-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .page-faq .faq-hero-copy {
    flex: 1;
  }

  .page-faq .faq-hero-side {
    width: 430px;
    flex-shrink: 0;
  }

  .page-faq .faq-console-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    padding: 24px;
  }

  .page-faq .faq-cat-links {
    grid-template-columns: 1fr;
  }

  .page-faq .faq-chat-body {
    max-height: 720px;
    overflow-y: auto;
    scroll-behavior: smooth;
  }

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

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