/* ============================================
   ADDITIONAL STYLES — FAQ, About, FAQ Page Layout
   Matches Aegis design: dark theme, Inter font
   ============================================ */

/* ---- FAQ SECTION on index.html ---- */

.faq-section {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 20px 60px;
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100%;
}

.faq-section-seo-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 48px;
}

@media (max-width: 768px) {
  .faq-section-seo-title {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
  }
}

.faq-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin: 0 0 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-item {
  background: #c4dcff1a;
  border: 1px solid #c4dcff26;
  border-radius: 20px;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
  width: 100%;
}

.faq-item:hover {
  background: #c4dcff26;
  border-color: #c4dcff40;
}

.faq-item.open {
  background: #c4dcff1f;
  border-color: #c4dcff4d;
}

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

@media (max-width: 600px) {
  .faq-question {
    padding: 16px 18px;
    gap: 12px;
  }
}

.faq-question h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  text-align: left;
}

@media (max-width: 600px) {
  .faq-question h2 {
    font-size: 14px;
  }
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #c4dcff26;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: #7159d4;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .faq-answer {
    padding: 0 18px;
  }
}

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

@media (max-width: 600px) {
  .faq-item.open .faq-answer {
    padding: 0 18px 18px;
  }
}

.faq-answer h3 {
  color: #ffffffb3;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  border-top: 1px solid #c4dcff1a;
  padding-top: 16px;
}

@media (max-width: 600px) {
  .faq-answer h3 {
    font-size: 13px;
  }
}

/* ---- FAQ Section footer links ---- */

.faq-section-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .faq-section-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

.faq-section-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  color: #fff;
}

.faq-section-link-btn.primary {
  background: #7159d4;
  border: 1px solid #7159d466;
}

.faq-section-link-btn.primary:hover {
  background: #8169e4;
  box-shadow: 0 8px 24px #7159d44d;
  transform: translateY(-2px);
}

.faq-section-link-btn.secondary {
  background: #c4dcff26;
  border: 1px solid #c4dcff40;
}

.faq-section-link-btn.secondary:hover {
  background: #c4dcff33;
  border-color: #c4dcff60;
  transform: translateY(-2px);
}

/* ============================================
   FAQ PAGE LAYOUT (faq/index.html)
   ============================================ */

.faq-page-wrapper {
  min-height: 100vh;
  background-color: #000;
  font-family: Inter, sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.faq-page-header {
  background: #c4dcff1a;
  border-bottom: 1px solid #c4dcff26;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 600px) {
  .faq-page-header {
    padding: 16px 20px;
  }
}

.faq-page-logo {
  height: 32px;
  width: auto;
  display: block;
}

.faq-page-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.faq-page-hero {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 0 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .faq-page-hero {
    margin-top: 40px;
  }
}

.faq-page-badge {
  display: inline-block;
  background: #7159d426;
  border: 1px solid #7159d44d;
  border-radius: 6px;
  color: #ab95ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.faq-page-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}

@media (max-width: 768px) {
  .faq-page-title {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
}

@media (max-width: 480px) {
  .faq-page-title {
    font-size: 26px;
  }
}

.faq-page-subtitle {
  color: #ffffffb3;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 600px;
}

@media (max-width: 600px) {
  .faq-page-subtitle {
    font-size: 15px;
  }
}

.faq-page-content {
  max-width: 860px;
  margin: 48px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 600px) {
  .faq-page-content {
    margin-top: 32px;
    padding: 0 16px;
  }
}

.faq-page-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff60;
  margin: 40px 0 16px;
}

.faq-page-section-label:first-child {
  margin-top: 0;
}

/* Reuse .faq-list, .faq-item, .faq-question, .faq-answer styles from above */

.faq-page-nav {
  max-width: 860px;
  margin: 56px auto 0;
  padding: 0 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .faq-page-nav {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 60px;
  }
}

/* ============================================
   ABOUT PAGE LAYOUT (about/index.html)
   ============================================ */

.about-page-wrapper {
  min-height: 100vh;
  background-color: #000;
  font-family: Inter, sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.about-page-header {
  background: #c4dcff1a;
  border-bottom: 1px solid #c4dcff26;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 600px) {
  .about-page-header {
    padding: 16px 20px;
  }
}

.about-page-hero {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .about-page-hero {
    margin-top: 40px;
  }
}

.about-page-badge {
  display: inline-block;
  background: #22c55e26;
  border: 1px solid #22c55e4d;
  border-radius: 6px;
  color: #86efac;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-page-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}

@media (max-width: 768px) {
  .about-page-title {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
}

@media (max-width: 480px) {
  .about-page-title {
    font-size: 26px;
  }
}

.about-page-subtitle {
  color: #ffffffb3;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 680px;
}

@media (max-width: 600px) {
  .about-page-subtitle {
    font-size: 15px;
  }
}

.about-page-content {
  max-width: 900px;
  margin: 56px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 600px) {
  .about-page-content {
    margin-top: 36px;
    padding: 0 16px;
    gap: 20px;
  }
}

.about-card {
  background: #c4dcff1a;
  border: 1px solid #c4dcff26;
  border-radius: 32px;
  padding: 32px;
  box-sizing: border-box;
  width: 100%;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.about-card:hover {
  background: #c4dcff22;
  border-color: #c4dcff3a;
}

@media (max-width: 600px) {
  .about-card {
    padding: 24px 20px;
    border-radius: 24px;
  }
}

.about-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff60;
  margin: 0 0 12px;
}

.about-card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .about-card-title {
    font-size: 18px;
  }
}

.about-card-text {
  color: #ffffffb3;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 600px) {
  .about-card-text {
    font-size: 14px;
  }
}

.about-card-text + .about-card-text {
  margin-top: 12px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

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

@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.about-stat-item {
  background: #04080d99;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  box-sizing: border-box;
}

.about-stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 6px;
}

@media (max-width: 600px) {
  .about-stat-value {
    font-size: 24px;
  }
}

.about-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff60;
  margin: 0;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.about-feature-item {
  background: #04080d99;
  border: 1px solid #c4dcff1a;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.about-feature-item:hover {
  background: #04080dcc;
  border-color: #c4dcff30;
}

.about-feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.about-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.about-feature-desc {
  font-size: 13px;
  font-weight: 400;
  color: #ffffffb3;
  line-height: 1.6;
  margin: 0;
}

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

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

@media (max-width: 480px) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
}

.about-team-item {
  background: #04080d99;
  border: 1px solid #c4dcff1a;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.about-team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7159d4, #22c55e);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.about-team-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.about-team-role {
  font-size: 12px;
  font-weight: 500;
  color: #ffffffb3;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.about-page-nav {
  max-width: 900px;
  margin: 56px auto 0;
  padding: 0 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .about-page-nav {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 60px;
  }
}

/* ============================================
   SHARED BUTTON STYLES for pages
   ============================================ */

.page-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  color: #fff;
  font-family: Inter, sans-serif;
  box-sizing: border-box;
}

.page-nav-btn.primary {
  background: #7159d4;
  border: 1px solid #7159d466;
}

.page-nav-btn.primary:hover {
  background: #8169e4;
  box-shadow: 0 8px 24px #7159d44d;
  transform: translateY(-2px);
}

.page-nav-btn.secondary {
  background: #c4dcff26;
  border: 1px solid #c4dcff40;
}

.page-nav-btn.secondary:hover {
  background: #c4dcff33;
  border-color: #c4dcff60;
  transform: translateY(-2px);
}

.page-nav-btn:active {
  transform: translateY(0);
}

/* ============================================
   FOOTER NAV DIVIDER (shared)
   ============================================ */

.page-footer-divider {
  border: none;
  border-top: 1px solid #c4dcff1a;
  margin: 0;
  width: 100%;
}

/* ============================================
   PREVENT HORIZONTAL SCROLL (safety)
   ============================================ */

.faq-section,
.faq-page-wrapper,
.about-page-wrapper,
.faq-page-content,
.about-page-content {
  max-width: 100%;
  overflow-x: hidden;
}