/* ============================================================
   TOOL CONTENT SECTIONS — How to Use, What Is, FAQ, etc.
   ============================================================ */
.content-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.content-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-section h2 .section-icon { font-size: 20px; }
.content-section p, .content-section li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text2);
}
.content-section ol, .content-section ul {
  padding-left: 20px;
  margin: 8px 0;
}
.content-section ol li, .content-section ul li { margin-bottom: 6px; }
.content-section ol li::marker { color: var(--accent); font-weight: 600; }
.content-section ul li::marker { color: var(--accent); }

/* Formula styling */
.formula-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 12px 0;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  user-select: none;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: '+';
  font-size: 18px;
  color: var(--text3);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after {
  content: '−';
}
.faq-a {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 8px;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 8px 8px 4px;
}

/* Tips styling */
.tip-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  align-items: flex-start;
}
.tip-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.tip-text { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* Related tools grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s;
  text-decoration: none;
}
.related-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}
.related-icon { font-size: 18px; flex-shrink: 0; }
.related-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.related-info strong { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-info span { font-size: 11px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-link:hover .related-info strong { color: var(--accent); }

/* Steps in How to Use */
.step-list { counter-reset: step; }
.step-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  align-items: flex-start;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
  counter-increment: step;
}
.step-num::before {
  content: counter(step);
}
.step-text { font-size: 14px; color: var(--text2); line-height: 1.7; padding-top: 3px; }

/* What Is section - emphasis */
.what-is-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
  margin-bottom: 4px;
}
