/* App Download Section - IMA NATCON Theme */
.app-download-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    font-family: 'Poppins', sans-serif;
}

.app-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-shape-1 {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(46, 89, 144, 0.08) 0%, rgba(46, 89, 144, 0.02) 100%);
    border-radius: 50%;
}

.bg-shape-2 {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.08) 0%, rgba(255, 140, 66, 0.02) 100%);
    border-radius: 50%;
}

.app-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.app-content {
    flex: 1;
    max-width: 580px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #2E5990 0%, #4A7BC8 100%);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(46, 89, 144, 0.3);
}

.app-badge::before {
    content: '\f10b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}


.app-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.app-title span {
    background: linear-gradient(135deg, #1A3A5C 0%, #FF8C42 25%, #2E5990 50%, #4CAF50 75%, #E6652A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 400%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.app-description {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 520px;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.app-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #2E5990;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef4fb 0%, #dce8f5 100%);
    color: #2E5990;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 500;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
}

.app-feature-item.highlight {
    background: linear-gradient(135deg, #fff8f3 0%, #ffedd5 100%);
    border-color: #FFB366;
}

.app-feature-item.highlight .feature-icon {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB366 100%);
    color: #fff;
}

.app-feature-item.highlight .feature-text {
    color: #E6652A;
    font-weight: 600;
}


.app-download-area {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.qr-code-wrapper {
    width: 100px;
    height: 100px;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.download-action {
    flex: 1;
}

.download-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
}

.download-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.single-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #2E5990 0%, #4A7BC8 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(46, 89, 144, 0.3);
}

.single-download-btn i {
    font-size: 18px;
}

.single-download-btn:hover {
    background: linear-gradient(135deg, #1A3A5C 0%, #2E5990 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 89, 144, 0.4);
}


.app-visuals {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
    border: 8px solid #1a1a1a;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-mockup img {
    display: block;
    width: 100%;
    height: auto;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .app-download-section {
        padding: 80px 0;
    }

    .app-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .app-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .app-title {
        font-size: 34px;
    }

    .app-description {
        max-width: 100%;
        font-size: 16px;
    }

    .app-features {
        max-width: 500px;
        width: 100%;
    }

    .app-download-area {
        flex-direction: column;
        text-align: center;
        max-width: 400px;
        width: 100%;
        padding: 28px 24px;
    }

    .download-label {
        justify-content: center;
    }

    .single-download-btn {
        width: 100%;
    }

    .phone-mockup {
        width: 240px;
        animation: none;
    }
}


/* Mobile Responsive */
@media (max-width: 576px) {
    .app-download-section {
        padding: 60px 0;
    }

    .app-container {
        padding: 0 16px;
        gap: 40px;
    }

    .app-badge {
        font-size: 11px;
        padding: 8px 16px;
    }

    .app-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .app-description {
        font-size: 15px;
        margin-bottom: 28px;
        line-height: 1.7;
    }

    .app-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 32px;
    }

    .app-feature-item {
        padding: 12px 16px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .feature-text {
        font-size: 13px;
    }

    .app-download-area {
        padding: 20px;
        gap: 20px;
        border-radius: 16px;
    }

    .qr-code-wrapper {
        width: 90px;
        height: 90px;
    }

    .single-download-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .phone-mockup {
        width: 200px;
        border-width: 6px;
        border-radius: 28px;
    }

    .bg-shape-1 {
        width: 250px;
        height: 250px;
        top: -100px;
        right: -100px;
    }

    .bg-shape-2 {
        width: 200px;
        height: 200px;
        bottom: -80px;
        left: -80px;
    }
}
