/* ==========================================================================
   THE BRAIN SONG™ - Simple & High-Contrast Editorial Review Stylesheet
   Design: Clean Editorial Publication (No Heavy Cards, High Contrast Text)
   ========================================================================== */

/* 1. Article Page Layout & Base Container */
.editorial-page {
  background-color: #ffffff;
  color: #1e293b;
  font-family: var(--font-body);
  line-height: 1.75;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. Top Header & Nav */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.brand-logo {
  color: #0f172a;
}

.brand-logo i {
  color: #4338ca;
}

.brand-logo span {
  color: #4338ca;
}

.nav-links a {
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4338ca;
}

/* 3. Editorial Article Header / Hero */
.editorial-header {
  padding: 40px 0 30px 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 40px;
}

.editorial-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
}

.editorial-breadcrumb a {
  color: #475569;
  text-decoration: none;
}

.editorial-breadcrumb a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.editorial-tag {
  display: inline-block;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.editorial-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.editorial-subtitle {
  font-size: 1.2rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 24px;
}

.editorial-byline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #475569;
  padding-bottom: 24px;
}

.editorial-byline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.editorial-byline i {
  color: #4338ca;
}

/* Featured Hero Image (Clean, No Card Frame) */
.editorial-featured-media {
  margin: 30px 0;
  text-align: center;
}

.editorial-featured-media img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.media-caption {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 8px;
}

/* 4. Quick Summary / Verdict Box (Simple, High-Contrast) */
.summary-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #4338ca;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 30px 0 40px 0;
}

.summary-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-score-badge {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.score-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.score-max {
  font-size: 1rem;
  color: #64748b;
  font-weight: 600;
}

.summary-stars {
  color: #d97706;
  font-size: 1rem;
  margin-left: 8px;
}

.verdict-tag-pill {
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  color: #1e293b;
}

.summary-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.summary-points li i {
  color: #16a34a;
  margin-top: 4px;
  flex-shrink: 0;
}

/* 5. Article Typography & Headings */
.article-section {
  padding: 36px 0;
  border-bottom: 1px solid #e2e8f0;
}

.article-section:last-of-type {
  border-bottom: none;
}

.article-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.article-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 10px 0;
}

.article-section p {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 18px;
  line-height: 1.75;
}

.article-section strong {
  color: #0f172a;
  font-weight: 700;
}

/* 6. Clean Text List Formats (No Cards) */
.checklist-simple {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-simple li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: #1e293b;
  line-height: 1.6;
}

.checklist-simple li i {
  color: #16a34a;
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* 7. Reddit Quotes (Clean Editorial Callouts, High Contrast) */
.reddit-quote {
  background: #f8fafc;
  border-left: 4px solid #ea580c;
  padding: 18px 22px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.reddit-quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.reddit-author {
  font-weight: 700;
  color: #0f172a;
}

.reddit-channel {
  color: #ea580c;
  font-weight: 600;
}

.reddit-upvotes {
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
}

.reddit-quote p {
  font-size: 0.98rem;
  color: #1e293b;
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}

/* 8. Notice & Disambiguation Banners */
.notice-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-left: 4px solid #ca8a04;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.notice-box i {
  color: #ca8a04;
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.notice-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #713f12;
  line-height: 1.55;
}

.alert-danger-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.alert-danger-box i {
  color: #dc2626;
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.alert-danger-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #991b1b;
  line-height: 1.55;
}

/* 9. Clean Comparison Tables */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.simple-table th,
.simple-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.simple-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  border-top: 1px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
}

.simple-table td {
  color: #334155;
}

.simple-table tr:hover td {
  background: #f8fafc;
}

.highlight-row td {
  background: #f0fdf4;
  font-weight: 600;
  color: #14532d;
}

/* 10. Numbered Guide Steps */
.numbered-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.numbered-steps li {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
}

.numbered-steps li::before {
  content: counter(step-counter);
  background: #4338ca;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

/* 11. FAQ Accordion (Clean Light Style, High Contrast) */
.faq-accordion {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: none;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-question i {
  color: #4338ca;
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding: 0 20px 18px 20px;
  border-top: 1px solid #f1f5f9;
}

.faq-answer p {
  margin: 12px 0 0 0;
}

/* 12. Clean In-Text Call To Action Box (High Contrast) */
.editorial-cta-box {
  background: #f8fafc;
  border: 2px solid #4338ca;
  border-radius: 12px;
  padding: 36px 30px;
  text-align: center;
  margin: 40px 0;
}

.editorial-cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.editorial-cta-box p {
  color: #475569;
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.cta-pricing-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.cta-old-price {
  font-size: 1.2rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.cta-new-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-heading);
}

.cta-discount-pill {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
}

.btn-editorial-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #4338ca;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
  transition: background 0.2s, transform 0.1s;
}

.btn-editorial-cta:hover {
  background: #3730a3;
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #64748b;
}

.cta-trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-trust-items i {
  color: #16a34a;
}

/* 13. Clean Footer */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 40px 0 30px 0;
  color: #64748b;
}

.footer-disclaimer-box p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
}

.footer-links a:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* 14. Responsive adjustments */
@media (max-width: 768px) {
  .editorial-title {
    font-size: 1.85rem;
  }

  .editorial-subtitle {
    font-size: 1.05rem;
  }

  .article-section h2 {
    font-size: 1.45rem;
  }

  .simple-table {
    display: block;
    overflow-x: auto;
  }

  .btn-editorial-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .editorial-cta-box {
    padding: 24px 18px;
  }
}
