/* Mobile Download Buttons */
.mobile-download-buttons {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.mobile-download-buttons .app-store-button,
.mobile-download-buttons .play-store-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        position: relative;
    }

    .mobile-download {
        display: block;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-download .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .mobile-download-buttons {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Hide QR codes and email sharing on mobile */
    .qr-codes,
    .email-share {
        display: none;
    }

    /* Showcase section mobile styles */
    .showcase {
        padding: 3rem 0;
    }

    .showcase-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .screenshots-gallery {
        width: 100%;
        text-align: center;
    }

    .video-section {
        width: 100%;
    }

    .screenshot-stack {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 300px;
        margin: 0 auto;
        position: relative;
    }

    .screenshot {
        width: 160px;
        height: 280px;
        position: absolute;
        background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        transition: all 0.4s ease;
    }

    .screenshot:nth-child(1) {
        transform: translateX(-35px) rotate(-4deg);
        z-index: 1;
    }

    .screenshot:nth-child(2) {
        transform: translateX(0) rotate(0deg);
        z-index: 2;
    }

    .screenshot:nth-child(3) {
        transform: translateX(35px) rotate(4deg);
        z-index: 1;
    }

    .screenshot img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .showcase-content {
        text-align: center;
        padding: 0;
    }

    .showcase-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #ffffff;
    }

    .showcase-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        color: #a0a0a0;
    }

    .video-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        border-radius: 16px;
    }

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 16px;
    }

    .showcase-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .showcase-feature {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #a0a0a0;
        font-size: 0.9rem;
        justify-content: flex-start;
    }

    .showcase-feature i {
        color: #009fe3;
        font-size: 1rem;
        min-width: 16px;
    }

    /* Hide "See BrickSearch in Action" section on mobile */
    .video-section {
        display: none;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    /* Hide download buttons on desktop */
    .hero-buttons {
        display: none;
    }
    
    .mobile-download {
        display: none;
    }
    
    /* Show QR codes and email sharing on desktop */
    .qr-codes {
        display: flex;
    }
    
    .email-share {
        display: block;
    }
}
