/* FAQ Page Styles */

/* HERO */
.faq-hero {
  min-height: 70vh;
  padding: 140px 48px 80px;
  background: #fff;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.faq-hero__grid-bg {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 2200px;
  height: 1600px;
  transform: translate(-50%, -50%) rotateX(-8deg) rotateY(-35deg) rotateZ(8deg);
  transform-style: preserve-3d;
  transform-origin: center center;
  z-index: 0;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  opacity: 0.6;
}

.faq-hero__grid-row {
  display: flex;
  border-left: 1px solid rgba(138, 136, 136, 0.15);
  position: relative;
  transform-style: preserve-3d;
}

.faq-hero__grid-cell {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-right: 1px solid rgba(138, 136, 136, 0.15);
  border-top: 1px solid rgba(138, 136, 136, 0.15);
  position: relative;
  transform-style: preserve-3d;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-hero__grid-cell:hover {
  background: rgba(var(--accent-rgb, 12, 4, 255), 0.08);
  border-color: rgba(var(--accent-rgb, 12, 4, 255), 0.3);
}

.faq-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.faq-hero__label {
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(0,0,15,0.35);
  margin-bottom: 24px;
}

.faq-hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  color: #00000F;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}

.faq-hero__subtitle {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(0,0,15,0.6);
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

/* Ticker overlap between sections */
.ticker-section {
  margin-top: -40px !important;
  margin-bottom: -40px !important;
  position: relative;
  z-index: 100;
}

/* FAQ SECTION */
.faq-section {
  padding: 80px 48px 120px;
  background: #fafafa;
}

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

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

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category__label {
  font-family: "Source Code Pro", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent, #0c04ff);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.faq-item:hover {
  border-color: var(--accent, #0c04ff);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb, 12, 4, 255), 0.08);
}

.faq-item.is-open {
  border-color: var(--accent, #0c04ff);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb, 12, 4, 255), 0.12);
}

.faq-question-header {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #0a0a0a;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question-header:hover {
  color: var(--accent, #0c04ff);
  background: rgba(var(--accent-rgb, 12, 4, 255), 0.02);
}

.faq-q {
  flex: 1;
  padding-right: 16px;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #0c04ff);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-toggle {
  transform: rotate(0deg);
}

.faq-toggle i {
  font-size: 16px;
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 32px 24px;
}

.faq-answer-inner p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(0,0,15,0.7);
}

.faq-icon {
  display: none;
}

/* CTA SECTION */
.faq-cta {
  padding: 140px 48px;
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-cta__grid-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2752px;
  height: 1984px;
  transform: translate(-50%, -50%) rotateX(-5deg) rotateY(-45deg) rotateZ(12deg);
  transform-style: preserve-3d;
  transform-origin: center center;
  z-index: 0;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.faq-cta__grid-row {
  display: flex;
  border-left: 1px solid rgba(138, 136, 136, 0.2);
  transform-style: preserve-3d;
}

.faq-cta__grid-cell {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-right: 1px solid rgba(138, 136, 136, 0.2);
  border-top: 1px solid rgba(138, 136, 136, 0.2);
  transform-style: preserve-3d;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-cta__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  pointer-events: none;
}

.faq-cta__btn {
  pointer-events: auto;
}

.faq-cta__label {
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(0,0,15,0.35);
  margin-bottom: 32px;
}

.faq-cta__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #00000F;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.faq-cta__subtitle {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(0,0,15,0.6);
  line-height: 1.6;
  margin: 0 0 40px;
}

.faq-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: #0a0a0a;
  text-decoration: none;
  padding: 18px 32px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  z-index: 1;
}

.faq-cta__btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-cta__btn i {
  transition: transform 0.3s ease;
}

.faq-cta__btn:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-hero {
    padding: 120px 24px 60px;
  }

  .faq-section {
    padding: 60px 24px 80px;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 16px;
  }

  .faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
  }

  .faq-cta {
    padding: 100px 24px;
  }
}

@media (max-width: 480px) {
  .faq-hero__title {
    font-size: 36px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-icon {
    font-size: 14px;
  }

  .faq-answer p {
    padding: 0 20px 16px;
  }
}
