/* Shared styles for TalkerIQ feature pages — "Editorial Ink" theme
   (sms-ai-agent, campaign-flow-builder, ai-campaign-copilot, ai-smart-retries,
   post-call-analysis, website-voice-widget, business-dialer,
   local-presence-dialing, agency-white-label, campaign-analytics) */

body {
  font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  background: #F7F5F1;
  color: #14151A;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.top-section {
  background: #F7F5F1;
  border-bottom: 1px solid #E3E0D7;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem 0;
  letter-spacing: -0.02em;
  color: #14151A;
}

.lead {
  font-size: 1.125rem;
  color: #55585F;
  line-height: 1.6;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 5rem 2rem;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  border: 1px solid #E3E0D7;
}

.placeholder-box {
  width: 100%;
  min-height: 400px;
  border-radius: 8px;
  border: 2px dashed #E3E0D7;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8B8E96;
  box-shadow: 0 24px 48px rgba(20, 21, 26, 0.08);
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-family: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #14151A;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #55585F;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #F04E23;
  color: white;
  padding: 1rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: #D93E12;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #14151A;
  padding: 1rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s ease, color 0.2s ease;
  border: 1.5px solid #14151A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: #14151A;
  color: #F7F5F1;
}

.section {
  padding: 4rem 0;
}

/* Direct-answer box under the hero (snippet/AEO target) */
.answer-box {
  background: #FFFFFF;
  border: 1px solid #E3E0D7;
  border-left: 3px solid #F04E23;
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
  margin: 2.5rem auto 0 auto;
  max-width: 900px;
  font-size: 1.1rem;
  color: #14151A;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  margin: 3rem 0;
  border-top: 1px solid #E3E0D7;
  border-left: 1px solid #E3E0D7;
}

.feature-card {
  background: transparent;
  padding: 2.25rem 2rem;
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-right: 1px solid #E3E0D7;
  border-bottom: 1px solid #E3E0D7;
  transition: background 0.2s ease;
}

.feature-card:hover {
  background: #FFFFFF;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #F04E23;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  color: #14151A;
}

.feature-description {
  color: #55585F;
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Comparison table */
.compare-table-wrap {
  overflow-x: auto;
  margin: 3rem 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 1px solid #E3E0D7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(20, 21, 26, 0.04);
}

.compare-table th {
  background: #101116;
  color: #F7F5F1;
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.compare-table td {
  padding: 1rem 1.5rem;
  border-top: 1px solid #EEEBE3;
  color: #14151A;
  font-size: 1rem;
  vertical-align: top;
}

.compare-table td:first-child {
  font-weight: 600;
}

.compare-table .muted {
  color: #8B8E96;
  font-weight: 400;
}

/* Setup timeline */
.setup-section {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin: 4rem 0 3rem 0;
  flex-wrap: wrap;
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  margin-top: 0.5rem;
}

.timeline-step {
  width: 32px;
  height: 32px;
  background: #F04E23;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', 'Avenir Next', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.timeline-connector {
  width: 3px;
  height: 70px;
  background: #E3E0D7;
  margin-bottom: 0.5rem;
  border-radius: 2px;
}

.steps-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.step-block {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  box-shadow: none;
  border: 1px solid #E3E0D7;
  font-size: 1.1rem;
  color: #14151A;
  font-weight: 500;
  margin-bottom: 0;
}

/* Visible FAQ (mirrors the FAQPage JSON-LD) */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #E3E0D7;
  border-radius: 0;
  padding: 1.5rem 0.25rem;
  margin-bottom: 0;
  box-shadow: none;
}

.faq-item:first-child {
  border-top: 1px solid #E3E0D7;
}

.faq-question {
  font-family: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #14151A;
  margin: 0 0 0.75rem 0;
}

.faq-answer {
  color: #55585F;
  line-height: 1.7;
  margin: 0;
}

/* Question-form H2 + answer pattern */
.qa-block {
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.qa-block h2 {
  font-family: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #14151A;
  margin: 2.5rem 0 1rem 0;
  letter-spacing: -0.02em;
}

.qa-block p {
  color: #44464D;
  font-size: 1.1rem;
  line-height: 1.75;
}

/* Related features internal links */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1rem 0;
}

.related-links a {
  background: #FFFFFF;
  color: #14151A;
  border: 1px solid #E3E0D7;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.related-links a:hover {
  border-color: #F04E23;
  color: #F04E23;
}

@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }
}

@media (max-width: 900px) {
  .setup-section {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline {
    flex-direction: row;
    min-width: 0;
    margin-bottom: 1.5rem;
  }

  .timeline-step, .timeline-connector {
    margin-bottom: 0;
    margin-right: 1.5rem;
  }

  .timeline-connector {
    width: 70px;
    height: 3px;
    background: #E3E0D7;
  }

  .steps-list {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .answer-box {
    padding: 1.25rem 1.5rem;
  }
}
