/* === Tool Page Content Modules === */
/* Shared styles for Use Cases / FAQ enhancements on all tool pages */
/* Primary: #0f766e (deep teal) */

.tool-content-modules {
  max-width: 780px;
  margin: 48px auto 0;
  padding: 0 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  position: relative;
}

.tool-content-modules::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #d1faf0 20%, #0f766e 50%, #d1faf0 80%, transparent 100%);
  margin-bottom: 40px;
}

.tool-info-card {
  background: #f0fdfa;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 4px 24px rgba(15, 118, 110, 0.08), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.tool-info-card:last-child {
  margin-bottom: 0;
}

.tool-info-title {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  color: #0f766e;
  margin: 0 0 20px;
  padding-left: 16px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.tool-info-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #0f766e;
  border-radius: 2px;
}

/* === How to Use steps === */
.tool-steps {
  counter-reset: tool-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-steps > li {
  counter-increment: tool-step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
}

.tool-steps > li:last-child {
  margin-bottom: 0;
}

.tool-steps > li::before {
  content: counter(tool-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* === Use Cases === */
.tool-use-cases {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-use-cases > li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
}

.tool-use-cases > li:last-child {
  margin-bottom: 0;
}

.tool-use-cases > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='10' fill='%230f766e'/><path d='M5.5 10.2l2.8 2.8 6.2-6.2' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.tool-use-cases > li strong {
  color: #1a1a2e;
  font-weight: 600;
}

/* === FAQ === */
.tool-faq {
  display: flex;
  flex-direction: column;
}

.tool-faq-item {
  padding: 20px 0;
  border-bottom: 1px solid #d1faf0;
}

.tool-faq-item:first-child {
  padding-top: 0;
}

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

.tool-faq-q {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 10px;
}

.tool-faq-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tool-faq-a {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
  padding-left: 36px;
}

/* === Guide/Blog Cards === */
.guides-section {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  padding: 64px 24px;
  margin-top: 20px;
}
.guides-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.guides-decor {
  width: 60px;
  height: 4px;
  background: #0f766e;
  border-radius: 2px;
  margin: 0 auto 20px;
}
.guides-heading {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.guides-sub {
  font-size: 16px;
  color: #64748b;
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.6;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.16);
}
.guide-card-bar {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}
.guide-card-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.guide-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.guide-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: inline-block;
}
.guide-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.guide-card:hover .guide-card-title {
  color: #0f766e;
}
.guide-card-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}
.guide-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.guide-card-link .arrow {
  display: inline-block;
  transition: transform 0.18s;
}
.guide-card:hover .guide-card-link .arrow {
  transform: translateX(3px);
}

/* === Mobile === */
@media (max-width: 768px) {
  .tool-content-modules {
    padding: 0 16px;
    margin-top: 36px;
  }
  .tool-content-modules::before {
    margin-bottom: 28px;
  }
  .tool-info-card {
    padding: 20px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .tool-info-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .tool-info-title::before {
    height: 20px;
  }
  .tool-steps > li,
  .tool-use-cases > li,
  .tool-faq-q,
  .tool-faq-a {
    font-size: 14px;
  }
  .tool-faq-item {
    padding: 16px 0;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .guides-section {
    padding: 40px 16px;
  }
  .guides-heading {
    font-size: 24px;
  }
}
@media (max-width: 900px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
