/* Global Enhancements - Section Dividers, Navigation, Progress Indicators */

/* Overflow Prevention */
section,
main {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

/* Ensure images don't cause overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gray-200) 50%, transparent 100%);
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.section-divider--dark {
  background: linear-gradient(90deg, transparent 0%, var(--color-gray-300) 50%, transparent 100%);
}

.section-divider--primary {
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
  height: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}


/* Progress Indicators for Comparison Table */

/* Enhanced section backgrounds for better visual flow */
.features {
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 0, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 0, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
}


.testimonial {
  position: relative;
}

/* Active navigation highlighting */
.nav__link.active {
  color: var(--color-primary);
}

.nav__link.active::after {
  width: 100%;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .section-divider {
    margin: var(--space-4) 0;
  }
  
  .section-divider::before {
    width: 6px;
    height: 6px;
  }
  
  .section-divider--primary::before {
    width: 8px;
    height: 8px;
  }
  
  /* Hide progress indicators on mobile for cleaner look */
  .comparison__cell::after,
  .comparison__cell::before {
    display: none;
  }
}

