/*
 * ChatMetrics Landing - Style Enhancements
 * Visual polish for a more attractive, modern look
 */

/* ===== 1. Hero / Slider ===== */
.slider-content h2 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.02em;
}
.slider-content p {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  opacity: 0.95;
}
.slider-img img {
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.slider-img:hover img {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

/* Hero CTA - more prominent */
.slider-content .btn.blue-btn {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.slider-content .btn.blue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* ===== 2. Section Titles ===== */
.section-title.s-section-title h2 {
  position: relative;
  display: inline-block;
}
.section-title.s-section-title h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ce307f 0%, #ffd458 100%);
  border-radius: 2px;
}
.section-title.s-section-title h3 {
  font-size: 18px;
  font-weight: 500;
  color: #878991;
  margin-top: 15px;
}

/* ===== 3. Feature Cards with Icons ===== */
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ce307f 0%, #ffd458 100%);
  border-radius: 12px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hfive-single-features:hover .feature-icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(206, 48, 127, 0.35);
}
.hfive-single-features {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.hfive-single-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ce307f 0%, #ffd458 100%);
}
.hfive-single-features:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

/* ===== 4. How-to Steps - Styled ===== */
.how-to-steps .list-group-item {
  position: relative;
  padding-left: 70px;
  padding-top: 24px;
  padding-bottom: 24px;
  border: 1px solid #e8eaef;
  border-radius: 10px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.how-to-steps .list-group-item:hover {
  border-color: rgba(206, 48, 127, 0.3);
  box-shadow: 0 8px 25px rgba(206, 48, 127, 0.08);
  background: #fafbfc;
}
.how-to-steps .list-group-item::before {
  content: attr(data-step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ce307f 0%, #ffd458 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Gilroy', sans-serif;
}
.how-to-steps .list-group-item h5 {
  font-size: 18px;
  font-weight: 600;
  color: #30323d;
  margin-bottom: 8px;
}
.how-to-steps .list-group-item a {
  color: #ce307f;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.how-to-steps .list-group-item a:hover {
  border-bottom-color: #ce307f;
}

/* ===== 5. Buttons - Enhanced Hover ===== */
.btn.blue-btn,
.btn.green-btn.blue-btn {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn.blue-btn:hover,
.btn.green-btn.blue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.btn.grey-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ===== 6. Choose Section Images ===== */
.choose-img img {
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.choose-img:hover img {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(55, 58, 68, 0.2);
}

/* ===== 7. Testimonials ===== */
.single-testimonial.white-bg {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.single-testimonial.white-bg:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ===== 8. Download CTA Section ===== */
.six-download-img img {
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.six-download-img:hover img {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* ===== 9. Footer ===== */
.footer-widget .f-logo img {
  transition: opacity 0.3s ease;
}
.footer-widget .f-logo:hover img {
  opacity: 0.85;
}

/* ===== 10. Smooth scroll & focus states ===== */
html {
  scroll-behavior: smooth;
}
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid #ce307f;
  outline-offset: 2px;
}

/* ===== 11. Social Proof Stats ===== */
.social-proof-stats {
  background: #f8f9fc;
}
.stat-item {
  font-size: 36px;
  font-weight: 700;
  color: #30323d;
  line-height: 1.2;
}
.stat-item .stat-count {
  background: linear-gradient(135deg, #ce307f 0%, #ffd458 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 14px;
  color: #878991;
  margin-top: 5px;
  margin-bottom: 0;
}

/* ===== 12. Pricing Section ===== */
.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.pricing-card-pro {
  border: 2px solid rgba(206, 48, 127, 0.3);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #ce307f 0%, #ffd458 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.pricing-card-header h4 {
  font-size: 24px;
  margin-bottom: 10px;
}
.pricing-price {
  font-size: 42px;
  font-weight: 700;
  color: #30323d;
  margin-bottom: 5px;
}
.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: #878991;
}
.pricing-desc {
  font-size: 14px;
  color: #878991;
  margin-bottom: 25px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  color: #30323d;
}
.pricing-features li i {
  color: #5fcf8e;
  margin-right: 10px;
}

/* ===== 13. FAQ Section ===== */
.faq-item {
  border: 1px solid #e8eaef;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: #fafbfc;
  transition: background 0.2s ease;
  position: relative;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  font-size: 24px;
  color: #878991;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-question:hover {
  background: #f4f5f8;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 24px 20px;
  margin: 0 0 0 0;
  border-top: 1px solid #e8eaef;
  padding-top: 15px;
  margin-top: 0;
}

/* ===== 14. Trusted By & Video ===== */
.trusted-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #878991;
  margin-bottom: 20px;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trusted-logo-placeholder {
  font-size: 16px;
  color: #b0b5c0;
  font-weight: 500;
}
.video-placeholder {
  background: linear-gradient(135deg, rgba(206, 48, 127, 0.1) 0%, rgba(255, 212, 88, 0.1) 100%);
  border-radius: 12px;
  padding: 80px 40px;
  position: relative;
}
.video-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ce307f 0%, #ffd458 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(206, 48, 127, 0.4);
  color: #fff;
}
.video-placeholder-text {
  margin-top: 15px;
  color: #878991;
}

/* ===== 15. Comparison Table ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #e8eaef;
}
.comparison-table th {
  background: #f8f9fc;
  font-weight: 600;
  color: #30323d;
}
.comparison-table th.highlight {
  background: linear-gradient(135deg, rgba(206, 48, 127, 0.1) 0%, rgba(255, 212, 88, 0.1) 100%);
}
.comparison-table td.highlight {
  background: rgba(206, 48, 127, 0.05);
}
.comparison-table .text-success {
  color: #5fcf8e !important;
}
.comparison-table .text-muted {
  color: #b0b5c0 !important;
}

/* ===== 16. Newsletter ===== */
.newsletter-desc {
  font-size: 14px;
  color: #878991;
  margin-bottom: 15px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 12px 18px;
  border: 1px solid #e8eaef;
  border-radius: 8px;
  font-size: 15px;
}
.newsletter-form .btn {
  padding: 12px 24px;
  white-space: nowrap;
}

/* ===== 17. Sticky Mobile CTA ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 998;
}
.mobile-cta-bar .btn {
  width: 100%;
  text-align: center;
}
@media (max-width: 991px) {
  .mobile-cta-bar {
    display: block;
  }
  main {
    padding-bottom: 80px;
  }
}

/* ===== 18. Accessibility - Contrast ===== */
.section-title.white-title h2,
.section-title.white-title p,
.download-content p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ===== 19. Responsive tweaks ===== */
@media (max-width: 767px) {
  .how-to-steps .list-group-item {
    padding-left: 60px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .how-to-steps .list-group-item::before {
    width: 30px;
    height: 30px;
    font-size: 12px;
    left: 15px;
  }
  .section-title.s-section-title h2 {
    font-size: 28px;
  }
  .feature-icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .stat-item {
    font-size: 28px;
  }
  .pricing-card {
    padding: 30px 20px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 14px;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
