/* =========================================
   ABOUT PAGE (/about)
========================================= */

.about-page-content {
  --about-accent: #6fe3ff;
  --about-purple: #a99aff;

  width: min(1050px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0 7rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
}

/* Card look comes from the shared glass card in base.css */
.about-section-card {
  position: relative;
  margin-bottom: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-section-card:hover {
  border-color: rgba(111, 227, 255, 0.38);
  box-shadow:
    0 8px 35px rgba(0, 0, 0, 0.17),
    0 0 20px rgba(111, 227, 255, 0.035);
}

/* ---------- Headings ---------- */

.about-page-content h2 {
  position: relative;
  margin: 0 0 1.5rem;
  padding-bottom: 0.9rem;
  color: var(--about-accent);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.035em;
}

.about-page-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55px;
  height: 2px;
  background: var(--about-accent);
  box-shadow: 0 0 12px rgba(111, 227, 255, 0.55);
}

.about-page-content h3,
.about-page-content strong {
  color: white;
}

/* ---------- Body text ---------- */

.about-page-content p {
  max-width: 900px;
  margin: 0 0 1.25rem;
  color: var(--text);
  opacity: 0.88;
}

.about-page-content p:last-child {
  margin-bottom: 0;
}

.about-page-content a {
  color: var(--about-accent);
  border-bottom: 1px solid rgba(111, 227, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-page-content a:hover {
  color: white;
  border-color: white;
}

.about-page-content ul,
.about-page-content ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.about-page-content li {
  padding: 0.3rem 0;
  color: var(--text);
}

.about-page-content li::marker {
  color: var(--about-accent);
}

/* ---------- Video ---------- */

.about-video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(111, 227, 255, 0.2);
  border-radius: 8px;
  background: #090d27;
}

.about-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- FAQ nested cards ---------- */

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  padding: 1.25rem 1.5rem;
  background: rgba(9, 13, 39, 0.48);
  border: 1px solid rgba(111, 227, 255, 0.15);
  border-left: 3px solid rgba(111, 227, 255, 0.45);
  border-radius: 7px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  background: rgba(111, 227, 255, 0.045);
  border-color: rgba(111, 227, 255, 0.38);
}

.faq-item h3 {
  margin: 0 0 0.9rem;
  padding: 0;
  color: white;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.5;
}

.faq-item p {
  max-width: none;
  margin: 0 0 1rem;
  color: var(--text);
  opacity: 0.85;
}

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

.faq-item ul,
.faq-item ol {
  margin-bottom: 1rem;
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  .about-page-content {
    width: calc(100% - 2rem);
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .about-section-card {
    margin-bottom: 1.25rem;
    padding: 1.35rem;
  }

  .about-page-content h2 {
    font-size: 1.5rem;
  }

  .faq-item {
    padding: 1rem;
  }

  .faq-item h3 {
    font-size: 1rem;
  }
}
