/* faq.css - Premium Accordion Styles */

.faq-hero {
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #009624 0%, #00c853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

.faq-category {
  margin-bottom: 60px;
}

.category-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
  padding-left: 10px;
  border-left: 4px solid var(--green);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item:hover {
  border-color: rgba(0, 200, 83, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.accordion-item.active {
  border-color: var(--green);
  box-shadow: 0 20px 40px rgba(0, 200, 83, 0.06);
}

.accordion-header {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  transition: color 0.3s ease;
}

.accordion-item.active .accordion-header {
  color: var(--green-dark);
}

.accordion-header .icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accordion-header .icon::before,
.accordion-header .icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Horizontal line */
.accordion-header .icon::before {
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  margin-top: -1px;
}

/* Vertical line */
.accordion-header .icon::after {
  left: 50%;
  top: 20%;
  bottom: 20%;
  width: 2px;
  margin-left: -1px;
}

.accordion-item.active .icon {
  transform: rotate(45deg);
}

.accordion-item.active .icon::before,
.accordion-item.active .icon::after {
  background: var(--green);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  background: rgba(232, 245, 233, 0.3);
  opacity: 0;
  padding: 0 32px;
}

.accordion-item.active .accordion-content {
  opacity: 1;
}

.accordion-content p {
  color: #444;
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0;
  padding: 16px 0 32px 0;
}

.accordion-content a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Help CTA */
.help-cta-section {
  padding-bottom: 120px;
}

.help-cta {
  background: #0a0a0a;
  border-radius: 40px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.help-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 200, 83, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.help-cta h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

.help-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-hero { padding-top: 100px; }
  .faq-hero h1 { font-size: 2.8rem; }
  .accordion-header { padding: 20px 24px; font-size: 1.05rem; }
  .accordion-item.active .accordion-content { padding: 0 24px 24px; }
  .help-cta h3 { font-size: 2rem; }
}
