/* ================================================================
   NextWeb OS — SEO Long-Form Content & FAQ Styles
   ================================================================ */

/* SEO Section Container */
.seo-section {
  padding: 8rem 2rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.seo-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-content {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #444;
}

.seo-content h2 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 4rem;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.seo-content h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.seo-content p {
  margin-bottom: 2rem;
}

.seo-content ul, .seo-content ol {
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.seo-content li {
  margin-bottom: 1rem;
}

.seo-content li strong {
  color: var(--primary);
}

.seo-highlight-box {
  background: #f9f9f9;
  border-left: 4px solid var(--secondary);
  padding: 2rem 2.5rem;
  border-radius: 0 1rem 1rem 0;
  margin: 3rem 0;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--primary);
}

/* ── FAQ STRIP ACCORDION ── */
.faq-section-wrap {
  background: #f7f7f5;
  padding: 0 5rem;
}

.faq-inner {
  max-width: 90rem;
  margin: 0 auto;
}

/* The single strip */
.faq-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid #efefef;
  border-radius: 1.2rem;
  padding: 2rem 2.4rem;
  margin: 3rem 0 0;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1b2955;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, border-radius 0.25s;
}

.faq-strip:hover {
  border-color: rgba(232,31,118,0.3);
  box-shadow: 0 4px 20px rgba(232,31,118,0.08);
}

.faq-strip.open {
  border-color: rgba(232,31,118,0.35);
  border-radius: 1.2rem 1.2rem 0 0;
  border-bottom: none;
}

.faq-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: rgba(27,41,85,0.06);
  color: #1b2955;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, transform 0.3s;
}

.faq-strip.open .faq-strip-icon {
  background: #e81f76;
  color: #fff;
  transform: rotate(45deg);
}

/* Body that slides open */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: #fff;
  border: 1.5px solid rgba(232,31,118,0.35);
  border-top: none;
  border-radius: 0 0 1.2rem 1.2rem;
  margin-bottom: 3rem;
}

.faq-body.open {
  max-height: 3000px;
}

.faq-list {
  padding: 1rem 2.4rem 2rem;
  display: flex;
  flex-direction: column;
}

/* Individual FAQ items */
.faq-item {
  border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1b2955;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0;
  transition: color 0.2s;
}

.faq-question:hover { color: #e81f76; }
.faq-item.active .faq-question { color: #e81f76; }

.faq-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27,41,85,0.06);
  color: #1b2955;
  transition: background 0.25s, color 0.25s, transform 0.3s;
}

.faq-item.active .faq-icon {
  background: #e81f76;
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #666;
  padding: 0;
}

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

@media (max-width: 768px) {
  .faq-section-wrap { padding: 0 2rem; }
  .faq-strip { font-size: 1.5rem; padding: 1.6rem 1.8rem; }
  .faq-question { font-size: 1.4rem; }
}
