
/* App Download Section */
.app-download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    overflow: hidden;
    position: relative;
}

.app-download .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-direction: column;
}

.download-content {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.download-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.download-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #111827;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: var(--transition);
    min-width: 180px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.store-btn:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.store-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-text small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-text span {
    font-size: 1.125rem;
    font-weight: 600;
}

.qr-code-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-code-box {
    width: 140px;
    height: 140px;
    background: white;
    padding: 10px;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--text-color);
    border: 1px solid #e5e7eb;
    position: relative;
}

.qr-scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    top: 10px;
    left: 0;
    animation: scan 2s linear infinite;
    box-shadow: 0 0 4px var(--primary-color);
}

@keyframes scan {
    0% { top: 10px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 130px; opacity: 0; }
}

.download-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Small Phone Frame for Download Section */
.phone-frame-small {
    width: 260px;
    height: 520px;
    background: #111;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #333;
    position: relative;
    transform: rotate(-5deg) translateY(20px);
    transition: var(--transition);
}

.phone-frame-small:hover {
    transform: rotate(0) translateY(0);
}

.phone-screen-small {
    width: 100%;
    height: 100%;
    background: #f5f6fa;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-header-small {
    background: var(--primary-color);
    padding: 20px 15px 15px;
    color: white;
}

.app-body-small {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.small-card {
    background: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.skeleton-circle {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
}

.skeleton-line {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-line.short { width: 60%; }

@media (min-width: 992px) {
    .app-download .container {
        flex-direction: row;
        text-align: left;
    }
    
    .download-content {
        text-align: left;
    }
    
    .download-content p {
        margin-left: 0;
    }
    
    .download-btns {
        justify-content: flex-start;
    }
    
    .qr-code-area {
        align-items: flex-start;
    }
}
