* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
  background: linear-gradient(135deg, #1f1f1f, #2b2b2b);
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 15px;
}

.faq-container {
  width: 100%;
  max-width: 800px;
}

.faq-container h1 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.faq-subtitle {
  text-align: center;
  color: #ccc;
  margin-bottom: 35px;
}

.faq-item {
  background: #121212;
  border-radius: 14px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

.faq-item input {
  display: none;
}

.faq-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .3s;
}

.faq-item label:hover {
  background: #1d1d1d;
}

.faq-item label span {
  font-size: 1.5rem;
  transition: transform .3s;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background: #1a1a1a;
  transition: max-height .4s ease;
}

.faq-content p {
  padding: 18px 22px;
  color: #ddd;
  line-height: 1.6;
}

.faq-item input:checked ~ .faq-content {
  max-height: 300px;
}

.faq-item input:checked + label span {
  transform: rotate(45deg);
}
