/* App Page Specific Styles */
body{
    overflow-x: hidden;
}
/* Hero App Section */
.hero_app {
    min-height: 600px;
    position: relative;
}

.hero_app .container {
    padding-bottom: 100px;
}

.app_mockup {
    position: relative;
    text-align: center;
    margin-top: 40px;
}

.app_mockup img {
    max-width: 400px;
    filter: drop-shadow(0px 20px 60px rgba(100, 33, 254, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.app_badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge_link img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.badge_link:hover img {
    transform: scale(1.05);
}

/* App Features Section */
.app_features {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #F8F9FC 100%);
    position: relative;
}

.app_features::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 33, 254, 0.05) 0%, transparent 70%);
    top: 50%;
    left: -250px;
    transform: translateY(-50%);
    pointer-events: none;
}

.bx_app_feature {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06);
}

.bx_app_feature:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 33, 254, 0.3);
    box-shadow: 0px 12px 40px rgba(100, 33, 254, 0.15);
}

.bx_app_feature .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(100, 33, 254, 0.1) 0%, rgba(130, 83, 237, 0.1) 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.bx_app_feature:hover .icon {
    background: linear-gradient(135deg, rgba(100, 33, 254, 0.2) 0%, rgba(130, 83, 237, 0.2) 100%);
    transform: scale(1.1) rotate(5deg);
}

.bx_app_feature h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 15px;
}

.bx_app_feature p {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    line-height: 26px;
    margin: 0;
}

/* App Screenshots Section */
.app_screenshots {
    padding: 100px 0;
    background: #ffffff;
}

.screenshot_row {
    margin-top: 80px;
    position: relative;
}

.screenshot_row:first-child {
    margin-top: 60px;
}

/* Orange theme for even screenshot rows */
.screenshot_row:nth-child(even) .screenshot_desc h3 {
    background: linear-gradient(135deg, #ff6d02 0%, #edb353 70%, #ff8108 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screenshot_row:nth-child(even) .feature_list li {
    background: linear-gradient(135deg, rgba(255, 109, 2, 0.05) 0%, rgba(237, 179, 83, 0.05) 100%);
    border: 2px solid rgba(255, 109, 2, 0.15);
}

.screenshot_row:nth-child(even) .feature_list li::before {
    background: linear-gradient(90deg, transparent, rgba(255, 109, 2, 0.1), transparent);
}

.screenshot_row:nth-child(even) .feature_list li:hover {
    background: linear-gradient(135deg, rgba(255, 109, 2, 0.1) 0%, rgba(237, 179, 83, 0.1) 100%);
    border-color: rgba(255, 109, 2, 0.3);
    box-shadow: 0px 10px 25px rgba(255, 109, 2, 0.15);
}

.screenshot_row:nth-child(even) .feature_list li i {
    color: #ff6d02;
}

.screenshot_row:nth-child(even) .swiper-slide {
    box-shadow: 0px 20px 80px rgba(5, 0, 16, 0.044);
}

.screenshot_row:nth-child(even) .swiper-slide-active {
    box-shadow: 0px 30px 100px rgba(100, 33, 254, 0.08) !important;
}

.screenshot_img {
    position: relative;
    padding: 20px;
}

.screenshot_placeholder {
    background: linear-gradient(135deg, #F8F9FC 0%, #ffffff 100%);
    border: 3px dashed rgba(100, 33, 254, 0.3);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot_placeholder:hover {
    border-color: rgba(100, 33, 254, 0.6);
    background: linear-gradient(135deg, #F8F9FC 0%, rgba(100, 33, 254, 0.02) 100%);
}

.placeholder_text {
    width: 100%;
}

.placeholder_text svg {
    margin-bottom: 20px;
    opacity: 0.7;
}

.placeholder_text p {
    font-size: 20px;
    font-weight: 700;
    color: rgba(100, 33, 254, 1);
    margin-bottom: 10px;
}

.placeholder_text span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    display: block;
}

.screenshot_desc {
    padding: 40px;
}

.screenshot_desc h3 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #6421FE 0%, #8253ED 70%, #B696FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.screenshot_desc > p {
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    line-height: 28px;
    margin-bottom: 30px;
}

.feature_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature_list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #2D2D2D;
    background: linear-gradient(135deg, rgba(100, 33, 254, 0.05) 0%, rgba(130, 83, 237, 0.05) 100%);
    border: 2px solid rgba(100, 33, 254, 0.15);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature_list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 33, 254, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature_list li:hover::before {
    left: 100%;
}

.feature_list li:hover {
    background: linear-gradient(135deg, rgba(100, 33, 254, 0.1) 0%, rgba(130, 83, 237, 0.1) 100%);
    border-color: rgba(100, 33, 254, 0.3);
    transform: translateY(-3px);
    box-shadow: 0px 10px 25px rgba(100, 33, 254, 0.15);
}

.feature_list li i {
    flex-shrink: 0;
    font-size: 24px;
    color: #6421FE;
    transition: all 0.3s ease;
    line-height: 10px;
}

.feature_list li:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* App CTA Section */
.app_cta {
    background: linear-gradient(135deg, #6421FE 0%, #8253ED 50%, #B696FF 100%);
    position: relative;
    padding-bottom: 70px;
    margin-top: 180px;
    
}

.app_cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    border-radius: 50%;
}

.app_cta::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.bx_app_cta_new {
    position: relative;
    z-index: 1;
}

.cta_content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta_content p {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.download_badges {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 100%;
    flex-wrap: wrap;
}

.download_badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
}

.download_badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.download_badge:hover::before {
    left: 100%;
}

.download_badge:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.25);
}

.badge_icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #ffffff;
}

.badge_icon svg {
    width: 26px;
    height: 26px;
}

.download_badge:hover .badge_icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.badge_text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.badge_subtitle {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2px;
}

.badge_title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.cta_mockup {
    position: relative;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
}

.mockup_wrapper {
    position: absolute;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0px 40px 100px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
        transform: translateY(-60px);

}

.mockup_front {
    left: 240px;
    top: -148px;
    z-index: 3;
    animation-delay: 0s;
    transform: translateY(-40px) rotate(-12deg);
}

.mockup_back {
      left: 64px;
    top: -110px;
    z-index: 2;
    opacity: 0.95;
    animation-delay: -3s;
    transform: translateY(-25px) rotate(12deg) scale(0.98);
}

.mockup_wrapper::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background: #000000;
    border-radius: 20px;
    z-index: 3;
    box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.1);
}

.mockup_wrapper::after {
    content: '';
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(100, 100, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 4;
}

.mockup_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
    position: relative;
    z-index: 2;
}

.mockup_glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.15);
    }
}

/* Platform Buttons */
.platform_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    min-height: 200px;
}

.platform_btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
}

.platform_icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.platform_btn:hover .platform_icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.platform_icon img,
.platform_icon svg {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.platform_text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    display: block;
}

.cta_btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta_btns .btn {
    margin: 0;
}

/* Swiper Styles for App Screenshots */
.onboardingSwiper,
.waterSwiper,
.foodSwiper,
.dashboardSwiper,
.mealLogSwiper,
.activitySwiper,
.reportsSwiper {
    width: 100%;
    max-width: 350px;
    height: 650px;
    margin: 0 auto;
    padding: 30px;
}

.onboardingSwiper .swiper-slide,
.waterSwiper .swiper-slide,
.foodSwiper .swiper-slide,
.dashboardSwiper .swiper-slide,
.mealLogSwiper .swiper-slide,
.activitySwiper .swiper-slide,
.reportsSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0px 20px 80px rgba(5, 0, 16, 0.044);
    transition: all 0.4s ease;
}

.screenshot_slide {
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    border-radius: 30px;
}

.onboardingSwiper .swiper-slide img,
.waterSwiper .swiper-slide img,
.foodSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    user-select: none;
    -webkit-user-drag: none;
}

/* Custom card shadows for different swipers */
.onboardingSwiper .swiper-slide-active,
.dashboardSwiper .swiper-slide-active {
    box-shadow: 0px 30px 100px rgba(100, 33, 254, 0.08) !important;
}

.waterSwiper .swiper-slide-active,
.mealLogSwiper .swiper-slide-active {
    box-shadow: 0px 30px 100px rgba(130, 83, 237, 0.08) !important;
}

.foodSwiper .swiper-slide-active,
.activitySwiper .swiper-slide-active {
    box-shadow: 0px 30px 100px rgba(182, 150, 255, 0.08) !important;
}

.reportsSwiper .swiper-slide-active {
       box-shadow: 0px 30px 100px rgba(182, 150, 255, 0.08) !important;
}

/* Real Screenshot Styles */
.screenshot_img img {
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    border-radius: 30px;
    box-shadow: 0px 20px 60px rgba(100, 33, 254, 0.05);
    transition: all 0.4s ease;
}

.screenshot_img:hover img {
    transform: scale(1.05);
    box-shadow: 0px 30px 80px rgba(100, 33, 254, 0.08);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .app_mockup img {
        max-width: 350px;
    }

    .screenshot_desc h3 {
        font-size: 28px;
    }

    .screenshot_placeholder {
        min-height: 450px;
        padding: 60px 30px;
    }
}

@media (max-width: 991px) {
    .hero_app .container {
        padding-bottom: 60px;
    }

    .app_mockup {
        margin-top: 50px;
    }

    .app_mockup img {
        max-width: 300px;
    }

    .app_features {
        padding: 60px 0;
    }

    .bx_app_feature {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .app_screenshots {
        padding: 60px 0;
    }

    .screenshot_row {
        margin-top: 60px;
    }

    .screenshot_desc {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .screenshot_desc h3 {
        font-size: 24px;
    }

    .screenshot_placeholder {
        min-height: 400px;
    }

    .screenshot_img img {
        max-height: 550px;
    }

    .feature_list {
        gap: 12px;
    }

    .feature_list li {
        padding: 15px 18px;
        font-size: 14px;
    }

    .feature_list li i {
        font-size: 22px;
    }

    .cta_content h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .cta_content p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .cta_mockup {
        min-height: 450px;
    }

    .mockup_wrapper {
        width: 240px;
        height: 500px;
        transform: translateY(-40px);
    }

    .mockup_front {
        left: 75px;
        top: -25px;
        transform: translateY(-60px) rotate(-10deg);
    }

    .mockup_back {
        left: -75px;
        top: 20px;
        transform: translateY(-45px) rotate(10deg) scale(0.98);
    }

    .download_badges {
        flex-direction: row;
        gap: 12px;
    }

    .download_badge {
        padding: 12px 18px;
        gap: 10px;
    }

    .mockup_wrapper::before {
        width: 100px;
        height: 30px;
    }

    .download_badges {
        max-width: 100%;
    }

    .bx_app_cta h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .cta_btns {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero_app {
        min-height: auto;
    }

    .app_mockup img {
        max-width: 250px;
    }

    .app_badges {
        justify-content: center;
    }

    .badge_link img {
        height: 45px;
    }

    .bx_app_feature .icon {
        width: 80px;
        height: 80px;
    }

    .bx_app_feature .icon svg {
        width: 40px;
        height: 40px;
    }

    .bx_app_feature h3 {
        font-size: 18px;
    }

    .bx_app_feature p {
        font-size: 14px;
    }

    .screenshot_desc h3 {
        font-size: 22px;
    }

    .screenshot_desc > p {
        font-size: 15px;
    }

    .feature_list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature_list li {
        font-size: 14px;
        padding: 14px 16px;
    }

    .feature_list li i {
        font-size: 20px;
    }

    .screenshot_placeholder {
        min-height: 350px;
        padding: 40px 20px;
    }

    .screenshot_img img {
        max-height: 450px;
    }

    .placeholder_text svg {
        width: 60px;
        height: 60px;
    }

    .placeholder_text p {
        font-size: 16px;
    }

    .placeholder_text span {
        font-size: 12px;
    }

    .app_cta {
        padding: 30px 0;
    }

    .bx_app_cta h2 {
        font-size: 24px;
        text-align: center;
    }

    .bx_app_cta p {
        font-size: 16px;
        text-align: center;
    }

    .cta_btns .btn {
        width: 100%;
        justify-content: center;
    }

    .platform_btn {
        padding: 30px 15px;
        min-height: 180px;
    }

    .platform_icon {
        width: 70px;
        height: 70px;
    }

    .platform_icon img,
    .platform_icon svg {
        width: 45px;
        height: 45px;
    }

    .platform_text {
        font-size: 16px;
    }

    .cta_content {
        margin-bottom: 30px;
    }

    .cta_content h2 {
        font-size: 26px;
        text-align: center;
    }

    .cta_content p {
        font-size: 15px;
        text-align: center;
        margin-bottom: 25px;
    }

    .download_badges {
        max-width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .cta_mockup {
        min-height: 400px;
        justify-content: center;
        margin-top: 40px;
    }

    .mockup_wrapper {
        width: 180px;
        height: 380px;
        transform: translateY(-20px);
    }

    .mockup_front {
        left: 40px;
        top: -15px;
        transform: translateY(-30px) rotate(-8deg);
    }

    .mockup_back {
        left: -40px;
        top: 15px;
        transform: translateY(-20px) rotate(8deg) scale(0.98);
    }

    .mockup_wrapper::before {
        width: 75px;
        height: 26px;
    }

    .download_badge {
        padding: 12px 16px;
        gap: 10px;
        flex: 0 1 auto;
    }

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

    .badge_icon svg {
        width: 22px;
        height: 22px;
    }

    .badge_subtitle {
        font-size: 10px;
    }

    .badge_title {
        font-size: 14px;
    }

    /* Swiper Responsive */
    .onboardingSwiper,
    .waterSwiper,
    .foodSwiper,
    .dashboardSwiper,
    .mealLogSwiper,
    .activitySwiper,
    .reportsSwiper {
        max-width: 280px;
        height: 550px;
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .app_mockup img {
        max-width: 200px;
    }

    .screenshot_placeholder {
        min-height: 300px;
        padding: 30px 15px;
    }

    .screenshot_desc {
        padding: 20px 10px;
    }

    .screenshot_img img {
        max-height: 400px;
    }

    /* Swiper Responsive for small screens */
    .onboardingSwiper,
    .waterSwiper,
    .foodSwiper,
    .dashboardSwiper,
    .mealLogSwiper,
    .activitySwiper,
    .reportsSwiper {
        max-width: 240px;
        height: 480px;
        padding: 15px;
    }

    .onboardingSwiper .swiper-slide,
    .waterSwiper .swiper-slide,
    .foodSwiper .swiper-slide,
    .dashboardSwiper .swiper-slide,
    .mealLogSwiper .swiper-slide,
    .activitySwiper .swiper-slide,
    .reportsSwiper .swiper-slide {
        border-radius: 20px;
    }
}
