body {
  background-color: #f9f9fb;
  color: #333;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  padding: 0;
}

.faq-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 20px;
}

.faq-container h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #0077cc;
}

details {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: all 0.3s ease;
}

details[open] {
  background: #f0f6ff;
  border-color: #cde1f8;
}

summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  padding-right: 25px;
  list-style: none;
}

summary::marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  color: #0077cc;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: '–';
}

details p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 40px;
  color: #0077cc;
  text-decoration: underline;
  font-size: 1rem;
}

.back-link:hover {
  color: #005fa3;
}

@media (max-width: 600px) {
  .faq-container h1 {
    font-size: 2rem;
  }

  details {
    padding: 16px;
  }
}
