/* SEO Content Styles - Cosmic Theme Aligned */
/* Matches focuverse design system: #0A0B1A (bg), #64FFDA (accent), #FFFFFF (text) */

/* Hide SEO content by default to prevent flash during auth check */
.seo-content,
.faq-section {
  display: none;
  max-width: 800px;
  margin: 40px auto;
  padding: 40px 20px;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Show SEO content for unauthenticated users */
.seo-content.visible,
.faq-section.visible {
  display: block;
}

/* Keep hidden class for backwards compatibility */
.seo-content.hidden,
.faq-section.hidden {
  display: none;
}

/* Headings */
.seo-content h1 {
  color: #64FFDA;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}

.seo-content h2,
.faq-section h2 {
  color: #64FFDA;
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.faq-section h3 {
  color: #64FFDA;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Paragraphs */
.seo-content p,
.faq-section p,
.faq-section div[itemprop="text"] p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.seo-content p:first-of-type {
  font-size: 18px;
  line-height: 1.6;
}

/* Lists */
.seo-content ul,
.seo-content ol {
  line-height: 1.8;
  margin-bottom: 30px;
  padding-left: 20px;
}

.seo-content li {
  margin-bottom: 8px;
  color: #FFFFFF;
}

.seo-content li strong {
  color: #64FFDA;
  font-weight: 600;
}

/* Comparison Table */
.seo-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: rgba(10, 11, 26, 0.6);
}

.seo-content thead tr {
  background: rgba(100, 255, 218, 0.1);
}

.seo-content th {
  border: 1px solid #64FFDA;
  padding: 12px;
  text-align: left;
  color: #64FFDA;
  font-weight: 600;
  font-size: 16px;
}

.seo-content td {
  border: 1px solid #64FFDA;
  padding: 10px;
  color: #FFFFFF;
  font-size: 15px;
}

.seo-content tbody tr:nth-child(even) {
  background: rgba(100, 255, 218, 0.05);
}

/* FAQ Section Specific Styles */
.faq-section {
  margin-top: 60px;
}

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.faq-section > div[itemscope] {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.faq-section > div[itemscope]:last-child {
  border-bottom: none;
}

.faq-section div[itemprop="text"] {
  line-height: 1.6;
  color: #B0B0B0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .seo-content,
  .faq-section {
    padding: 20px 15px;
    margin: 20px auto;
  }

  .seo-content h1 {
    font-size: 24px;
  }

  .seo-content h2,
  .faq-section h2 {
    font-size: 20px;
    margin-top: 30px;
  }

  .faq-section h2 {
    font-size: 24px;
  }

  .faq-section h3 {
    font-size: 18px;
  }

  .seo-content p:first-of-type {
    font-size: 16px;
  }

  .seo-content table {
    font-size: 14px;
  }

  .seo-content th,
  .seo-content td {
    padding: 8px;
    font-size: 14px;
  }
}

/* Accessibility - Ensure good contrast */
@media (prefers-contrast: high) {
  .seo-content h1,
  .seo-content h2,
  .faq-section h2,
  .faq-section h3 {
    color: #FFFFFF;
  }

  .seo-content th {
    background: #64FFDA;
    color: #0A0B1A;
  }
}

/* Print styles */
@media print {
  .seo-content,
  .faq-section {
    color: #000000;
  }

  .seo-content h1,
  .seo-content h2,
  .faq-section h2,
  .faq-section h3 {
    color: #000000;
  }
}
