/* faq.css — Shadow Project FAQ Page */

.faq-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ── Category Labels ───────────────────────── */
.faq-category {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 48px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-category::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,255,0,0.5);
  flex-shrink: 0;
}

/* ── FAQ Item ──────────────────────────────── */
.faq-item {
  border-bottom: 1px solid #181818;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-bottom-color: rgba(255,255,0,0.08);
}

/* ── Question Button ───────────────────────── */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-question span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #c0c0c0;
  line-height: 1.5;
  transition: color 0.2s;
}
.faq-question:hover span { color: #fff; }

/* ── Chevron ───────────────────────────────── */
.faq-chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid #282828;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s cubic-bezier(0.34, 1.2, 0.64, 1), border-color .2s, background .2s, box-shadow .2s;
}
.faq-chevron svg {
  width: 10px; height: 10px;
  stroke: #555;
  transition: stroke .2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  border-color: rgba(255,255,0,0.4);
  background: rgba(255,255,0,0.08);
  box-shadow: 0 0 12px rgba(255,255,0,0.15);
}
.faq-item.open .faq-chevron svg { stroke: var(--accent); }

/* ── Answer ────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 13px;
  color: #888;
  line-height: 1.9;
}
.faq-answer-inner strong { color: var(--accent); }
.faq-item.open .faq-answer { max-height: 600px; }

/* ── Question Form ─────────────────────────── */
.faq-form-section {
  margin-top: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-md);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.faq-form-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,0,0.35), transparent);
  pointer-events: none;
}

.faq-form-section h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-form-section p {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.6;
}

.faq-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-form input,
.faq-form textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.faq-form input:focus,
.faq-form textarea:focus {
  border-color: rgba(255,255,0,0.45);
  box-shadow: 0 0 0 3px rgba(255,255,0,0.05);
}

.faq-form input::placeholder,
.faq-form textarea::placeholder {
  color: #333;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
}

.faq-form textarea {
  resize: vertical;
  min-height: 110px;
}

.faq-form button {
  align-self: flex-start;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 11px 30px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  transition: opacity .2s, box-shadow .2s;
}
.faq-form button:hover {
  opacity: .88;
  box-shadow: 0 0 24px rgba(255,255,0,0.35);
}

/* ── Success Banner ────────────────────────── */
.faq-success {
  background: rgba(255,255,0,0.03);
  border-left: 3px solid var(--accent);
  padding: 13px 18px;
  font-size: 13px;
  color: #ccc;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(255,255,0,0.04);
}
