/* Phone Frame and Slideshow Styles */
.phone-frame {
    position: relative;
    width: 290px;
    height: 570px;
    margin: 0 auto;
    background: #111;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: #111;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

.phone-home-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.slideshow-container {
    position: relative;
    overflow: hidden;
    width: 270px;
    height: 530px;
    margin: 10px auto;
    border-radius: 30px;
    background: #fff;
}

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

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
}

.slide img.app-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border: none !important;
    box-shadow: none !important;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0.6}
    to {opacity: 1}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-frame {
        width: 260px;
        height: 510px;
    }
    
    .slideshow-container {
        width: 240px;
        height: 470px;
    }
    
    .slide {
        height: 470px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .phone-home-button {
        width: 36px;
        height: 36px;
    }
}

/* Slide sizing */
.slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    height: 530px;
}
