.page-faq {
  --faq-accent: #39FF14;
  --faq-cyan: #00E5FF;
  --faq-line: #1E2A4A;
  --faq-bg-2: #0E1636;
  --faq-bg-3: #151F45;
  --faq-text-dim: #A0AAB8;
  --faq-radius: 10px;
  background: #0A0E27;
  color: #FFFFFF;
  overflow-x: clip;
}

.page-faq .container {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 20px;
}

.page-faq .font-display {
  font-family: "PingFang SC Heavy", "Noto Sans SC Black", sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-faq .font-mono {
  font-family: "Roboto Mono", Consolas, monospace;
}

.page-faq .font-body {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

.page-faq .section-header {
  margin-bottom: 32px;
}

.page-faq .section-kicker {
  color: var(--faq-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-faq .section-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin: 0;
  color: #FFFFFF;
}

.page-faq .section-desc {
  color: var(--faq-text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 52ch;
}

/* ===== Hero ===== */
.page-faq .faq-hero {
  position: relative;
  padding: 64px 0 56px;
  background:
    linear-gradient(120deg, rgba(57, 255, 20, 0.08) 0%, transparent 32%),
    linear-gradient(0deg, rgba(10, 14, 39, 0.4), rgba(14, 22, 54, 0.6)),
    radial-gradient(circle at 82% 18%, rgba(0, 229, 255, 0.18) 0%, transparent 42%),
    #0A0E27;
  border-bottom: 1px solid var(--faq-line);
}

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

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

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

.page-faq .breadcrumb-link {
  color: var(--faq-text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 220ms ease;
}

.page-faq .breadcrumb-link:hover {
  color: var(--faq-cyan);
}

.page-faq .breadcrumb-current {
  color: #FFFFFF;
  font-size: 14px;
}

.page-faq .faq-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-faq .faq-kicker {
  color: var(--faq-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.page-faq .faq-title {
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.98;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.page-faq .faq-title-accent {
  color: var(--faq-accent);
}

.page-faq .faq-lead {
  color: var(--faq-text-dim);
  font-size: 17px;
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 28px;
}

.page-faq .faq-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-faq .chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--faq-line);
  color: var(--faq-text-dim);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 32px;
}

.page-faq .chip-category {
  color: var(--faq-cyan);
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  font-family: "Roboto Mono", Consolas, monospace;
  font-size: 12px;
  flex-shrink: 0;
}

/* hero dial visual */
.page-faq .faq-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
  isolation: isolate;
}

.page-faq .faq-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(57, 255, 20, 0.04) 12px,
    rgba(57, 255, 20, 0.04) 13px
  );
  z-index: -1;
}

.page-faq .faq-dial {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-faq .faq-dial-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.5);
}

.page-faq .faq-dial-ring-1 {
  inset: 0;
  animation: faq-spin 20s linear infinite;
  border-top-color: transparent;
  border-right-color: transparent;
}

.page-faq .faq-dial-ring-2 {
  inset: 22px;
  border-color: rgba(0, 229, 255, 0.4);
  border-bottom-color: transparent;
  animation: faq-spin 14s linear infinite reverse;
}

.page-faq .faq-dial-core {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--faq-bg-3);
  border: 1px solid var(--faq-line);
  transform: rotate(-8deg);
  clip-path: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  color: var(--faq-accent);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes faq-spin {
  to { transform: rotate(360deg); }
}

/* ===== FAQ Section ===== */
.page-faq .faq-section {
  padding-block: 72px 24px;
}

.page-faq .faq-section-header {
  position: relative;
  padding-left: 22px;
}

.page-faq .faq-slash-mark {
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 44px;
  background: linear-gradient(180deg, var(--faq-accent), var(--faq-cyan));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 10px));
}

.page-faq .faq-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 40px;
  background: var(--faq-bg-2);
  border: 1px solid var(--faq-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-faq .faq-search-label {
  font-size: 14px;
  color: var(--faq-text-dim);
  white-space: nowrap;
}

.page-faq .faq-search-input {
  flex: 1;
  min-width: 220px;
  background: #0A0E27;
  border: 1px solid var(--faq-line);
  color: #FFFFFF;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 220ms ease;
}

.page-faq .faq-search-input::placeholder {
  color: #4A5568;
}

.page-faq .faq-search-input:focus {
  border-color: var(--faq-accent);
}

.page-faq .faq-search-hint {
  color: var(--faq-accent);
  font-size: 12px;
  white-space: nowrap;
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.page-faq .faq-item {
  background: var(--faq-bg-2);
  border: 1px solid var(--faq-line);
  transition: border-color 240ms ease, background 240ms ease;
}

.page-faq .faq-item:has(.faq-checkbox:checked) {
  border-color: rgba(57, 255, 20, 0.4);
  background: rgba(57, 255, 20, 0.03);
}

.page-faq .faq-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-faq .faq-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px;
  cursor: pointer;
}

.page-faq .faq-question {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #FFFFFF;
}

.page-faq .faq-question-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  color: inherit;
}

.page-faq .faq-question-label::before {
  content: "+";
  display: inline-block;
  font-family: "Roboto Mono", Consolas, monospace;
  color: var(--faq-accent);
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
  transition: transform 240ms ease;
}

.page-faq .faq-checkbox:checked + .faq-item-head .faq-question-label::before {
  content: "−";
  transform: rotate(180deg);
}

.page-faq .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.page-faq .faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.page-faq .faq-answer-inner p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--faq-text-dim);
  font-size: 15px;
  line-height: 1.75;
  border-top: 1px solid var(--faq-line);
  padding-top: 16px;
}

.page-faq .faq-checkbox:checked ~ .faq-answer {
  grid-template-rows: 1fr;
}

/* aside */
.page-faq .faq-aside-card {
  background:
    linear-gradient(140deg, rgba(57, 255, 20, 0.08), transparent 60%),
    var(--faq-bg-2);
  border: 1px solid var(--faq-line);
  padding: 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-faq .faq-aside-label {
  color: var(--faq-cyan);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-faq .faq-aside-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.page-faq .img-frame {
  overflow: hidden;
  background: var(--faq-bg-3);
}

.page-faq .img-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-faq .faq-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--faq-cyan);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 220ms ease;
}

.page-faq .faq-link-arrow:hover {
  color: var(--faq-accent);
}

.page-faq .faq-link-arrow-mark {
  transition: transform 220ms ease;
}

.page-faq .faq-link-arrow:hover .faq-link-arrow-mark {
  transform: translateX(4px);
}

/* ===== Tutorial ===== */
.page-faq .faq-tutorial {
  padding-block: 72px;
  background:
    linear-gradient(180deg, #0A0E27 0%, #0E1636 100%);
  border-block: 1px solid var(--faq-line);
}

.page-faq .faq-section-header-inline {
  max-width: 640px;
}

.page-faq .faq-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}

.page-faq .faq-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 24px;
  background: rgba(10, 14, 39, 0.7);
  border: 1px solid var(--faq-line);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-faq .faq-step-num {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--faq-accent);
  text-stroke: 1px var(--faq-accent);
  letter-spacing: -0.04em;
  opacity: 0.9;
}

.page-faq .faq-step-title {
  font-size: 22px;
  margin-bottom: 16px;
}

.page-faq .faq-step-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-step-list li {
  color: var(--faq-text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.page-faq .faq-step-list li::marker {
  color: var(--faq-cyan);
}

.page-faq .faq-step-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(0, 229, 255, 0.06);
  border-left: 3px solid var(--faq-cyan);
  color: #D9DFE8;
  font-size: 14px;
  line-height: 1.6;
}

.page-faq .faq-step-img {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.page-faq .faq-step-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA band */
.page-faq .faq-platform-cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 28px;
  background: linear-gradient(160deg, rgba(57, 255, 20, 0.1), rgba(0, 229, 255, 0.05));
  border: 1px solid var(--faq-line);
}

.page-faq .faq-platform-kicker {
  color: var(--faq-cyan);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-faq .faq-platform-title {
  font-size: 26px;
  margin-bottom: 8px;
}

.page-faq .faq-platform-cta-text p:last-child {
  color: var(--faq-text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.page-faq .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--faq-accent);
  color: #08120B;
  font-weight: 700;
  padding: 14px 26px;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: filter 220ms ease, transform 220ms ease;
  white-space: nowrap;
}

.page-faq .btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ===== Contact ===== */
.page-faq .faq-contact {
  padding-block: 72px;
}

.page-faq .faq-contact-panel {
  background: var(--faq-bg-2);
  border: 1px solid var(--faq-line);
  padding: 32px 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

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

.page-faq .faq-contact-lead {
  color: var(--faq-text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin: 14px 0 24px;
  max-width: 58ch;
}

.page-faq .faq-mail-link {
  color: var(--faq-cyan);
  text-decoration: none;
  font-weight: 500;
}

.page-faq .faq-mail-link:hover {
  color: var(--faq-accent);
}

.page-faq .faq-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-contact-list li {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-contact-item-label {
  color: var(--faq-cyan);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-faq .faq-contact-item-value {
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1.5;
}

.page-faq .faq-contact-note {
  background: rgba(57, 255, 20, 0.05);
  border: 1px solid rgba(57, 255, 20, 0.25);
  padding: 18px;
  color: var(--faq-text-dim);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-faq .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--faq-line);
  color: #FFFFFF;
  background: transparent;
  padding: 12px 22px;
  text-decoration: none;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 14px;
  transition: border-color 220ms ease, color 220ms ease;
}

.page-faq .btn-ghost:hover {
  border-color: var(--faq-cyan);
  color: var(--faq-cyan);
}

/* ===== Reveal states (progressive enhancement) ===== */
.page-faq [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1), transform 600ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.page-faq [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.page-faq [data-reveal="fade"] { transform: none; }

.page-faq [data-reveal="right"] { transform: translateX(24px); }

.page-faq [data-reveal="zoom"] { transform: scale(0.96); }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .page-faq .faq-item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-faq .faq-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .page-faq .faq-search-input {
    min-width: 0;
  }

  .page-faq .faq-search-hint {
    font-size: 12px;
    text-align: right;
  }

  .page-faq .faq-step {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .page-faq .faq-step-num {
    font-size: 36px;
  }

  .page-faq .faq-platform-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-faq .faq-contact-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .page-faq .faq-dial {
    width: 160px;
    height: 160px;
  }

  .page-faq .faq-dial-core {
    width: 80px;
    height: 80px;
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .page-faq .container {
    padding-inline: 24px;
  }

  .page-faq .faq-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-faq .faq-layout {
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
  }

  .page-faq .faq-steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-faq .faq-step {
    grid-template-columns: auto 1fr;
  }

  .page-faq .faq-step-img {
    grid-column: 2 / 3;
    max-width: 400px;
  }

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

  .page-faq .faq-contact-panel {
    padding: 44px 40px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero {
    padding-top: 80px;
    padding-bottom: 72px;
  }

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

  .page-faq .faq-tutorial {
    padding-block: 96px;
  }

  .page-faq .faq-contact {
    padding-block: 96px;
  }

  .page-faq .faq-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .page-faq .faq-step {
    grid-template-columns: 1fr;
    min-height: 100%;
    padding: 28px 24px;
  }

  .page-faq .faq-step-img {
    grid-column: 1;
    max-width: none;
    margin-top: 18px;
  }

  .page-faq .faq-aside-card {
    position: sticky;
    top: 96px;
  }
}
