/* Feature One Mobile Responsive Design - Screenshot Version */

/* Hide complex layout on mobile */
@media only screen and (max-width: 767px) {
    /* Hide the original complex circular layout */
    .feature-one__main-content-box {
        display: none !important;
    }
}

/* Style the mobile screenshot with animations */
.feature-one__mobile-screenshot {
    margin: 40px auto;
    text-align: center;
    padding: 0 15px;
    max-width: 100%;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Prevent container interference with SVG */
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.feature-one__mobile-main-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 5;
    display: block;
}

/* Mobile background diffusions with desktop colors */
.feature-one__mobile-overly-1 {
    position: absolute;
    top: 5%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: linear-gradient(93deg, #B324D7 7.07%, #FE577F 97.81%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

.feature-one__mobile-overly-2 {
    position: absolute;
    top: 20%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: linear-gradient(180deg, #6243FF 0%, #FF2828 100%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

.feature-one__mobile-overly-3 {
    position: absolute;
    bottom: 10%;
    right: 20%;
    width: 250px;
    height: 250px;
    background: linear-gradient(208deg, #FFF855 19.19%, #00E3F2 70.68%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

/* Mobile floating stars */
.feature-one__mobile-star-1 {
    position: absolute;
    top: 5%;
    right: 15%;
    z-index: 2;
}

.feature-one__mobile-star-1 img {
    width: 25px;
    height: 25px;
}

.feature-one__mobile-star-2 {
    position: absolute;
    top: 30%;
    left: 8%;
    z-index: 2;
}

.feature-one__mobile-star-2 img {
    width: 20px;
    height: 20px;
}

.feature-one__mobile-star-3 {
    position: absolute;
    top: 70%;
    right: 12%;
    z-index: 2;
}

.feature-one__mobile-star-3 img {
    width: 22px;
    height: 22px;
}

.feature-one__mobile-star-4 {
    position: absolute;
    bottom: 10%;
    right: 20%;
    z-index: 2;
}

.feature-one__mobile-star-4 img {
    width: 18px;
    height: 18px;
}

.feature-one__mobile-star-5 {
    position: absolute;
    bottom: 25%;
    left: 5%;
    z-index: 2;
}

.feature-one__mobile-star-5 img {
    width: 24px;
    height: 24px;
}

.feature-one__mobile-star-6 {
    position: absolute;
    top: 15%;
    left: 25%;
    z-index: 2;
}

.feature-one__mobile-star-6 img {
    width: 16px;
    height: 16px;
}

/* Desktop - ensure mobile screenshot is hidden */
@media only screen and (min-width: 768px) {
    .feature-one__mobile-screenshot {
        display: none !important;
    }
}

/* Tablet adjustments for the original layout */
@media only screen and (max-width: 991px) and (min-width: 768px) {
    .feature-one__title {
        font-size: 32px !important;
        line-height: 40px !important;
    }

    .feature-one__main-content-box {
        transform: scale(0.85);
        margin: 0 auto;
    }
}


/* Mobile title and button adjustments */
@media only screen and (max-width: 767px) {
    /* Reduce top padding for mobile to start content at top */
    .feature-one {
        padding: 80px 0 0 !important;
    }

    .feature-one__title {
        font-size: 28px !important;
        line-height: 36px !important;
        margin-bottom: 25px !important;
    }

    .feature-one__btn {
        font-size: 14px !important;
        padding: 12px 24px !important;
    }

    .feature-one__btn-box {
        margin-bottom: 0 !important;
    }

    /* Adjust screenshot spacing and container */
    .feature-one__mobile-screenshot {
        margin: 30px auto;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        min-height: 300px;
    }

    /* Mobile SVG adjustments for real devices */
    .feature-one__mobile-main-img {
        width: 100%;
        max-width: 90vw;
        height: auto;
        max-height: 50vh;
        min-height: 250px;
    }

    /* Keep ratings but with better spacing */
    .feature-one__rating-box {
        margin-top: 30px !important;
    }
}

/* Small mobile devices */
@media only screen and (max-width: 550px) {
    .feature-one__title {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    .feature-one__mobile-screenshot {
        min-height: 350px;
        margin: 25px auto;
        padding: 0 10px;
    }

    .feature-one__mobile-main-img {
        max-width: 400px;
    }

    /* Smaller diffusions for small screens */
    .feature-one__mobile-overly-1 {
        width: 250px;
        height: 250px;
        filter: blur(45px);
    }

    .feature-one__mobile-overly-2 {
        width: 270px;
        height: 270px;
        filter: blur(40px);
    }

    .feature-one__mobile-overly-3 {
        width: 200px;
        height: 200px;
        filter: blur(40px);
    }

    /* Smaller stars */
    .feature-one__mobile-star-1 img,
    .feature-one__mobile-star-3 img,
    .feature-one__mobile-star-5 img {
        width: 18px;
        height: 18px;
    }

    .feature-one__mobile-star-2 img,
    .feature-one__mobile-star-4 img,
    .feature-one__mobile-star-6 img {
        width: 14px;
        height: 14px;
    }

    .feature-one__mobile-screenshot img {
        max-width: 400px;
        /* Removed border-radius for natural appearance */
    }

    /* Extra adjustments for small screens */
    .feature-one__mobile-main-img {
        max-width: 85vw !important;
        max-height: 45vh !important;
    }
}

/* Extra small devices */
@media only screen and (max-width: 375px) {
    .feature-one__title {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    .feature-one__title br {
        display: none;
    }

    .feature-one__mobile-screenshot {
        min-height: 300px;
        margin: 20px auto;
    }

    .feature-one__mobile-main-img {
        max-width: 80vw !important;
        max-height: 40vh !important;
        min-height: 200px !important;
        /* Removed border-radius for natural appearance */
    }

    /* Extra small diffusions */
    .feature-one__mobile-overly-1 {
        width: 200px;
        height: 200px;
        filter: blur(35px);
    }

    .feature-one__mobile-overly-2 {
        width: 220px;
        height: 220px;
        filter: blur(30px);
    }

    .feature-one__mobile-overly-3 {
        width: 160px;
        height: 160px;
        filter: blur(30px);
    }

    /* Extra small stars */
    .feature-one__mobile-star-1 img,
    .feature-one__mobile-star-3 img,
    .feature-one__mobile-star-5 img {
        width: 14px;
        height: 14px;
    }

    .feature-one__mobile-star-2 img,
    .feature-one__mobile-star-4 img,
    .feature-one__mobile-star-6 img {
        width: 12px;
        height: 12px;
    }
}

/* Override any conflicting styles from responsive.css */
@media only screen and (max-width: 550px) {
    /* Make sure the complex layout elements stay visible in desktop but hidden in mobile */
    .feature-one__list {
        display: flex !important;
    }

    .feature-one__ai-pack {
        display: block !important;
    }

    /* But keep the main content box hidden on mobile */
    .feature-one__main-content-box {
        display: none !important;
    }
}