:root {
  --blaze-indigo-50: #eef2ff;
  --blaze-indigo-100: #e0e7ff;
  --blaze-indigo-200: #c7d2fe;
  --blaze-indigo-300: #a5b4fc;
  --blaze-indigo-400: #818cf8;
  --blaze-indigo-500: #6366f1;
  --blaze-indigo-600: #4f46e5;
  --blaze-indigo-700: #4338ca;
  --blaze-indigo-800: #3730a3;
  --blaze-indigo-900: #312e81;
  --blaze-dark-700: #334155;
  --blaze-dark-800: #1e293b;
  --blaze-dark-900: #0f172a;
}

/* =====================
   PAGE WRAPPER (faq/ and about/)
   ===================== */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  color: #000;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, Noto Sans, sans-serif;
  overflow-x: hidden;
}

.dark .page-wrapper {
  background-image: linear-gradient(to bottom, #1e293b, #0f172a);
  color: #cbd5e1;
}

/* =====================
   NAV STYLES (matching original)
   ===================== */

.page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
  background-color: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.15s, color 0.15s;
}

.page-nav-inner {
  width: 100%;
  max-width: 1024px;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
}

.page-nav-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--blaze-indigo-600);
  text-decoration: none;
}

.page-nav-logo img {
  width: 1.75rem;
  height: 1.75rem;
  background-color: #fff;
  border-radius: 9999px;
  padding: 0.25rem;
  margin-right: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.page-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-nav-links a {
  background-image: linear-gradient(to right, var(--blaze-indigo-400), var(--blaze-indigo-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-decoration: none;
  transition: color 0.15s;
}

.page-nav-links a.current,
.page-nav-links a:hover {
  color: var(--blaze-indigo-600);
  background-image: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* =====================
   FOOTER STYLES (matching original)
   ===================== */

.page-footer {
  padding-top: 2.75rem;
  padding-bottom: 6rem;
  margin-top: auto;
}

@media (min-width: 768px) {
  .page-footer {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

@media (min-width: 1536px) {
  .page-footer {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

.page-footer-inner {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  align-items: center;
  font-size: 0.75rem;
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .page-footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.page-footer-inner strong {
  display: block;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .page-footer-inner strong {
    margin-bottom: 0;
  }
}

.page-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-footer-nav a {
  color: var(--blaze-indigo-600);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s;
}

.page-footer-nav a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* =====================
   CONTENT CONTAINER
   ===================== */

.content-container {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  flex: 1 1 0%;
  overflow-x: hidden;
}

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

.faq-section {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .faq-section {
    max-width: 720px;
    margin-top: 4rem;
    margin-bottom: 3rem;
  }
}

.faq-h1 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.5rem;
  background-image: linear-gradient(to right, var(--blaze-indigo-700), var(--blaze-indigo-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

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

.faq-subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: var(--blaze-indigo-600);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.faq-item {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  overflow: hidden;
  border: 1px solid var(--blaze-indigo-100);
  transition: box-shadow 0.15s;
}

.faq-item:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.dark .faq-item {
  background-color: var(--blaze-dark-800);
  border-color: var(--blaze-dark-700);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  gap: 0.75rem;
  transition: background-color 0.15s;
}

.faq-question:hover {
  background-color: var(--blaze-indigo-50);
}

.dark .faq-question:hover {
  background-color: var(--blaze-dark-700);
}

.faq-item.active .faq-question {
  background-color: var(--blaze-indigo-50);
}

.dark .faq-item.active .faq-question {
  background-color: var(--blaze-dark-700);
}

.faq-question h2 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blaze-indigo-700);
  margin: 0;
  flex: 1 1 0%;
}

.dark .faq-question h2 {
  color: var(--blaze-indigo-300);
}

.faq-question-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--blaze-indigo-500);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.1rem;
}

.faq-item.active .faq-question-icon {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 1rem 1rem 1rem;
}

.faq-answer h3 {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

.dark .faq-answer h3 {
  color: #cbd5e1;
}

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

.faq-page-section {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem 3rem;
  overflow-x: hidden;
  box-sizing: border-box;
}

.faq-page-h1 {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.5rem;
  background-image: linear-gradient(to right, var(--blaze-indigo-700), var(--blaze-indigo-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

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

.faq-page-subtitle {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--blaze-indigo-600);
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.faq-page-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.faq-page-item {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  overflow: hidden;
  border: 1px solid var(--blaze-indigo-100);
  transition: box-shadow 0.15s;
}

.faq-page-item:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.dark .faq-page-item {
  background-color: var(--blaze-dark-800);
  border-color: var(--blaze-dark-700);
}

.faq-page-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  gap: 0.75rem;
  transition: background-color 0.15s;
}

.faq-page-question:hover {
  background-color: var(--blaze-indigo-50);
}

.dark .faq-page-question:hover {
  background-color: var(--blaze-dark-700);
}

.faq-page-item.active .faq-page-question {
  background-color: var(--blaze-indigo-50);
}

.dark .faq-page-item.active .faq-page-question {
  background-color: var(--blaze-dark-700);
}

.faq-page-question h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blaze-indigo-700);
  margin: 0;
  flex: 1 1 0%;
}

.dark .faq-page-question h2 {
  color: var(--blaze-indigo-300);
}

.faq-page-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--blaze-indigo-500);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.15rem;
}

.faq-page-item.active .faq-page-icon {
  transform: rotate(180deg);
}

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

.faq-page-item.active .faq-page-answer {
  max-height: 800px;
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.faq-page-answer h3 {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: #374151;
  margin: 0;
}

.dark .faq-page-answer h3 {
  color: #cbd5e1;
}

/* =====================
   ABOUT PAGE STYLES
   ===================== */

.about-section {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem 3rem;
  overflow-x: hidden;
  box-sizing: border-box;
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.about-hero-title {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background-image: linear-gradient(to right, var(--blaze-indigo-700), var(--blaze-indigo-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 768px) {
  .about-hero-title {
    font-size: 2.25rem;
  }
}

.about-hero-subtitle {
  font-size: 1rem;
  color: var(--blaze-indigo-600);
  opacity: 0.85;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.about-hero-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: #fff;
  padding: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  margin: 0 auto 1.5rem;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

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

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

.about-card {
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid var(--blaze-indigo-100);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  transition: box-shadow 0.15s, transform 0.15s;
}

.about-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.dark .about-card {
  background-color: var(--blaze-dark-800);
  border-color: var(--blaze-dark-700);
}

.about-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--blaze-indigo-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.dark .about-card-icon {
  background-color: var(--blaze-dark-700);
}

.about-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--blaze-indigo-600);
}

.about-card h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blaze-indigo-700);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.dark .about-card h2 {
  color: var(--blaze-indigo-300);
}

.about-card p {
  font-size: 0.8125rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.dark .about-card p {
  color: #94a3b8;
}

.about-prose {
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid var(--blaze-indigo-100);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
  margin-bottom: 2rem;
}

.dark .about-prose {
  background-color: var(--blaze-dark-800);
  border-color: var(--blaze-dark-700);
}

.about-prose h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blaze-indigo-700);
  margin: 0 0 0.75rem 0;
}

.dark .about-prose h2 {
  color: var(--blaze-indigo-300);
}

.about-prose p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 0.75rem 0;
}

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

.dark .about-prose p {
  color: #cbd5e1;
}

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

.btn-blaze {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, background-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.15);
}

.btn-blaze-primary {
  background-color: var(--blaze-indigo-600);
  color: #fff;
}

.btn-blaze-primary:hover {
  background-color: var(--blaze-indigo-700);
  opacity: 1;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.15);
}

.btn-blaze-outline {
  background-color: transparent;
  color: var(--blaze-indigo-600);
  border: 2px solid var(--blaze-indigo-400);
}

.btn-blaze-outline:hover {
  background-color: var(--blaze-indigo-50);
  border-color: var(--blaze-indigo-600);
}

.dark .btn-blaze-outline {
  color: var(--blaze-indigo-300);
  border-color: var(--blaze-indigo-700);
}

.dark .btn-blaze-outline:hover {
  background-color: var(--blaze-dark-700);
}

.btn-blaze-sm {
  font-size: 0.75rem;
  padding: 0.375rem 0.875rem;
}

.btn-blaze-lg {
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
}

/* =====================
   SECTION LINKS ROW (bottom of faq-section)
   ===================== */

.faq-section-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blaze-indigo-100);
}

.dark .faq-section-links {
  border-top-color: var(--blaze-dark-700);
}

/* =====================
   PAGE CTA ROW (bottom of faq/ and about/)
   ===================== */

.page-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--blaze-indigo-100);
}

.dark .page-cta-row {
  border-top-color: var(--blaze-dark-700);
}

/* =====================
   ALERT / BADGE in faq section
   ===================== */

.faq-section-badge {
  display: inline-block;
  background-color: var(--blaze-indigo-50);
  color: var(--blaze-indigo-700);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.dark .faq-section-badge {
  background-color: var(--blaze-dark-700);
  color: var(--blaze-indigo-300);
}

/* =====================
   MAIN CONTENT FLEX GROW
   ===================== */

.page-main {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
}

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

@media (max-width: 767px) {
  .page-nav-links {
    display: none;
  }

  .faq-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .about-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .faq-page-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}