.page-faq {
  --faq-card-radius: 16px;
  background: var(--bg);
  color: var(--text);
}

.page-faq__hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg) 60%, var(--surface) 100%);
}

.page-faq__hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: var(--purple);
  opacity: 0.22;
  border-radius: 48px;
  transform: rotate(22deg);
  pointer-events: none;
}

.page-faq__hero::after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: -2px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--cyan);
  opacity: 0.18;
  border-radius: 12px;
  transform: rotate(48deg);
  pointer-events: none;
}

.page-faq__breadcrumb {
  margin-bottom: 32px;
}

.page-faq__hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

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

.page-faq__hero-copy .eyebrow {
  margin-bottom: 12px;
}

.page-faq__hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.page-faq__h1-accent {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0, 255, 255, 0.35);
}

.page-faq__hero-lead {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.page-faq__quick-stats {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-faq__stat-item {
  flex: 1 1 120px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease;
}

.page-faq__stat-item:hover {
  border-color: rgba(0, 255, 255, 0.4);
}

.page-faq__stat-item .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.page-faq__stat-item .stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

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

.page-faq__hero-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(1.5deg);
}

.page-faq__hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

.page-faq__hero-orb {
  position: absolute;
  left: -20px;
  bottom: 24px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0, 255, 255, 0.5), rgba(106, 13, 173, 0.2));
  filter: blur(2px);
  opacity: 0.7;
  pointer-events: none;
}

.page-faq__browsewrap {
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-faq__browse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
}

.page-faq__browse-mark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-faq__browse-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-faq__browse-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.15);
}

.page-faq__section-head {
  margin-bottom: 36px;
}

.page-faq__section-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.page-faq__accordion {
  display: grid;
  gap: 14px;
}

.page-faq__item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--faq-card-radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__item:hover {
  border-color: rgba(0, 255, 255, 0.3);
}

.page-faq__item[open] {
  border-color: rgba(106, 13, 173, 0.65);
  box-shadow: 0 0 28px rgba(106, 13, 173, 0.18);
}

.page-faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

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

.page-faq__question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.page-faq__item[open] .page-faq__question::after {
  transform: rotate(45deg);
}

.page-faq__answer {
  padding: 0 22px 24px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.page-faq__answer a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-faq__categories {
  background: linear-gradient(180deg, rgba(26, 42, 74, 0.25) 0%, rgba(7, 22, 46, 0) 100%);
}

.page-faq__category-layout {
  display: grid;
  gap: 32px;
}

.page-faq__tabs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.page-faq__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--glass);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.page-faq__tab:hover {
  border-color: var(--cyan);
  background: rgba(0, 255, 255, 0.07);
  color: var(--cyan);
}

.page-faq__tab-num {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
}

.page-faq__category-content {
  display: grid;
  gap: 36px;
}

.page-faq__group-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--gradient);
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.08), transparent);
  border-image: linear-gradient(180deg, var(--purple), var(--cyan)) 1;
}

.page-faq__history {
  background: linear-gradient(180deg, transparent 0%, rgba(106, 13, 173, 0.09) 45%, transparent 100%);
}

.page-faq__history-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
}

.page-faq__history-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.page-faq__history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.page-faq__history-head h2 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.page-faq__history-lead {
  margin: 8px 0 0;
  color: var(--muted);
}

.page-faq__steps {
  display: grid;
  gap: 16px;
}

.page-faq__step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.page-faq__step-num {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.8;
  padding-top: 2px;
}

.page-faq__step h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
}

.page-faq__step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.page-faq__step a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-faq__contact-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-faq__contact-info h2 {
  margin: 8px 0 0;
  font-size: 34px;
  line-height: 1.2;
}

.page-faq__contact-lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-faq__contact-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  font-size: 15px;
  font-weight: 600;
  color: var(--success);
}

.page-faq__contact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq__contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 15px 18px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.page-faq__contact-list li:hover {
  border-color: rgba(0, 255, 255, 0.3);
}

.page-faq__contact-label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.page-faq__contact-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.page-faq__contact-btn {
  margin-top: 24px;
}

.page-faq__contact-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.25);
  box-shadow: 0 0 36px rgba(0, 255, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.page-faq__contact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(106, 13, 173, 0.15) 0%, transparent 40%, rgba(0, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.page-faq__contact-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.page-faq__promise {
  padding-top: 8px;
}

.page-faq__promise-card {
  background: var(--gradient);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 50px rgba(106, 13, 173, 0.25);
}

.page-faq__promise-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__promise-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.page-faq__promise-links a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-faq__promise-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

@media (min-width: 768px) {
  .page-faq__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-faq__contact-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-faq__hero-img {
    max-height: 420px;
  }
}

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

  .page-faq__hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }

  .page-faq__category-layout {
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
  }

  .page-faq__tabs {
    flex-direction: column;
    position: sticky;
    top: 32px;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-faq__tab {
    width: 100%;
    white-space: normal;
  }

  .page-faq__contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }

  .page-faq__history-card {
    padding: 48px;
  }
}
