:root {
  --faq-bg: var(--background-primary, #100f0f);
  --faq-border: rgba(255, 255, 255, 0.2);
  --faq-gradient: linear-gradient(231deg, rgba(255,255,255,.01) 4.25%, rgba(255,255,255,.015) 72.31%, rgba(255,255,255,.015) 95.61%);
  --faq-text: #ffffff;
  --faq-secondary: rgba(255,255,255,.5);
  --faq-accent: #f2f1f3;
  --faq-accent-purple: #a66cff;
}

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

.faq-section-wrapper {
  max-width: 100%;
  overflow-x: hidden;
  margin-top: 80px;
  margin-bottom: 60px;
  padding: 0 40px;
}

.faq-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.faq-main-h1 {
  font-family: Roobert-SemiBold, sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.faq-main-h1 span {
  background: linear-gradient(135deg, #a66cff 0%, #6e8cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-subtitle {
  text-align: center;
  color: var(--faq-secondary);
  font-size: 16px;
  font-family: Roobert-Light, sans-serif;
  margin-bottom: 48px;
  line-height: 1.5;
}

.faq-container {
  position: relative;
  border-left: 0.5px solid var(--faq-border);
  border-top: 0.5px solid var(--faq-border);
  border-bottom: 0.5px solid var(--faq-border);
  border-right: 0.5px solid var(--faq-border);
  border-radius: 40px;
  background: var(--faq-gradient);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  padding: 40px 50px;
  z-index: 2;
}

.faq-item {
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  gap: 20px;
  user-select: none;
  -webkit-user-select: none;
}

.faq-question:hover .faq-question-text {
  color: #ffffff;
}

.faq-question-text {
  font-family: Roobert-Regular, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  margin: 0;
  transition: color 0.2s ease;
  flex: 1;
}

.faq-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0.5px solid var(--faq-border);
  background: rgba(255,255,255,0.04);
  transition: transform 0.3s ease, background 0.2s ease;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  line-height: 1;
}

.faq-toggle-icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.faq-item.open .faq-toggle-icon {
  background: rgba(166,108,255,0.15);
  border-color: rgba(166,108,255,0.4);
  color: #a66cff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

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

.faq-answer-text {
  font-family: Roobert-Light, sans-serif;
  font-size: 15px;
  color: var(--faq-secondary);
  line-height: 1.7;
  padding-bottom: 24px;
  margin: 0;
}

.faq-answer-text a {
  color: var(--faq-accent-purple);
  text-decoration: none;
}

.faq-answer-text a:hover {
  text-decoration: underline;
}

/* FAQ Footer Links */
.faq-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.faq-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-family: Roobert-Regular, sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: 0.5px solid var(--faq-border);
  background: var(--faq-gradient);
  color: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.faq-footer-link:hover {
  transform: scale(0.98);
  opacity: 0.85;
  color: #ffffff;
}

.faq-footer-link.primary {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 500;
}

.faq-footer-link.primary:hover {
  opacity: 0.9;
  color: #000000;
}

/* ===== SHARED PAGE STYLES (FAQ & ABOUT PAGES) ===== */

.page-body {
  background-color: #100f0f;
  color: #ffffff;
  font-family: Roobert-Light, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.page-navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-navbar-logo img {
  width: 90px;
  height: auto;
}

.page-navbar-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.page-navbar-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-navbar-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-family: Roobert-Regular, sans-serif;
  transition: color 0.2s ease;
}

.page-navbar-nav a:hover,
.page-navbar-nav a.active {
  color: #ffffff;
}

.page-nav-btn {
  padding: 12px 26px;
  border-radius: 30px;
  background-color: #ffffff;
  color: #000000 !important;
  font-family: Roobert-Regular, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-nav-btn:hover {
  opacity: 0.9;
  transform: scale(0.98);
}

.page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.page-hero {
  text-align: center;
  padding: 60px 0 50px;
}

.page-hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  border: 0.5px solid rgba(166,108,255,0.4);
  background: rgba(166,108,255,0.08);
  color: rgba(166,108,255,0.9);
  font-size: 13px;
  font-family: Roobert-Regular, sans-serif;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.page-hero h1 {
  font-family: Roobert-SemiBold, sans-serif;
  font-size: 46px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

.page-hero h1 span {
  background: linear-gradient(135deg, #a66cff 0%, #6e8cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== GRADIENT CARD (reusable) ===== */

.grad-card {
  position: relative;
  border-left: 0.5px solid rgba(255,255,255,0.2);
  border-top: 0.5px solid rgba(255,255,255,0.2);
  border-bottom: 0.5px solid rgba(255,255,255,0.2);
  border-right: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  background: linear-gradient(231deg, rgba(255,255,255,.01) 4.25%, rgba(255,255,255,.015) 72.31%, rgba(255,255,255,.015) 95.61%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 2;
  overflow: hidden;
}

.grad-card-pad {
  padding: 40px 50px;
}

.grad-card-pad-sm {
  padding: 28px 36px;
}

/* ===== FAQ PAGE SPECIFIC ===== */

.faq-page-section {
  margin-bottom: 32px;
}

.faq-page-category-title {
  font-family: Roobert-SemiBold, sans-serif;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 20px;
  padding-left: 4px;
}

.faq-page-item {
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.faq-page-item:last-child {
  border-bottom: none;
}

.faq-page-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  gap: 20px;
  user-select: none;
  -webkit-user-select: none;
}

.faq-page-question:hover .faq-page-question-text {
  color: #ffffff;
}

.faq-page-question-text {
  font-family: Roobert-Regular, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  margin: 0;
  transition: color 0.2s ease;
  flex: 1;
}

.faq-page-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
}

.faq-page-toggle svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.faq-page-item.open .faq-page-toggle {
  background: rgba(166,108,255,0.12);
  border-color: rgba(166,108,255,0.35);
  color: #a66cff;
  transform: rotate(180deg);
}

.faq-page-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

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

.faq-page-answer-text {
  font-family: Roobert-Light, sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  padding-bottom: 22px;
  margin: 0;
}

.faq-page-answer-text a {
  color: #a66cff;
  text-decoration: none;
}

.faq-page-answer-text a:hover {
  text-decoration: underline;
}

/* ===== ABOUT PAGE SPECIFIC ===== */

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.about-stat-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 28px;
  border: 0.5px solid rgba(255,255,255,0.15);
  background: linear-gradient(231deg, rgba(255,255,255,.02) 4.25%, rgba(255,255,255,.04) 72.31%, rgba(166,108,255,.04) 95.61%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: border-color 0.2s ease;
}

.about-stat-card:hover {
  border-color: rgba(166,108,255,0.3);
}

.about-stat-value {
  font-family: Roobert-SemiBold, sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 10px;
}

.about-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-family: Roobert-Regular, sans-serif;
}

.about-section-title {
  font-family: Roobert-SemiBold, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-section-text {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 16px;
}

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

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.about-feature-card {
  padding: 28px 30px;
  border-radius: 28px;
  border: 0.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.about-feature-card:hover {
  border-color: rgba(166,108,255,0.25);
  background: rgba(166,108,255,0.04);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(166,108,255,0.12);
  border: 0.5px solid rgba(166,108,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.about-feature-title {
  font-family: Roobert-Regular, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}

.about-feature-text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin: 0;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.about-team-card {
  padding: 28px 24px;
  border-radius: 28px;
  border: 0.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  text-align: center;
  transition: border-color 0.25s ease;
}

.about-team-card:hover {
  border-color: rgba(166,108,255,0.25);
}

.about-team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(166,108,255,0.3) 0%, rgba(110,140,255,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
  font-family: Roobert-SemiBold, sans-serif;
  color: rgba(255,255,255,0.8);
  border: 0.5px solid rgba(166,108,255,0.3);
}

.about-team-name {
  font-family: Roobert-Regular, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
}

.about-team-role {
  font-size: 13px;
  color: rgba(166,108,255,0.8);
  font-family: Roobert-Regular, sans-serif;
  margin-bottom: 8px;
}

.about-team-bio {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  margin: 0;
}

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

.page-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.page-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 30px;
  font-family: Roobert-Regular, sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.page-footer-btn.btn-white {
  background-color: #ffffff;
  color: #000000;
  border: none;
  font-weight: 500;
}

.page-footer-btn.btn-white:hover {
  opacity: 0.9;
  transform: scale(0.98);
  color: #000000;
}

.page-footer-btn.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 0.5px solid rgba(255,255,255,0.25);
}

.page-footer-btn.btn-outline:hover {
  opacity: 0.8;
  transform: scale(0.98);
  color: #ffffff;
}

.page-footer-btn.btn-purple {
  background: rgba(166,108,255,0.12);
  color: rgba(166,108,255,0.9);
  border: 0.5px solid rgba(166,108,255,0.35);
}

.page-footer-btn.btn-purple:hover {
  background: rgba(166,108,255,0.18);
  color: #a66cff;
  transform: scale(0.98);
}

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

.section-divider {
  border: none;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  margin: 40px 0;
}

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

.page-site-footer {
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 30px 40px;
  margin-top: 40px;
}

.page-site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-site-footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.page-site-footer a {
  color: rgba(166,108,255,0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.page-site-footer a:hover {
  color: #a66cff;
}

/* ===== HIGHLIGHT / ACCENT TEXT ===== */

.text-accent-purple-page {
  color: #a66cff;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a66cff 0%, #6e8cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

@media screen and (max-width: 940px) {
  .faq-section-wrapper {
    padding: 0 20px;
    margin-top: 60px;
  }

  .faq-main-h1 {
    font-size: 28px;
  }

  .faq-container {
    padding: 28px 24px;
  }

  .faq-question-text {
    font-size: 15px;
  }

  .page-navbar {
    padding: 16px 20px;
  }

  .page-content {
    padding: 0 20px 60px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-two-col {
    grid-template-columns: 1fr;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grad-card-pad {
    padding: 28px 24px;
  }

  .page-navbar-nav {
    gap: 16px;
  }

  .page-footer-links {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .page-footer-btn {
    justify-content: center;
  }

  .page-site-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 550px) {
  .faq-main-h1 {
    font-size: 22px;
  }

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

  .faq-container {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .faq-footer-links {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .faq-footer-link {
    justify-content: center;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-value {
    font-size: 28px;
  }

  .grad-card-pad {
    padding: 20px 16px;
  }

  .page-hero {
    padding: 40px 0 32px;
  }

  .page-navbar-nav .hide-mobile {
    display: none;
  }

  .about-section-title {
    font-size: 20px;
  }

  .faq-page-category-title {
    font-size: 18px;
  }
}

@media screen and (max-width: 400px) {
  .faq-section-wrapper {
    margin-top: 40px;
  }

  .page-nav-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
}