/* Spacer sections to allow scrolling */
        .spacer {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #1e293b, #0f172a);
            color: white;
            font-size: 2rem;
            font-weight: bold;
        }

        /* --- CRISTA Animation Section --- */
        .showcase-section {
            position: relative;
            height: 100vh;
            width: 100%;
            background-color: #ffffff;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
			margin-top:50px;
        }

        .showcase-container {
            position: relative;
            width: 100%;
            max-width: 1100px;
            height: 600px;
            display: flex;
            justify-content: center;
            align-items: flex-end;
        }

        /* 1. Laptop Styles & Animation */
        .laptop-mockup {
            width: 85%;
            max-width: 900px;
            z-index: 1;
            /* Initial State before animation */
            transform: translateY(100%);
            opacity: 0;
            transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
        }

        .laptop-mockup img {
            width: 100%;
            display: block;
            height: auto;
        }

        /* 2. Mobile Styles & Animation */
        .mobile-mockup {
            position: absolute;
            left: 5%;
            bottom: 5%;
            width: 22%;
            max-width: 240px;
            z-index: 2;
            
            /* ADDED: Refined drop shadow */
            filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.8)) 
                    drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));

            border-radius: 36px;
            overflow: hidden;
            border: 6px solid #111;
            background: #000;
            aspect-ratio: 9 / 19.5;
            /* Initial State before animation */
            transform: translateX(-150%) rotate(-10deg);
            opacity: 0;
            /* Delayed until laptop finishes */
            transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s, opacity 1s ease 0.8s; 
        }

        /* Static inner screen layout (No animation applied) */
        .mobile-screen-content {
            width: 100%;
            height: 100%;
        }

        .mobile-screen-content img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* --- Triggered Animation States via JavaScript --- */
        
        /* Laptop slides up */
        .showcase-section.animate .laptop-mockup {
            transform: translateY(0);
            opacity: 1;
        }

        /* Mobile slides in from left and stays */
        .showcase-section.animate .mobile-mockup {
            transform: translateX(0) rotate(0deg);
            opacity: 1;
        }
		
@media (max-width: 779px) {
		.showcase-section {height:130vh; margin-top:0px;}
		.showcase-container {height:250px;}
}

@media (max-width: 479px) {
		.showcase-section {height:100vh; margin-top:0px;}
		.showcase-container {height:250px;}
}


/* Core Section Layout Wrapper */
#crista-showcase {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
    background-color: #ffffff;
}

.showcase-flex-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

/* Maintain original mockup dimension frame */
.showcase-flex-wrapper .showcase-container {
    flex: 1 1 60%;
    position: relative;
    width: 100%;
    /* Ensures height matches your mockup template rules */
    min-height: 480px; 
    margin: 0;
}

/* Download Panel Initial Animation State */
.download-app-panel {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    z-index: 10;
    
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.download-title {
    font-size: 2rem;
    font-weight: 600;
    color: #111111;
    margin: 0 0 24px 0;
}

.download-countries-grid {
    display: flex;
    gap: 48px;
}

.country-download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.country-label-badge {
    background-color: #000000;
    color: #ffffff;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    min-width: 90px;
    text-align: center;
}

.action-buttons-group {
    display: flex;
    gap: 16px;
}

/* High-contrast functional action links */
.store-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.6rem;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-download-btn.android-btn {
    background-color: #A4C639;
}

.store-download-btn.apple-btn {
    background-color: #A2A2A2;
}

.store-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* Intersection Scroll Animation Action Trigger */
#crista-showcase.animate .download-app-panel {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile & Tablet Adaptation Breakpoint Fix */
@media (max-width: 991px) {


    .showcase-flex-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }

    .showcase-flex-wrapper .showcase-container {
        flex: none;
        max-width: 650px;
        min-height: 400px; /* Gives explicit layout room for absolute mockups */
    }

    .download-app-panel {
        flex: none;
        width: 100%;
        align-items: center;
        transform: translateY(30px);
    }

    #crista-showcase.animate .download-app-panel {
        transform: translateY(0);
    }
    
    .download-countries-grid {
        justify-content: center;
    }
}

@media (max-width: 479px) {
    .showcase-flex-wrapper .showcase-container {
        min-height: 280px; /* Adjusts correctly for tiny mobile display contexts */
    }
    .download-title {
        font-size: 1.6rem;
    }
    .download-countries-grid {
        gap: 24px;
    }
}