/* Insights Section - Two Column Carousel Layout for Why 2026 & FAQ */

.insights-section {
  max-width: 1600px;
  margin: 2rem auto 0;
  padding: 2rem 2rem 3rem;
  position: relative;
  z-index: 10;
}

.insights-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Each Column */
.insights-column {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Header with Title and Controls */
.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.insights-title {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-prev,
.carousel-next {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(77, 159, 255, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.carousel-prev:active,
.carousel-next:active {
  transform: translateY(0);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Carousel Wrapper */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  height: 265px;
  width: 100%;
  margin-bottom: .3rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.5s ease;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-item h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.carousel-item p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: #ffffff;
  opacity: 0.9;
}

/* Footer Text */
.insights-footer {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  color: #ffffff;
  opacity: 0.7;
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1rem;
}

/* Visual Enhancements */
.insights-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary) 50%, 
    transparent 100%
  );
  opacity: 0.3;
}

/* Responsive - Stack columns on smaller screens */
@media (max-width: 968px) {
  .insights-section {
    padding: 2rem 1.5rem;
  }

  .insights-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .insights-column {
    padding: 2rem;
  }

  .insights-title {
    font-size: 1.75rem;
  }

  .carousel-wrapper {
    height: 260px;
  }

  .carousel-item h3 {
    font-size: 1.25rem;
  }

  .carousel-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .insights-section {
    padding: 2rem 1rem;
    margin: 2rem auto;
  }

  .insights-column {
    padding: 1.5rem;
  }

  .insights-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .insights-title {
    font-size: 1.5rem;
  }

  .carousel-wrapper {
    height: 280px;
  }

  .carousel-item {
    padding: 0.5rem;
  }

  .carousel-item h3 {
    font-size: 1.15rem;
  }

  .carousel-item p {
    font-size: 0.9rem;
  }

  .carousel-prev,
  .carousel-next {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }

  .insights-footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .insights-section {
    padding: 1.5rem 0.75rem;
  }

  .insights-column {
    padding: 1.25rem;
  }

  .insights-title {
    font-size: 1.3rem;
  }

  .carousel-wrapper {
    height: 300px;
  }

  .carousel-item h3 {
    font-size: 1.05rem;
  }

  .carousel-item p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* Smooth entrance animation */
@keyframes fadeInCarousel {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.insights-column {
  animation: fadeInCarousel 0.6s ease-out;
}

.insights-column:nth-child(2) {
  animation-delay: 0.15s;
  animation-fill-mode: both;
}

