/* ========================================
   iOS Screens Carousel
   For Hero section
   ======================================== */

.hero__carousel {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  padding: 20px;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel__slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Compact iPhone for carousel */
.carousel__slide .iphone-frame {
  max-width: 280px;
  margin: 0 auto;
}

.carousel__slide .screen-content {
  height: 520px;
}

/* Navigation Dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel__dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.carousel__dot.active {
  background: var(--color-accent, #667eea);
  width: 32px;
  border-radius: 5px;
}

/* Navigation Arrows */
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel__nav--prev {
  left: -60px;
}

.carousel__nav--next {
  right: -60px;
}

.carousel__nav svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
}

/* Slide Labels */
.carousel__label {
  text-align: center;
  margin-bottom: 16px;
}

.carousel__label-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.carousel__label-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .carousel__nav--prev {
    left: 10px;
  }

  .carousel__nav--next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .hero__carousel {
    padding: 20px 10px;
  }

  .carousel {
    padding: 15px;
  }

  .carousel__slide {
    padding: 10px;
  }

  .carousel__slide .iphone-frame {
    max-width: 240px;
  }

  .carousel__slide .screen-content {
    height: 480px;
  }

  .carousel__nav {
    width: 40px;
    height: 40px;
  }

  .carousel__nav svg {
    width: 20px;
    height: 20px;
  }
}
