/* ============================================================
   ARCHETYPE A — "Fortress" (Bastion) — FAQ Page
   Content-only styles (shared styles loaded via style.css)
   ============================================================ */

/* === FAQ HERO === */
.prt-faq-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 24px 60px;
  text-align: center;
  overflow: hidden;
}
.prt-faq-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.prt-faq-hero-heading {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: prt-fade-up 0.8s ease both;
}
.prt-faq-hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
  animation: prt-fade-up 0.8s ease 0.15s both;
}

/* === FAQ LIST === */
.prt-faq-list-section {
  padding: 40px 24px 100px;
  max-width: 780px;
  margin: 0 auto;
}
.prt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prt-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
  animation: prt-fade-up 0.6s ease both;
}
.prt-faq-item:nth-child(1) { animation-delay: 0.1s; }
.prt-faq-item:nth-child(2) { animation-delay: 0.15s; }
.prt-faq-item:nth-child(3) { animation-delay: 0.2s; }
.prt-faq-item:nth-child(4) { animation-delay: 0.25s; }
.prt-faq-item:nth-child(5) { animation-delay: 0.3s; }
.prt-faq-item[open] {
  border-color: var(--primary-color);
}
.prt-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-fast);
}
.prt-faq-question::-webkit-details-marker {
  display: none;
}
.prt-faq-question::marker {
  display: none;
  content: '';
}
.prt-faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
  background: var(--text-muted);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--transition-base);
}
.prt-faq-item[open] .prt-faq-question::after {
  transform: rotate(180deg);
}
.prt-faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}
.prt-faq-answer {
  padding: 0 24px 20px;
}
.prt-faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === CTA SECTION === */
.prt-faq-cta {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-surface);
}
.prt-faq-cta-inner {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.prt-faq-cta-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
  animation: prt-fade-up 0.7s ease both;
}
.prt-faq-cta-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  animation: prt-fade-up 0.7s ease 0.12s both;
}
.prt-faq-cta .prt-btn {
  animation: prt-fade-up 0.7s ease 0.24s both;
}
.prt-faq-cta-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
  animation: prt-glow-pulse 7s ease-in-out infinite;
}

/* === CONTENT RESPONSIVE === */
@media (max-width: 768px) {
  .prt-faq-hero {
    padding: calc(var(--nav-height) + 48px) 20px 40px;
  }
  .prt-faq-hero-heading {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .prt-faq-list-section {
    padding: 24px 20px 64px;
  }
  .prt-faq-question {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  .prt-faq-answer {
    padding: 0 20px 16px;
  }
  .prt-faq-cta {
    padding: 64px 20px;
  }
  .prt-faq-cta-glow {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 480px) {
  .prt-faq-hero-heading {
    font-size: 1.7rem;
  }
  .prt-faq-hero-desc {
    font-size: 0.95rem;
  }
}
