/* Markviss Support Page Styles */
.support-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111827;
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.support-hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #f9fafb;
  border-radius: 1rem;
  border: 2px solid #e5e7eb;
  margin-bottom: 3rem;
}

.support-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.25rem;
}

.support-hero p {
  font-size: 1.25rem;
  color: #6b7280;
  margin: 0;
}

/* Category sections - styled like Common Mistakes */
.category-section {
  margin-bottom: 2rem;
}

.info-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.5rem;
}

.info-box h2 {
  font-size: 1.5rem;
  color: #111827;
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.info-box h3 {
  font-size: 1.0625rem;
  color: #111827;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
}

.category-item {
  margin-bottom: 1.5rem;
}

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

.category-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.category-item p,
.category-item ul {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.category-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.category-item li:before {
  content: "•";
  color: #7c3aed;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Troubleshooting - styled like Markviss Enables grid */
.troubleshooting-section {
  margin-bottom: 3rem;
}

.troubleshooting-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.principle-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.principle-card:hover {
  border-color: #9ca3af;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.principle-card h3 {
  font-size: 1.0625rem;
  color: #111827;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.principle-card p,
.principle-card ul {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.principle-card ul {
  list-style: none;
  padding: 0;
}

.principle-card li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.principle-card li:before {
  content: "•";
  color: #7c3aed;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 3rem;
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.faq-box {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.faq-box:hover {
  border-color: #7c3aed;
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: #6b7280;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
}

/* Contact Section */
.contact-section {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.contact-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
}

/* Help Page Styles */
.help-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111827;
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* Accordion Styles for Help Page */
.accordion-section {
  margin-bottom: 1.5rem;
}

.accordion-header {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.accordion-header:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.accordion-header.active {
  border-color: #3b82f6;
  background: #f8fafc;
}

.accordion-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: #6b7280;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: white;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-top: -8px;
}

.accordion-content.active {
  max-height: 5000px;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 0;
}

.accordion-inner {
  padding: 0.5rem 0;
}

/* Override category-item styles for accordion content */
.accordion-content .category-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.accordion-content .category-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.accordion-content .category-item h4 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.accordion-content .category-item p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.accordion-content .category-item ul {
  color: #4b5563;
  line-height: 1.8;
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.accordion-content .category-item ol {
  color: #4b5563;
  line-height: 1.8;
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.accordion-content .category-item ul li {
  margin: 0.5rem 0;
}

.accordion-content .category-item ol li {
  margin: 0.5rem 0;
}

/* Nested lists inside accordion */
.accordion-content .category-item ul ul {
  list-style: circle;
  margin-top: 0.25rem;
}
