/* Standardized Section Styles for SmartersWEB Tech Landing Pages */

/* Common Section Styles */
.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--light-color);
}

.section-white {
  background-color: white;
}

.section-dark {
  background-color: var(--dark-color);
  color: white;
}

.section-primary {
  background-color: var(--primary-color);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 1rem auto 0;
}

.section-dark .section-title,
.section-primary .section-title {
  color: white;
}

.section-dark .section-title p,
.section-primary .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

/* Product Details Section */
.product-details {
  padding: 5rem 0;
  background-color: var(--light-color, #f8fafc);
}

.product-detail-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.product-detail-item:last-child {
  margin-bottom: 0;
}

.product-detail-item.reverse {
  flex-direction: row-reverse;
}

.product-detail-content,
.product-detail-image {
  flex: 1;
}

.product-detail-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-detail-content .external-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.product-detail-content .external-link:hover {
  color: var(--secondary-color);
}

.product-detail-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color, #10b981);
  font-weight: bold;
}

.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.1));
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--radius-md, 8px);
  padding: 2rem;
  box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.15));
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author div h4 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--dark-color);
  font-weight: 600;
}

.testimonial-author div p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Pricing CTA Section */
.pricing-cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.pricing-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.pricing-icon i {
  font-size: 2rem;
  color: white;
}

.pricing-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Features Section (for future use) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: var(--radius-md, 8px);
  padding: 2rem;
  box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.15));
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card .icon i {
  font-size: 1.75rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .product-detail-item {
    flex-direction: column;
    gap: 2rem;
  }
  
  .product-detail-item.reverse {
    flex-direction: column;
  }
  
  .product-detail-image {
    order: -1;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .pricing-cta h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-cta h2 {
    font-size: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .product-detail-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .testimonial-card,
  .feature-card {
    padding: 1.5rem;
  }
  
  .product-detail-content h2 {
    font-size: 1.5rem;
  }
}