:root {
  --faq-accent: #325ee6;
  --faq-bg: #000;
  --faq-surface: #191919;
  --faq-border: rgba(255,255,255,0.1);
  --faq-text: #fff;
  --faq-text-muted: rgba(255,255,255,0.6);
  --faq-radius: 10px;
}

/* =====================
   FAQ SECTION (index.html)
   ===================== */

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

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

.faq-h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--faq-text);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .faq-h1 {
    font-size: 2.5rem;
  }
}

.faq-h1-accent {
  color: var(--faq-accent);
}

.faq-subtitle {
  text-align: center;
  color: var(--faq-text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

.faq-item.open {
  border-color: rgba(50, 94, 230, 0.5);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--faq-text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  gap: 12px;
  letter-spacing: -0.02em;
  transition: background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.faq-question:hover {
  background: rgba(255,255,255,0.05);
}

.faq-item.open .faq-question {
  color: #fff;
  background: rgba(50, 94, 230, 0.08);
}

.faq-question-text {
  flex: 1;
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faq-text-muted);
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--faq-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  box-sizing: border-box;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 20px 20px;
}

.faq-answer-inner {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--faq-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--faq-border);
  padding-top: 16px;
}

.faq-answer-inner a {
  color: var(--faq-accent);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.faq-answer-inner a:hover {
  opacity: 0.8;
}

/* =====================
   FAQ SECTION FOOTER LINKS
   ===================== */

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

.faq-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--faq-radius);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s ease;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.faq-link-btn-primary {
  background: var(--faq-accent);
  color: #fff;
  border: 1px solid var(--faq-accent);
}

.faq-link-btn-primary:hover {
  opacity: 0.85;
}

.faq-link-btn-secondary {
  background: transparent;
  color: var(--faq-text);
  border: 1px solid rgba(255,255,255,0.2);
}

.faq-link-btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

/* =====================
   SHARED PAGE LAYOUT (faq/, about/)
   ===================== */

.page-wrapper {
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.page-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(0,0,0,0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-sizing: border-box;
}

.page-topbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.page-topbar-logo-icon {
  width: 36px;
  height: 36px;
  background: #191919;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-topbar-logo-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.page-topbar-site-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-topbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-topbar-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-topbar-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.page-topbar-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.page-main {
  padding-top: 90px;
  padding-bottom: 80px;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

.page-hero {
  text-align: center;
  margin-bottom: 56px;
  padding: 40px 0 0;
}

.page-hero-badge {
  display: inline-block;
  background: rgba(50, 94, 230, 0.15);
  border: 1px solid rgba(50, 94, 230, 0.4);
  color: #6b8ef5;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .page-hero-title {
    font-size: 2.8rem;
  }
}

.page-hero-title .accent {
  color: var(--faq-accent);
}

.page-hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* =====================
   FAQ PAGE CONTENT
   ===================== */

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

.faq-page-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-page-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-page-item {
  background: #191919;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--faq-radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-page-item.open {
  border-color: rgba(50, 94, 230, 0.5);
}

.faq-page-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  gap: 12px;
  transition: background 0.2s ease;
  box-sizing: border-box;
}

.faq-page-question:hover {
  background: rgba(255,255,255,0.04);
}

.faq-page-item.open .faq-page-question {
  background: rgba(50,94,230,0.07);
}

.faq-page-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-page-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.faq-page-item.open .faq-page-icon {
  transform: rotate(180deg);
  color: var(--faq-accent);
}

.faq-page-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  box-sizing: border-box;
}

.faq-page-item.open .faq-page-answer {
  max-height: 800px;
  padding: 0 20px 18px;
}

.faq-page-answer-inner {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
}

.faq-page-answer-inner a {
  color: var(--faq-accent);
  text-decoration: underline;
}

.faq-page-answer-inner a:hover {
  opacity: 0.8;
}

/* =====================
   ABOUT PAGE CONTENT
   ===================== */

.about-card {
  background: #191919;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--faq-radius);
  padding: 28px 24px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.about-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card-title-icon {
  width: 32px;
  height: 32px;
  background: rgba(50,94,230,0.15);
  border: 1px solid rgba(50,94,230,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.about-card-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.about-card-text a {
  color: var(--faq-accent);
  text-decoration: underline;
}

.about-card-text a:hover {
  opacity: 0.8;
}

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

@media (min-width: 640px) {
  .about-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-stat-card {
  background: #191919;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--faq-radius);
  padding: 20px 16px;
  text-align: center;
  box-sizing: border-box;
}

.about-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--faq-accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.about-section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  margin-top: 40px;
}

.about-section-heading:first-child {
  margin-top: 0;
}

.about-prose {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-prose a {
  color: var(--faq-accent);
  text-decoration: underline;
}

.about-prose strong {
  color: #fff;
  font-weight: 600;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.about-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--faq-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

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

.page-footer-nav {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.page-footer-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: var(--faq-radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  letter-spacing: -0.01em;
  box-sizing: border-box;
}

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

.page-footer-link-btn-primary:hover {
  opacity: 0.85;
}

.page-footer-link-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.page-footer-link-btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}

/* =====================
   INTERNAL LINK BUTTONS
   ===================== */

.internal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--faq-radius);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.internal-link-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}

.internal-link-btn-accent {
  background: var(--faq-accent);
  border-color: var(--faq-accent);
  color: #fff;
}

.internal-link-btn-accent:hover {
  opacity: 0.85;
  background: var(--faq-accent);
}

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

.page-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 40px 0;
}

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

@media (max-width: 600px) {
  .faq-section {
    padding: 40px 12px 56px;
  }

  .faq-h1 {
    font-size: 1.65rem;
  }

  .page-hero-title {
    font-size: 1.8rem;
  }

  .page-topbar-site-name {
    display: none;
  }

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

  .page-footer-nav {
    flex-direction: column;
    align-items: stretch;
  }

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

  .faq-section-links {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-link-btn {
    justify-content: center;
  }
}