/* iPhone Mockup Carousel Styles */

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 650px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.92) translateY(10px);
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    filter: blur(2px);
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1) translateY(0px);
    filter: blur(0px);
}

/* iPhone Mockup */
.iphone-mockup {
    perspective: 1000px;
}

.iphone-frame {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 46px;
    padding: 10px;
    box-shadow: 
        0 50px 100px -20px rgba(50,50,93,0.25),
        0 30px 60px -30px rgba(0,0,0,0.3),
        inset 0 -2px 6px 0 rgba(10,37,64,0.35);
    position: relative;
    transform: rotateY(-8deg) rotateX(8deg);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-radius: 36px;
    background: #000;
    z-index: -1;
}

.carousel-slide.active .iphone-frame {
    transform: rotateY(0deg) rotateX(0deg);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.ios-status-bar {
    background: #000000;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.battery-icon {
    width: 24px;
    height: 12px;
    border: 1px solid white;
    border-radius: 2px;
    position: relative;
    margin-left: 5px;
}

.battery-icon::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: white;
    border-radius: 0 1px 1px 0;
}

.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: white;
    border-radius: 3px;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #667eea;
}

.carousel-dot:hover {
    background: #667eea;
    opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-container {
        height: 550px;
    }

    .iphone-frame {
        width: 280px;
        height: 560px;
        transform: none;
        padding: 8px;
    }
}