#faq {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

details {
  background-color: #fff;
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease;
}

details[open] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  background-color: #f8fafc;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.2s ease;
}

summary:hover {
  background-color: #f1f5f9;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

details[open] summary::after { transform: rotate(-135deg); }


summary + p {
  margin: 0;
  padding: 1.25rem;
  color: #475569;
  line-height: 1.6;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

details[open] summary + p { animation: reveal-fade 0.35s ease-out; }
