.page-faq {
  --faq-grid-line: rgba(10, 30, 63, 0.05);
  --faq-card-shadow: 0 8px 30px rgba(10, 30, 63, 0.08);
  position: relative;
  background-color: var(--c-mist);
  background-image:
    linear-gradient(to right, var(--faq-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--faq-grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  padding-bottom: 80px;
}

.page-faq .faq-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  overflow: hidden;
  background: var(--c-deep);
}

.page-faq .faq-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.45;
}

.page-faq .faq-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 30, 63, 0.94) 0%, rgba(10, 30, 63, 0.78) 50%, rgba(10, 30, 63, 0.35) 80%, rgba(0, 229, 160, 0.12) 100%);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 38%;
  width: 3px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 229, 160, 0.55) 50%, rgba(255, 107, 53, 0.35) 100%);
  transform: skewX(-14deg);
  z-index: 2;
  pointer-events: none;
}

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

.page-faq .faq-hero__content {
  padding: 56px 0 72px;
}

.page-faq .faq-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}

.page-faq .faq-hero .breadcrumb a {
  color: rgba(245, 247, 250, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.page-faq .faq-hero .breadcrumb__sep {
  color: rgba(245, 247, 250, 0.4);
}

.page-faq .faq-hero .breadcrumb span[aria-current="page"] {
  color: rgba(245, 247, 250, 0.9);
  font-weight: 500;
}

.page-faq .faq-hero__kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-neon);
}

.page-faq .faq-hero .page-title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-faq .faq-hero .page-title span {
  display: block;
  color: var(--c-neon);
  font-size: 0.82em;
  margin-top: 8px;
}

.page-faq .faq-hero .page-subtitle {
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.78);
}

.page-faq .faq-toolbar {
  position: relative;
  z-index: 5;
  margin-top: -34px;
}

.page-faq .faq-toolbar__inner {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--faq-card-shadow);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-faq .faq-search {
  display: flex;
  align-items: center;
  background: var(--c-mist);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 10px 18px;
  flex: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-search:focus-within {
  border-color: var(--c-neon);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.18);
}

.page-faq .faq-search__icon {
  color: var(--c-gray);
  margin-right: 10px;
  flex-shrink: 0;
}

.page-faq .faq-search__input {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--c-ink);
  outline: none;
}

.page-faq .faq-search__input::placeholder {
  color: var(--c-gray);
}

.page-faq .faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-tabs__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--c-mist);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-tabs__link:hover {
  background: var(--c-deep);
  border-color: var(--c-deep);
  color: #fff;
  transform: translateY(-1px);
}

.page-faq .faq-tabs__link.is-active {
  background: var(--c-deep);
  border-color: var(--c-deep);
  color: var(--c-neon);
  box-shadow: 0 6px 16px rgba(10, 30, 63, 0.25);
}

.page-faq .faq-content {
  padding: 56px 0 0;
}

.page-faq .faq-section {
  padding: 44px 0 56px;
  scroll-margin-top: 90px;
}

.page-faq .faq-section__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.page-faq .faq-section__num {
  font-family: var(--font-data);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-deep);
  opacity: 0.32;
  flex-shrink: 0;
  user-select: none;
}

.page-faq .faq-section--alt .faq-section__num {
  -webkit-text-stroke-color: var(--c-orange);
}

.page-faq .faq-section__heading h2 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-deep);
  letter-spacing: -0.01em;
}

.page-faq .faq-section__heading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
}

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

.page-faq .faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 30, 63, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-faq .faq-item:hover {
  box-shadow: var(--faq-card-shadow);
  border-color: rgba(0, 229, 160, 0.4);
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 229, 160, 0.55);
  box-shadow: var(--faq-card-shadow);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  padding: 20px 22px;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-ink);
}

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

.page-faq .faq-item__q::marker {
  content: "";
}

.page-faq .faq-item__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-neon);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(0, 229, 160, 0.16);
}

.page-faq .faq-item__ask {
  flex: 1;
  padding-right: 6px;
}

.page-faq .faq-item__indicator {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.page-faq .faq-item__indicator::before,
.page-faq .faq-item__indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-gray);
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.3s ease;
}

.page-faq .faq-item__indicator::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item__indicator::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item[open] .faq-item__indicator::before,
.page-faq .faq-item[open] .faq-item__indicator::after {
  background: var(--c-neon);
}

.page-faq .faq-item[open] .faq-item__indicator::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-item__a {
  padding: 0 22px 20px 46px;
  animation: faq-reveal 0.3s ease;
}

.page-faq .faq-item__a p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.85;
  color: #44465a;
}

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

.page-faq .faq-item__a a {
  color: var(--c-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-faq .faq-item__a a:hover {
  color: var(--c-orange);
}

.page-faq .faq-app__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-faq .faq-app__visual {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--c-deep);
  box-shadow: var(--faq-card-shadow);
}

.page-faq .faq-app__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.page-faq .faq-app__visual figcaption {
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(245, 247, 250, 0.7);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-faq .faq-cta {
  padding: 56px 0 0;
}

.page-faq .faq-cta__card {
  background: var(--c-deep);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0, 229, 160, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 107, 53, 0.18) 0%, transparent 45%);
  border-radius: calc(var(--radius) + 8px);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-cta__card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 18%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--c-neon), transparent);
  transform: skewX(-12deg);
  opacity: 0.5;
}

.page-faq .faq-cta__text h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.page-faq .faq-cta__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.72);
}

.page-faq .faq-cta__card .btn-primary {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

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

@media (min-width: 768px) {
  .page-faq .faq-hero {
    min-height: 340px;
  }

  .page-faq .faq-hero .page-title {
    font-size: 42px;
  }

  .page-faq .faq-toolbar__inner {
    flex-direction: row;
    align-items: center;
  }

  .page-faq .faq-search {
    max-width: 360px;
  }

  .page-faq .faq-search__input {
    font-size: 14px;
  }

  .page-faq .faq-tabs {
    margin-left: auto;
  }

  .page-faq .faq-app__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-faq .faq-cta__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
  }

  .page-faq .faq-cta__text h2 {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero {
    min-height: 380px;
  }

  .page-faq .faq-hero .page-title {
    font-size: 48px;
  }

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