@import url("https://fonts.googleapis.com/css2?family=Mada:wght@300..900&display=swap");

:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #eeeeee;
  --accent-ink: #0b5bd9;
  --row-hover: #f8fafc;
  --chip: #eef2ff;
  --accent: #4f46e5;
  --accent-hover: #3730a3;
  --accent-light: #f0f0ff;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Mada", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: "Mada", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  padding: 40px 20px;
}

.faq-container {
  max-width: 800px;
  width: 100%;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  animation: fadeIn 1s ease;
}

.faq-container h1 {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  margin-top: 8px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .faq-container {
    padding: 24px;
  }
  .faq-container h1 {
    font-size: 26px;
  }
  .faq-question {
    font-size: 15px;
  }
}
