/* === faq.css — page-specific styles === */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0), inset 0 0 0 1px rgba(34, 211, 238, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2), inset 0 0 0 1px rgba(34, 211, 238, 0.3);
  }
}

@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

:root {
  --color-bg: #0f1419;
  --color-text: #e8e6e1;
  --color-primary: #22d3ee;
  --color-secondary: #a78bfa;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-y: auto;
}

.font-display {
  font-family: 'Syne', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-bg);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.3);
}

/* Hero Section Animations */
section:first-of-type {
  animation: fadeInUp 0.8s ease-out;
}

section:first-of-type h1 {
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

section:first-of-type p {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.faq-category {
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out backwards;
}

.faq-category:nth-child(1) { animation-delay: 0.3s; }
.faq-category:nth-child(2) { animation-delay: 0.4s; }
.faq-category:nth-child(3) { animation-delay: 0.5s; }
.faq-category:nth-child(4) { animation-delay: 0.6s; }
.faq-category:nth-child(5) { animation-delay: 0.7s; }

.faq-category-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
  animation: slideInLeft 0.6s ease-out;
}

.faq-item {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out backwards;
}

.faq-category:nth-child(1) .faq-item:nth-child(1) { animation-delay: 0.4s; }
.faq-category:nth-child(1) .faq-item:nth-child(2) { animation-delay: 0.5s; }
.faq-category:nth-child(1) .faq-item:nth-child(3) { animation-delay: 0.6s; }
.faq-category:nth-child(2) .faq-item:nth-child(1) { animation-delay: 0.5s; }
.faq-category:nth-child(2) .faq-item:nth-child(2) { animation-delay: 0.6s; }

.faq-item:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: color 0.3s ease;
  color: var(--color-text);
}

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-center;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 16px;
  color: #9ca3af;
  line-height: 1.7;
  font-size: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(34, 211, 238, 0.2);
  animation: fadeInUp 0.4s ease-out;
}

.faq-item.open .faq-answer {
  display: block;
}

.nav-link {
  color: #d1d5db;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Footer Animations */
footer {
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

footer a:hover {
  animation: pulse-soft 0.6s ease-in-out;
}