/* LawnPro Feature Pages - Enhanced Style */

/* Hero section - larger image */
.feature-page .hero-section .img-content {
  flex: 0 0 55% !important;
  max-width: 700px !important;
}
.feature-page .hero-section .img-content img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
@media (min-width: 992px) {
  .feature-page .hero-section .container.content {
    gap: 2rem;
  }
  .feature-page .hero-section .img-content {
    flex: 0 0 58% !important;
    max-width: 800px !important;
  }
}

/* Trust bar */
.trust-bar {
  background: #f8f9fa;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e9ecef;
}
.trust-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.trust-stat .stars {
  color: #ffc107;
  font-size: 0.85rem;
}
.trust-stat strong {
  color: #212529;
}
.trust-stat span {
  color: #6c757d;
}
.trust-divider {
  width: 1px;
  height: 24px;
  background: #dee2e6;
}

/* Vertical tabs - IMAGE FIRST */
.feature-tabs-section {
  padding: 5rem 0;
  background: #fff;
}
.feature-tabs-section > .container > h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #212529;
}
.feature-tabs-wrapper {
  display: flex;
  gap: 3rem;
}
.feature-tabs-nav {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: sticky;
  top: 140px; /* Account for promo banner + header */
  align-self: flex-start;
  z-index: 90; /* Stay below main header */
  margin-top: -1px;
}
.feature-tabs-nav .nav-btn {
  text-align: left;
  padding: 1rem 1.25rem;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  color: #495057;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
}
.feature-tabs-nav .nav-btn:hover {
  background: #f8f9fa;
  color: #212529;
}
.feature-tabs-nav .nav-btn.active {
  background: #f0fff4;
  border-left-color: #28a745;
  color: #28a745;
  font-weight: 600;
}
.feature-tabs-content {
  flex: 1;
}
.feature-tab-panel {
  display: none;
}
.feature-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.feature-tab-panel .tab-image {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,0.12);
}
.feature-tab-panel .tab-image img {
  width: 100%;
  display: block;
}
.feature-tab-panel .tab-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #28a745;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.feature-tab-panel h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
}
.feature-tab-panel p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 1.5rem;
  max-width: 650px;
}
.feature-tab-panel .btn-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #28a745;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.feature-tab-panel .btn-cta:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

/* Pricing CTA Section */
.pricing-cta-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}
.pricing-cta-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pricing-cta-section p {
  color: #6c757d;
  margin-bottom: 1.25rem;
}
.pricing-cta-section .btn {
  background: #212529;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}
.pricing-cta-section .btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Testimonial */
.testimonial-section {
  padding: 5rem 0;
  background: #fff;
}
.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card .quote-icon {
  font-size: 3rem;
  color: #28a745;
  opacity: 0.3;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 1.75rem;
  font-weight: 500;
  color: #212529;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.testimonial-card .attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}
.testimonial-card .info {
  text-align: left;
}
.testimonial-card .name {
  font-weight: 700;
  color: #212529;
  font-size: 1.1rem;
}
.testimonial-card .company {
  color: #6c757d;
}

/* Benefits/Key Features */
.benefits-section {
  padding: 5rem 0;
  background: #f8f9fa;
}
.benefits-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.benefits-section .subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: transparent;
}
.benefit-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit-card .icon i {
  color: #fff;
  font-size: 1.5rem;
}
.benefit-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.75rem;
}
.benefit-card p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Integrations Section */
.integrations-section {
  padding: 5rem 0;
  background: #fff;
}
.integrations-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.integrations-section .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 3rem;
}
.integration-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.integration-card:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.integration-card .logo {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}
.integration-card .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.integration-card h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.integration-card p {
  color: #6c757d;
  font-size: 0.9rem;
  flex-grow: 1;
}
.integration-card a {
  color: #28a745;
  font-weight: 600;
  text-decoration: none;
}
.integration-card a:hover {
  text-decoration: underline;
}

/* What Is Section (SEO) */
.what-is-section {
  padding: 5rem 0;
  background: #f8f9fa;
}
.what-is-section .container {
  max-width: 800px;
}
.what-is-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.what-is-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 1.5rem;
}
.what-is-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.what-is-section ul li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  font-size: 1.05rem;
  color: #495057;
}
.what-is-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: 700;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: #fff;
}
.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e9ecef;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  padding: 1.5rem 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #212529;
}
.faq-question:hover {
  color: #28a745;
}
.faq-question i {
  transition: transform 0.3s ease;
  color: #6c757d;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}
.faq-answer p {
  color: #495057;
  line-height: 1.7;
  margin: 0;
}

/* CTA Banner */
.cta-banner-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  text-align: center;
}
.cta-banner-section h2 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cta-banner-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-banner-section .btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #fff;
  color: #28a745;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cta-banner-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Related Features */
.related-section {
  padding: 5rem 0;
  background: #f8f9fa;
}
.related-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.related-section .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 3rem;
}

/* Resources Section */
.resources-section {
  padding: 5rem 0;
  background: #fff;
}
.resources-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.resources-section .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 3rem;
}
.resource-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.resource-card .image {
  height: 160px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-card .image i {
  font-size: 3rem;
  color: rgba(255,255,255,0.5);
}
.resource-card .content {
  padding: 1.5rem;
}
.resource-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #28a745;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.resource-card h5 {
  font-weight: 700;
  margin: 0.5rem 0;
  font-size: 1rem;
}
.resource-card p {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.resource-card a {
  color: #28a745;
  font-weight: 600;
  text-decoration: none;
}
.resource-card a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 991.98px) {
  .trust-bar-content {
    gap: 1rem;
  }
  .trust-divider {
    display: none;
  }
  .feature-tabs-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  .feature-tabs-nav {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
    position: static;
    gap: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0;
  }
  .feature-tabs-nav .nav-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.25rem;
  }
  .feature-tabs-nav .nav-btn.active {
    background: transparent;
    border-bottom-color: #28a745;
  }
  .feature-tab-panel h3 {
    font-size: 1.4rem;
  }
  .testimonial-card blockquote {
    font-size: 1.3rem;
  }
  .cta-banner-section h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .feature-page .hero-section .img-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  .feature-tab-panel h3 {
    font-size: 1.2rem;
  }
  .feature-tab-panel p {
    font-size: 1rem;
  }
  .testimonial-card blockquote {
    font-size: 1.1rem;
  }
  .cta-banner-section h2 {
    font-size: 1.5rem;
  }
  .cta-banner-section p {
    font-size: 1rem;
  }
}

@media (max-width: 479.98px) {
  .feature-tabs-nav .nav-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  .feature-tab-panel h3 {
    font-size: 1.1rem;
  }
  .feature-tab-panel p {
    font-size: 0.9rem;
  }
  .testimonial-card blockquote {
    font-size: 1rem;
  }
}
