:root {
  --faq-bg: #000000;
  --faq-card-bg: #11101B;
  --faq-border: #303030;
  --faq-primary: #574BE8;
  --faq-primary-lighter: #8C82FF;
  --faq-text-primary: #EDEDED;
  --faq-text-secondary: #999999;
  --faq-surface: #161521;
  --faq-tag: #191922;
  --faq-green: #89FA90;
}

/* ========== FAQ SECTION ON INDEX.HTML ========== */

.faq-section {
  margin-top: 80px;
  padding: 60px 16px 60px;
  background: var(--faq-bg);
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.faq-section-inner {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.faq-hero-h1 {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--faq-text-primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .faq-hero-h1 {
    font-size: 2.75rem;
  }
}

.faq-hero-h1 span {
  background: linear-gradient(90deg, #574BE8 0%, #00FD80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-hero-subtitle {
  text-align: center;
  color: var(--faq-text-secondary);
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 48px;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.faq-item {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.faq-open {
  border-color: var(--faq-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--faq-text-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
  box-sizing: border-box;
}

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

.faq-question-text {
  flex: 1;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--faq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.3s ease;
  background: var(--faq-surface);
}

.faq-open .faq-icon {
  background: var(--faq-primary);
  border-color: var(--faq-primary);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  fill: var(--faq-text-secondary);
  transition: fill 0.2s ease;
}

.faq-open .faq-icon svg {
  fill: #ffffff;
}

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

.faq-open .faq-answer {
  max-height: 600px;
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  border-top: 1px solid var(--faq-border);
  margin: 0 0 0;
}

.faq-answer h3 {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--faq-text-secondary);
  line-height: 1.7;
  margin: 16px 0 0;
}

.faq-footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 576px) {
  .faq-footer-links {
    flex-direction: row;
    justify-content: center;
  }
}

.faq-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.faq-footer-btn-primary {
  background: var(--faq-primary);
  color: #ffffff;
  border: 1px solid var(--faq-primary);
}

.faq-footer-btn-primary:hover {
  background: #4237C6;
  border-color: #4237C6;
}

.faq-footer-btn-secondary {
  background: transparent;
  color: var(--faq-text-primary);
  border: 1px solid var(--faq-border);
}

.faq-footer-btn-secondary:hover {
  border-color: var(--faq-primary-lighter);
  color: var(--faq-primary-lighter);
}

/* ========== SHARED PAGE STYLES (FAQ + ABOUT) ========== */

.page-wrapper {
  background: #000000;
  min-height: 100vh;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--faq-text-primary);
  box-sizing: border-box;
  overflow-x: hidden;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 56px;
  background: #000000;
  border-bottom: 1px solid var(--faq-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  max-width: 100%;
}

.page-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--faq-text-primary);
  font-weight: 700;
  font-size: 1rem;
}

.page-nav-logo img {
  height: 25px;
  width: auto;
}

.page-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.page-nav-link {
  color: var(--faq-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.page-nav-link:hover,
.page-nav-link.active {
  color: var(--faq-primary-lighter);
}

.page-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  box-sizing: border-box;
  width: 100%;
}

/* ========== PAGE HERO ========== */

.page-hero {
  text-align: center;
  margin-bottom: 60px;
}

.page-hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, #574BE8 0%, #00FD80 100%);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--faq-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 2.75rem;
  }
}

.page-hero h1 span {
  background: linear-gradient(90deg, #574BE8 0%, #00FD80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-desc {
  color: var(--faq-text-secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== FAQ PAGE ACCORDION ========== */

.faq-page-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 60px;
}

.faq-page-item {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-page-item.faq-open {
  border-color: var(--faq-primary);
}

.faq-page-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--faq-text-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
  box-sizing: border-box;
}

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

.faq-page-question h2 {
  flex: 1;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

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

.faq-page-item.faq-open .faq-page-answer {
  max-height: 800px;
  opacity: 1;
}

.faq-page-answer-inner {
  padding: 0 22px 22px;
  border-top: 1px solid var(--faq-border);
}

.faq-page-answer-inner p {
  margin: 16px 0 0;
  color: var(--faq-text-secondary);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
}

.faq-page-answer-inner ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--faq-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.faq-page-answer-inner li {
  margin-bottom: 6px;
}

.faq-page-answer-inner strong {
  color: var(--faq-text-primary);
  font-weight: 600;
}

/* ========== ABOUT PAGE CARDS ========== */

.about-section {
  margin-bottom: 48px;
}

.about-section-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--faq-text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--faq-border);
}

.about-section-title span {
  color: var(--faq-primary-lighter);
}

.about-text {
  color: var(--faq-text-secondary);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--faq-text-primary);
  font-weight: 600;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 576px) {
  .about-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .about-cards-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.about-card {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.about-card:hover {
  border-color: var(--faq-primary);
  transform: translateY(-2px);
}

.about-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #574BE8 0%, rgba(87,75,232,0) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.about-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--faq-text-primary);
  margin-bottom: 8px;
}

.about-card-desc {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--faq-text-secondary);
  line-height: 1.6;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat-card {
  background: linear-gradient(316deg, #151233 0%, rgba(9,8,22,0.36) 89.78%, rgba(2,2,5,0) 100%);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-sizing: border-box;
}

.about-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--faq-text-primary);
  margin-bottom: 4px;
  background: linear-gradient(90deg, #574BE8 0%, #00FD80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--faq-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .about-team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-team-card {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-sizing: border-box;
}

.about-team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #574BE8 0%, #E14FBA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.about-team-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--faq-text-primary);
  margin-bottom: 4px;
}

.about-team-role {
  font-size: 0.75rem;
  color: var(--faq-text-secondary);
  font-weight: 400;
}

/* ========== PAGE FOOTER CTA ========== */

.page-cta {
  margin-top: 60px;
  padding: 40px 24px;
  background: linear-gradient(134deg, #181818 0%, rgba(13,11,39,0.5) 100%);
  border: 1px solid var(--faq-border);
  border-radius: 16px;
  text-align: center;
  box-sizing: border-box;
}

.page-cta h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--faq-text-primary);
  margin-bottom: 10px;
}

.page-cta p {
  color: var(--faq-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.page-cta-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 480px) {
  .page-cta-links {
    flex-direction: row;
    justify-content: center;
  }
}

.page-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-cta-btn-primary {
  background: var(--faq-primary);
  color: #ffffff;
  border: 1px solid var(--faq-primary);
}

.page-cta-btn-primary:hover {
  background: #4237C6;
  border-color: #4237C6;
}

.page-cta-btn-secondary {
  background: transparent;
  color: var(--faq-text-primary);
  border: 1px solid var(--faq-border);
}

.page-cta-btn-secondary:hover {
  border-color: var(--faq-primary-lighter);
  color: var(--faq-primary-lighter);
}

/* ========== PAGE FOOTER ========== */

.page-footer {
  background: #000000;
  border-top: 1px solid var(--faq-border);
  padding: 24px 20px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-footer-text {
  color: var(--faq-text-secondary);
  font-size: 0.75rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.page-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-footer-link {
  color: var(--faq-text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.page-footer-link:hover {
  color: var(--faq-primary-lighter);
}

/* ========== DIVIDER ========== */

.page-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #2CE68C 0%, #2CCF99 14%, #2E96BB 44%, #2F87C5 51%, #F53FBF 99%);
  opacity: 0.3;
  border: none;
  margin: 0;
}

/* ========== RESPONSIVE FIXES ========== */

@media (max-width: 480px) {
  .faq-hero-h1 {
    font-size: 1.625rem;
  }

  .page-hero h1 {
    font-size: 1.625rem;
  }

  .page-container {
    padding: 40px 16px 60px;
  }

  .faq-section {
    padding: 48px 12px 48px;
  }

  .page-cta {
    padding: 28px 16px;
  }

  .about-stat-value {
    font-size: 1.25rem;
  }
}