* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f9;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

h1 {
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
}

.faq-container {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.faq.active {
  border-color: #6c63ff;
  box-shadow: 0 6px 12px rgba(108, 99, 255, 0.2);
}

.faq-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-text {
  display: none;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 10px;
  color: #555;
}

.faq.active .faq-text {
  display: block;
}

.faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.faq-toggle:hover {
  background: #5849d9;
}
