/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}


/* App Download Section */

.app-download-section {
    position: relative;
    min-height: 100vh;
    padding: 20px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    margin-bottom:20px;
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://mgx-backend-cdn.metadl.com/generate/images/238016/2025-12-26/a78ef9ca-7d62-441f-b934-9dec6f6fd941.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


/* Left Content */

.left-content {
    flex: 1;
    color: #fff;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}


/* Features List */

.features-list {
    margin-bottom: 10px;
    width: 60%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 1.5rem;
    opacity: 0.85;
}


/* Download Section */

.download-section {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.download-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
}

.download-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-small {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.btn-large {
    font-size: 1.2rem;
    font-weight: 600;
}


/* QR Code Styling */

.qr-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.qr-code-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.qr-code {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.qr-label {
    font-size: 0.9rem;
    color: #2C3E50;
    font-weight: 500;
    text-align: center;
}


/* Right Content - Phone Mockup */

.right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -230px;
}

.phone-mockup {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.mockup-image {
    width: 50%;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


/* Responsive Design */

@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    .download-buttons {
        gap: 30px;
    }
    .phone-mockup {
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .app-download-section {
        padding: 40px 15px;
    }
    .main-title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .feature-item {
        gap: 15px;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    .feature-text h3 {
        font-size: 1.1rem;
    }
    .feature-text p {
        font-size: 0.9rem;
    }
    .download-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .download-item {
        width: 100%;
        max-width: 300px;
    }
    .download-btn {
        width: 100%;
        justify-content: center;
    }
    .qr-code {
        width: 120px;
        height: 120px;
    }
    .phone-mockup {
        max-width: 300px;
    }
}


/* ASP.NET MVC Integration Styles */


/* If you need to integrate this into an existing ASP.NET MVC layout, you can wrap this section in a container */

.mvc-app-download-container {
    width: 100%;
    margin: 0;
    padding: 0;
}
